Re: Backup solutions wanted
chris morris <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.hawkes-bay |
|---|---|
| Message-ID | <[email protected]> |
Thanks Jim - at the moment I'm just trying to get first command to work. Even when running it as sudo some directories copy, others wont with 'permission denied' errors. ( I wish linux would explain WHY permission is denied - at least that might point me in the right direction to fix it :) cheers c Jim Tittsler wrote: > 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) > > _______________________________________________ > HBLUG mailing list > [email protected] > http://www.linux.net.nz/cgi-bin/mailman/listinfo/hblug > >