All pastes #572795 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-17 21:01 UTC
rendered paste body
Hi, I am to use crontan to schedule some backups using flexbackup.

My crontab file is currently like this:


# Go into single user-mode
init 1
# Remount /home read-only
umount /home && mount -o ro /home

0 3 1-7 * * flexbackup -set all -full -w 7
0 3 * * 6 flexbackup -set all -differential
0 3 * * 1-5 flexbackup -set all -incremental


/usr/bin/find /backups -name *.1.*.gz -mtime +1 -exec rm {} \;

Does any  of this need to be a bashscript?  If so I need crontab to point to a bashfile however how would I change the crontab entries, would I need 3 seperate entries still, but each going to a seperate bashfile ?