Date: Tue, 21 Jan 2003 19:43:26 -0500 From: Bill Moran <wmoran@potentialtech.com> To: Grant Peel <grant@thenetnow.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Backups Message-ID: <3E2DE92E.5060908@potentialtech.com> References: <000701c2c1a3$4365cbd0$6501a8c0@grant>
next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote: > Hi all, > > I have been researching a way to completely mirror a disk once or twice a > week. At this point, it looks like a small script using dump is in order. > > My question is for all the rsync fans. (I have installed and am reading man > pages). What would you suggest for a command line in crone to completely > mirror one disk to another (both local). Permissions, ownerships, hidden > files etc etc etc. The -a flag to rsync seems to be specially designed for the purpose you describe. Something like: 00 4 * * 1-6 root /usr/local/bin/rsync -a /orig/path/* /backup/path/ Works great for me. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2DE92E.5060908>