Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 14:10:19 -0500
From:      Steve Bertrand <steve@ibctech.ca>
To:        drcubi@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Backup to spare drive (rsync / crontab)
Message-ID:  <4983509B.7020208@ibctech.ca>
In-Reply-To: <229610.47419.qm@web51408.mail.re2.yahoo.com>
References:  <229610.47419.qm@web51408.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
drcubi@yahoo.com wrote:
> I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0
> I am following process described here for rsync :
> http://samba.anu.edu.au/rsync/examples.html
> 
> I have a backup script's created for daily, weekly, monthly.
> This is one example  -  the daily  (/backup is a seperate physical drive) :
> 
> #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

Try putting the full path to rsync in your script:

# whereis rsync

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4983509B.7020208>