Koozali.org: home of the SME Server

[UPDATE 7.2] e-smith-backup with dar

Offline gerd

  • ***
  • 107
  • +0/-0
[UPDATE 7.2] e-smith-backup with dar
« Reply #15 on: August 11, 2007, 01:25:44 PM »
...finally, it doesn't work "that perfect" for me:

- the usb drive is ext3 formatted.
- the usb drive is automatically recognized by the SME7.2 server (media/usbdisk1)
- when I launch the workstation-backup_setconf I select local usb drive
- then I start the backup, but the files are not written on the local usb drive as expected - they are written into the directory /mnt/smb/; and that means in fact the files are written on the internal harddisk array. And this is basically not what I intended to do....

Can anyone enlighten me about this behaviour? As I am a newbie in Linux
my guess is that I have made somewhere a mistake - but no idea where to start with my investigations??

Just to check I installed the contrib "smeserver-dar2-0.0.1-3dmay.noarch.rpm, for the local usb drive I entered media/usbdisk1 and the backup worked perfect.


thanx

gerd

Offline jpl

  • *
  • 112
  • +0/-0
[UPDATE 7.2] e-smith-backup with dar
« Reply #16 on: August 11, 2007, 08:39:54 PM »
The first goal of e-smith-backup with dar is to backup the server on an Lan smffs, cifs or nfs workstation share. A bug is always possible, specialy on usb backup which is not frequently used.

Quote
then I start the backup, but the files are not written on the local usb drive as expected - they are written into the directory /mnt/smb/


e-smith-backup with dar always do backup to /mnt/smb.

The question is : is the usb drive mounted on /mnt/smb, and if not why ?

Can you make some tests about it

Offline jester

  • *
  • 496
  • +1/-0
[UPDATE 7.2] e-smith-backup with dar
« Reply #17 on: August 12, 2007, 11:11:05 AM »
JPL,

If i would want to remove/undo this contrib what would need to be done and would it revert back to the default SME Server installation so that upgrading could cause no problems with future releases of SME Server?


jester.

Offline jpl

  • *
  • 112
  • +0/-0
[UPDATE 7.2] e-smith-backup with dar
« Reply #18 on: August 12, 2007, 01:09:12 PM »
Nothing special. e-smith-backup with dar does not modify configuration needed for core e-smith-backup.

If you upgrade with new core e-smith-backup version, all should be OK... Just verify no cron job left in /etc/cron.d.backupwk

If you want to restore actual core e-smith-backup, rpm -e e-smith-backup ,reinstall core e-smith-backup rpm, and post-upgrade event should do the trick.

Offline gerd

  • ***
  • 107
  • +0/-0
[UPDATE 7.2] e-smith-backup with dar
« Reply #19 on: August 12, 2007, 09:35:17 PM »
@jpl

Quote
The question is : is the usb drive mounted on /mnt/smb, and if not why ?

When I connect the USB drive to the SME7.2 server, the USB drived is automatically mounted under /media/usbdisk. I made the test with three
different SME7.2 servers - with the same result. :(  :(

Offline syscom

  • 14
  • +0/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #20 on: August 21, 2007, 02:19:47 AM »
Hello !

I have update my SME to 7.2 and installed the rpm for DAR backup below but after restart, it stills doesnt appear in server-manager.

Any suggests ?

When I try to reinstall, it says "already installed"


Offline raem

  • *
  • 3,972
  • +4/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #21 on: August 21, 2007, 01:11:27 PM »
syscom

Answered earlier in this thread

Q. But is my understanding correct that for this contrib there is no user-interface displayed in the web-panel??

A. It adds more options to the standard backup panel.
...

Offline syscom

  • 14
  • +0/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #22 on: August 21, 2007, 11:50:15 PM »
syscom

Answered earlier in this thread

Q. But is my understanding correct that for this contrib there is no user-interface displayed in the web-panel??

A. It adds more options to the standard backup panel.

Sorry but it DOES NOT add more options to the standard backup panel.

:P

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #23 on: August 22, 2007, 04:42:23 AM »
gerd, syscom & anyone else

Quote
...I installed the contrib smeserver-dar2-0.0.1-3dmay.noarch.rpm...

To avoid confusion, that's a totally different contrib than the e-smith-backup that this thread is talking about. It's a standalone backup system that adds a seperate server manager panel.

This thread refers to e-smith-backup (with dar) rpm which is a replacement rpm for the standard e-smith-backup rpm, and it adds extra settings to the standard server manager backup panel.
Note that as this contrib uses dar to perform backups, then you need to install both
e-smith-backup-1.14.0-16eos1.el4.sme.noarch.rpm
and
dar-2.3.2-1.i386.rpm

Note also that doing a normal upgrade using the software installer panel or yum update, will most likely overwrite the special version of e-smith-backup that needs to be installed in order to have the extra functionality.
There are commands given earlier in this thread that you need to enter to prevent yum from updating the e-smith-backup rpm automatically (which would be undesirable as you will lose the added functionality). ie
 
echo e-smith-backup > /etc/e-smith/db/yum_repositories/defaults/smeupdates/Exclude
/etc/e-smith/events/actions/initialize-default-databases
/sbin/e-smith/expand-template /etc/yum.conf

The author of the e-smith-backup (with dar) rpm, will I assume continue to update the rpm and release a new version as and when any changes in the base sme server rpm occur. In that case users of e-smith-backup (with dar) rpm will need to manually update that particular rpm.

Note the rpm version (without dar support) that is installed on a standard sme7.2 server is
e-smith-backup-1.14.0-16.el4.sme.noarch.rpm

If you are having problems then check the rpm version actually installed
rpm -qa e-smith-backup
rpm -qa dar

To install e-smith-backup with dar
download the correct version rpms to a clean folder on your sme server and do
rpm -Uvh dar*.rpm
rpm -Uvh e-smith-backup*.rpm

Open server manager & select the Backup or restore panel
Extra choices should have been added to the pull down menu for Select an action
ie
Configure workstation backup
Verify workstation backup
Restore from workstation
Selective file restore from workstation

Select the required backup type and configure it etc.
« Last Edit: August 22, 2007, 04:47:53 AM by RayMitchell »
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #24 on: August 30, 2007, 11:48:55 AM »
jpl

I added this to the Wiki
http://wiki.contribs.org/Backup_with_dar

It probably needs some further clarification re configuring backup sets and the number of daily backups in the set & associated practical usage concepts.
...

Offline Karsa

  • 12
  • +0/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #25 on: September 01, 2007, 11:47:55 AM »
If you are having problems then check the rpm version actually installed
rpm -qa e-smith-backup
rpm -qa dar

After checking I got this reply:
e-smith-backup-1.14.0-16.el4.sme and dar-2.3.2-1
And I did follow the wiki instructions.

The problem seems to be the order of installation. Yum install of dar reverts e-smith-backup to original specs :?

I only had to run ยป rpm -Uvh e-smith-backup*.rpm and it was up and running.
Thanks Ray.
« Last Edit: September 01, 2007, 11:58:44 AM by Karsa »

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #26 on: September 01, 2007, 03:10:14 PM »
Karsa

Perhaps yum localinstall does not overwrite the existing rpm of the same name.
I'll check that. For now I changed the install order in the Wiki, but that may not be sufficient.

I appreciate you said you followed the wiki, but please confirm that you did actually download the rpms with wget and do a yum localinstall. Thanks

...

Offline Karsa

  • 12
  • +0/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #27 on: September 01, 2007, 04:08:42 PM »
I made a directory (backupwdar), downloaded the files (wget) and made a localinstall with yum.

Followed with signal-event post-upgrade // signal-event reboot and after reboot...
Code: [Select]
echo e-smith-backup > /etc/e-smith/db/yum_repositories/defaults/smeupdates/Exclude
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.conf

I'm now trying to setup a lan backup...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #28 on: September 01, 2007, 04:17:35 PM »
Karsa

This is required, I fixed the Wiki
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/dar-2.3.2-1.i386.rpm
wget http://beta.free-eos.org/sme/RPMS/e-smith-backup-1.14.0-16eos1.el4.sme.noarch.rpm
yum localinstall dar*.rpm
yum localinstall e-smith-backup*.rpm

Thanks
...

Offline Karsa

  • 12
  • +0/-0
Re: [UPDATE 7.2] e-smith-backup with dar
« Reply #29 on: September 01, 2007, 08:49:37 PM »
Still stuck at "Configure workstation backup"  :-(

I'm using SME Server 7.2 and the clients are using XP Pro SP2.
Any help would be welcome... I'm lost looking at the connection types (cifs, nfs,...yes total nood).   :?