From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 19:04:00 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 28810106566B for ; Fri, 30 Jan 2009 19:04:00 +0000 (UTC) (envelope-from drcubi@yahoo.com) Received: from web51408.mail.re2.yahoo.com (web51408.mail.re2.yahoo.com [206.190.38.187]) by mx1.freebsd.org (Postfix) with SMTP id BF8E28FC21 for ; Fri, 30 Jan 2009 19:03:59 +0000 (UTC) (envelope-from drcubi@yahoo.com) Received: (qmail 48559 invoked by uid 60001); 30 Jan 2009 18:37:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=Cb27nptYJb0+uf7bWq8wYWcXso51kqK8agDm73rRQj0xlEB/EguSA4gg43hzwXSVGH8dotfDl8AfeUvi9Bl5bY1ja2h0Tpgt6mHiSwP/B+4cnzutr7tMb5gdukdySvAY6I3AYsJ5yJQegwZLhWzqvGQffZb36SYWmHNzyjVRixg=; X-YMail-OSG: J9YOeBcVM1kcBxQQEAS7m86iy7VbrIBA3mecfloIE8QfubSFWd6PMSOpJ71mNFAHIG36Ukkfwx15PLbDiqNMdwJWwWjQqVZ6D_Dw7anm.uOS.5n93oAOdYNFJDC.uwV2jQOpc3LLDliZuBmBwBHoncxwLriqdd1HOBEWWfJACr_dxiSXhMEUmblxEbjcJCZH15L0JMjlmBm2RYoStWIV7PniEEjYRXk- Received: from [96.48.153.3] by web51408.mail.re2.yahoo.com via HTTP; Fri, 30 Jan 2009 10:37:19 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 30 Jan 2009 10:37:19 -0800 (PST) From: "drcubi@yahoo.com" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <229610.47419.qm@web51408.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Backup to spare drive (rsync / crontab) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drcubi@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 19:04:00 -0000 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=A0 -=A0 the daily=A0 (/backup is a seperate physical dr= ive) : #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 All files created where chmod'd with +x, then I test the scripts by running= them manually and all three, daily, weekly & monthly work fine. FInal step, I add to root=A0crontab, by using : crontab -e=A0 I added following lines : 1=A0=A0=A0=A0=A0=A0 23=A0=A0=A0=A0=A0=A0 30=A0=A0=A0=A0=A0 *=A0=A0=A0=A0=A0= =A0 *=A0=A0=A0=A0=A0=A0 /usr/local/sbin/backup/monthly 1=A0=A0=A0=A0=A0=A0 21=A0=A0=A0=A0=A0=A0 *=A0=A0=A0=A0=A0=A0 *=A0=A0=A0=A0= =A0=A0 0=A0=A0=A0=A0=A0=A0 /usr/local/sbin/backup/weekly 1=A0=A0=A0=A0=A0=A0 23=A0=A0=A0=A0=A0=A0 *=A0=A0=A0=A0=A0=A0 *=A0=A0=A0=A0= =A0=A0 1-5=A0=A0=A0=A0 /usr/local/sbin/backup/daily crontab -l shows all is OK as well. But the scheduled backups never happen. I must be doing something wrong, bu= t can't figure out what. All help would be gratefully appreciated. Thank you, Darren =A0 =A0 =A0=0A=0A=0A