Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 11:02:54 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        drcubi@yahoo.com, Peter Boosten <peter@boosten.org>
Subject:   Re: Backup to spare drive (rsync / crontab)
Message-ID:  <200901301102.54444.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <498354F0.6050000@boosten.org>
References:  <229610.47419.qm@web51408.mail.re2.yahoo.com> <498354F0.6050000@boosten.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Friday 30 January 2009 10:28:48 Peter Boosten wrote:
> drcubi@yahoo.com wrote:

> > #daily backup script
> > rsync -a --delete /usr/home/data/Access/ /backup/daily/Access
> > rsync -a --delete /usr/home/data/Templates/ /backup/daily/Templates
> > rsync -a --delete /usr/home/QBdata/ /backup/daily/QBdata
> > rsync -a --delete /usr/home/reception1/ /backup/daily/reception1
> > rsync -a --delete /usr/home/reception2/ /backup/daily/reception2
> > rsync -a --delete /usr/home/reception3/ /backup/daily/reception3
> > rsync -a --delete /usr/home/data/Files/ /backup/daily/Files
> >

> > But the scheduled backups never happen. I must be doing something wrong,
> > but can't figure out what.
>
> rsync isn't in the path of cron. You should either provide the complete
> path in the script, of add /usr/local/bin to your crontab.

And while you're at it, configure your sendmail/aliases properly so you get 
CRON's diagnostics.
Meaning, change this line in /etc/aliases and run newaliases command:

# root: me@my.domain

You may wanna skip through /var/mail/root to see if there's anything else you 
missed ;)
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901301102.54444.fbsd.questions>