granade
9th February 2009, 01:04 PM
Hi all!
http://www.faqs.org/docs/securing/chap29sec306.html
I am following this tut and i have hit a snag. Its setup with my server and share info but in step two im totally confused. Im not sure what to put in the TIMEDIR or what it is asking me to do.
I have looked at ps aux and the cron service is running. I also did a crontab -l and i get this:
55 22 * * * /etc/webmin/cron/tempdelete.pl
@weekly /etc/webmin/fsdump/backup.pl 126191233803197
I currently have Webmin to run my backups, is this interfering? Should i remove webmin first?
Could one of you fine folk please clarify this step in noob terms?
COMPUTER=servername
DIRECTORIES=/myshares
BACKUPDIR=/dev/st0
TIMEDIR=/backups/last-full
TAR=/bin/tar
2. If you are not running this backup script from the beginning of the month 01-month-year, the incremental backups will need the time of the Sunday backup to be able to work properly. If you start in the middle of the week, you will need to create the time file in the TIMEDIR. To create the time file in the TIMEDIR directory, use the following command:
[root@deep] /# date +%d%b < /backups/last-full/myserver-full-date
Where /backups/last-full is our variable TIMEDIR wherein we want to store the time of the full backup, and myserver-full-date is the name of our server e.g. deep, and our time file consists of a single line with the present date i.e. 15-Feb.
Thanks
G
http://www.faqs.org/docs/securing/chap29sec306.html
I am following this tut and i have hit a snag. Its setup with my server and share info but in step two im totally confused. Im not sure what to put in the TIMEDIR or what it is asking me to do.
I have looked at ps aux and the cron service is running. I also did a crontab -l and i get this:
55 22 * * * /etc/webmin/cron/tempdelete.pl
@weekly /etc/webmin/fsdump/backup.pl 126191233803197
I currently have Webmin to run my backups, is this interfering? Should i remove webmin first?
Could one of you fine folk please clarify this step in noob terms?
COMPUTER=servername
DIRECTORIES=/myshares
BACKUPDIR=/dev/st0
TIMEDIR=/backups/last-full
TAR=/bin/tar
2. If you are not running this backup script from the beginning of the month 01-month-year, the incremental backups will need the time of the Sunday backup to be able to work properly. If you start in the middle of the week, you will need to create the time file in the TIMEDIR. To create the time file in the TIMEDIR directory, use the following command:
[root@deep] /# date +%d%b < /backups/last-full/myserver-full-date
Where /backups/last-full is our variable TIMEDIR wherein we want to store the time of the full backup, and myserver-full-date is the name of our server e.g. deep, and our time file consists of a single line with the present date i.e. 15-Feb.
Thanks
G