Koozali.org: home of the SME Server

Backup to Workstation - adding 'non standard' folders

Offline paul_NZ

  • ****
  • 79
  • +0/-0
    • http://www.csssnz.com
Backup to Workstation - adding 'non standard' folders
« 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.



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Backup to Workstation - adding 'non standard' folders
« Reply #3 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.

Offline paul_NZ

  • ****
  • 79
  • +0/-0
    • http://www.csssnz.com
Re: Backup to Workstation - adding 'non standard' folders
« Reply #4 on: December 16, 2008, 03:05:49 AM »
Thanks Charlie ... always more way than one to do things