Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: paul_NZ on December 15, 2008, 09:41:51 AM

Title: Backup to Workstation - adding 'non standard' folders
Post by: paul_NZ on December 15, 2008, 09:41:51 AM
Have a server utilising Backup or Restore - Backup to Workstation to a SME Server attached local usbdisk ... works great! but now there is a need to backup 'non standard folders' ... specifically, var/lib/mailman and usr/lib/mailman

How is this able to be achieved? or is it able to be achieved?

Thanks in advance for any assistance.
Title: Re: Backup to Workstation - adding 'non standard' folders
Post by: stephen noble on December 15, 2008, 11:13:29 AM
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10#To_Workstation
http://wiki.contribs.org/Backup_with_dar
Title: Re: Backup to Workstation - adding 'non standard' folders
Post by: paul_NZ on December 15, 2008, 07:04:59 PM
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10#To_Workstation
http://wiki.contribs.org/Backup_with_dar

Thanks ... I missed the bit in Backup_with_dar
Title: Re: Backup to Workstation - adding 'non standard' folders
Post by: CharlieBrady on December 16, 2008, 12:16:10 AM
Have a server utilising Backup or Restore - Backup to Workstation to a SME Server attached local usbdisk ... works great! but now there is a need to backup 'non standard folders' ... specifically, var/lib/mailman and usr/lib/mailman

How is this able to be achieved?

I would do it via:

#stop mailman
mkdir /home/e-smith/mailman
mv /var/lib/mailman /home/e-smith/mailman/var
ln -s /home/e-smith/mailman/var /var/lib/mailman
mv /usr/lib/mailman /home/e-smith/mailman/usr
ln -s /home/e-smith/mailman/usr /usr/lib/mailman
# start mailman

You will need to manually create the symlinks on the new system after a restore.
Title: Re: Backup to Workstation - adding 'non standard' folders
Post by: paul_NZ on December 16, 2008, 03:05:49 AM
Thanks Charlie ... always more way than one to do things