[opensuse] crontab - rdiff-backup
![](https://seccdn.libravatar.org/avatar/0450735bad0b7652d057bd84734d191f.jpg?s=120&d=mm&r=g)
(OpenSuSE 10.3 with all updates to date) I'm trying to set up two cron jobs to run as 'root'. The jobs are to run nightly rdiff-backup backups. So far, the jobs are not running or, at least, my backup files are not updated. I used kcron to set up the jobs and the crontab (see below) looks ok to me. I'm at a loss as to how to proceed. Any comments or suggestions will be appreciated. Here's the crontab: Earth-svr:~ # crontab -u root -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/root/.kde4/tmp-Earth-svr/kcronh31359.tmp installed on Sun Dec 16 16:12:33 2007) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) # This file was written by KCron. Copyright (c) 1999, Gary Meyer # Although KCron supports most crontab formats, use care when editing. # Note: Lines beginning with "#\" indicates a disabled task. # 5 0 * * 1,2,3,4,5,6 rdiff-backup --exclude-filelist /home/dhenson/exclude-list-Earth-svr / /media/Backup1 # 5 0 * * 7 rdiff-backup --exclude-filelist /home/dhenson/exclude-list-Earth-svr / /media/Backup2 Earth-svr:~ # Don Henson -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/13c15af4b0b7be2b58d2ec00954d86e8.jpg?s=120&d=mm&r=g)
Donald D Henson wrote:
(OpenSuSE 10.3 with all updates to date)
I'm trying to set up two cron jobs to run as 'root'. The jobs are to run nightly rdiff-backup backups. So far, the jobs are not running or, at least, my backup files are not updated. I used kcron to set up the jobs and the crontab (see below) looks ok to me. I'm at a loss as to how to proceed. Any comments or suggestions will be appreciated. Here's the crontab:
Earth-svr:~ # crontab -u root -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/root/.kde4/tmp-Earth-svr/kcronh31359.tmp installed on Sun Dec 16 16:12:33 2007) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) # This file was written by KCron. Copyright (c) 1999, Gary Meyer # Although KCron supports most crontab formats, use care when editing. # Note: Lines beginning with "#\" indicates a disabled task.
# 5 0 * * 1,2,3,4,5,6 rdiff-backup --exclude-filelist /home/dhenson/exclude-list-Earth-svr / /media/Backup1
Better use the complete path to rdiff-backup in your crontab. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Donald D Henson
-
Sandy Drobic