Wednesday 18 February 2009

Automated mailback for the Mac OS X Leopard Server by using the 'mailbfr' tool, works great!

I used to use it manually by running:
mailbfr -b /Volumes/Backups/MailBackup/ -mo rotate

I now ran:
mailbfr -i

Which prompted this:

crontab: no crontab for root
cat: /etc/crontab: No such file or directory
There IS NO cron job for mailbfr
if you want to use 'mailbfr' it is recommended that this be added
Would you like me to enable it for you (yes/no)
yes
What time would you like the job to run (24-hour format)?
Please enter the hour (1)
2
Please enter the minutes (0)

Enter the path you would like to backup to? Enter for default (/mailbfrBackups)
/Volumes/Backups/MailBackup
Enter the type of backup you would like? (incremental/full/rotate) Enter for default (incremental)
rotate
The following cron job for 'mailbfr' has been prepared
0 2 * * * /usr/sbin/mailbfr -b /Volumes/Backups/MailBackup --mode rotate
Would you like to add it? (yes/no)
yes
crontab: no crontab for root
The following cron job for 'mailbfr' has been enabled'
0 2 * * * /usr/sbin/mailbfr -b /Volumes/Backups/MailBackup --mode rotate


Backups are now made daily at 02:00 and are stored on the extra backup drive in the Leopard server. The 'rotate' option is used, which means that each day the backup is updated, and is rotated on Saturday.

No comments: