Re: Backup solutions wanted
Jim Tittsler <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.hawkes-bay |
|---|---|
| Message-ID | <[email protected]> |
On Sat, May 30, 2009 at 21:01, <[email protected]> wrote: > You need to setup SSH key auth, and install rsync on both then run this: > > rsync -az -e ssh /media/disk-2 user@fileserver:/media/sda1 You may also want the '--delete' option to remove files from the destination. I would also recommend investigating rdiff-backup, which in addition to maintaining the most recent copy as a file tree that you can copy from as normal also maintains history so that you can recover file states at previous invocations of the command. I run it nightly, and use the --remove-older-than option to prune it so that I maintain a rolling 30 days of history. Jim (Hastings this weekend, but normally Gisborne)