I am currently running a mixed environment of Ubuntu and Windows 2003 Servers in our office. We are using Rsnapshot on one of the Ubuntu machines to backup a local drive and a few windows folders on remote machines. Rsnapshot is an rotating rsync backup script. We have been using it for a number of years on a Debian machine successfully. We have the rsnapshot script set to run 6 times a day to get incremental backups using Cron. This is the problem. I can run the script from the command line (via sudo) and it completes successfully. When cron runs the job, it always fails. When it fails there are no error messages in any log to tell me what happened. It just stops running, leaving a stale .pid file which I need to manually delete in order to run the script.
Here is the cron file config:
drasche@server2:/var$ sudo crontab -l
# m h dom mon dow command
0 */4 * * * /usr/bin/rsnapshot hourly
45 23 * * * /usr/bin/rsnapshot daily
30 23 1,8,15,22 * * /usr/bin/rsnapshot weekly
15 23 1 * * /usr/bin/rnsapshot monthly