rsync --link-dest is fast and simple, good stuff. I recommend using it with some sort of wrapper script for rotations, like Backup.rsync: https://stromberg.dnsalias.org/~strombrg/Backup.remote.html
On Wed, Oct 6, 2021 at 7:29 AM Kevin Korb via rsync <rsync@lists.samba.org> wrote: > See --link-dest. That is what makes rsync shine for backups. > > On 10/6/21 10:09 AM, Helmut Jarausch via rsync wrote: > > Hi, > > > > I'd like to mirror my root file system (e.g.) to a different disk. The > > mirror should always be most recent. > > In addition, I'd like to be able to restore my file system to the state > > of one or more backups before > > without storing full size snapshots. > > > > The --backup-dir option does most of the work, but what happens if the > > old backup doesn't contain a file > > which is part of the current source. How can I restore the old version > > including deletion of files > > which didn't exist in the old version? > > > > Many thanks for some hints or pointers, > > Helmut > > > > -- > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., > Kevin Korb Phone: (407) 252-6853 > Systems Administrator Internet: > FutureQuest, Inc. ke...@futurequest.net (work) > Orlando, Florida k...@sanitarium.net (personal) > Web page: https://sanitarium.net/ > PGP public key available on web site. > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html