From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 20:02:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE494106564A for ; Fri, 30 Jan 2009 20:02:55 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7E78C8FC16 for ; Fri, 30 Jan 2009 20:02:55 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id E05A5AFBCCB; Fri, 30 Jan 2009 11:02:54 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 30 Jan 2009 11:02:54 -0900 User-Agent: KMail/1.9.10 References: <229610.47419.qm@web51408.mail.re2.yahoo.com> <498354F0.6050000@boosten.org> In-Reply-To: <498354F0.6050000@boosten.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901301102.54444.fbsd.questions@rachie.is-a-geek.net> Cc: drcubi@yahoo.com, Peter Boosten Subject: Re: Backup to spare drive (rsync / crontab) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 20:02:55 -0000 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.