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