Koozali.org: home of the SME Server

Get flexbackup to disk working

Rob

Get flexbackup to disk working
« on: March 26, 2002, 04:07:32 PM »
Hi

Hopefully this will help someone

The "flex back up to disk" how to has a couple of flaws.

FIRST go to "backup and restore" in the server-manager
choose configure tape backup and click perform. the time settings don't matter at this stage.

Follow the Howto till you get to

[root@e-smith]# mkdir -p /etc/e-smith/templates-custom/etc/cron.d/backup
[root@e-smith]# cd /etc/e-smith/templates-custom/etc/cron.d/backup
[root@e-smith]# cp /etc/e-smith/templates/etc/cron.d/backup .  

If you are using a version 5.X sme change this to

[root@e-smith]# mkdir -p /etc/e-smith/templates-custom/etc/cron.d
[root@e-smith]# cd /etc/e-smith/templates-custom/etc/cron.d
[root@e-smith]# cp /etc/e-smith/templates/etc/cron.d/backup .  

complete the how to

Test that your  backup configuration is written up in the database

/sbin/e-smith/db configuration show backup

you should see

backup=service
      Device=/mnt/backup
      Program=flexbackup
      backupTime=??:??            (where ??:??  = some 24 hour clock entry)
      reminder Time=??:??
      status=enabled

If you get nothing then you didn't enable tape backup or you got your syntax wrong on your commands

check /etc/flexbackup.conf  

The $device  should equal '/mnt/backup';

Happy Hunting

Rob Wellesley

Re: Get flexbackup to disk working
« Reply #1 on: April 03, 2002, 09:44:40 AM »
If you want to backup more than 2G you will need to use an NTFS partition to overcome the file size limit of fat32.