-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You might find this useful: http://sanitarium.net/unix_stuff/rspaghetti_backup/diff_backup.pl.txt It is a script I wrote that diffs 2 backup directories and will tell you what is missing between them. I can't say whether it will be faster or slower than the cp -al method but it moves the processing job to after the backup rather than before which you might prefer.
On 01/08/13 08:06, Maik Meier wrote: > Would be nice if the link-dest option could also be used, if > someone (like me) needs to log the backup history. As you say, this > can reduce the total runtime. It would make sense. > > But thanks a lot. I think I can live with the cp -al solution. > > Maik > > > > ------- Original Message from Matthias Schniedermeyer ------- >> >> The alternativ (if possible) is to doing the link separatly and >> then rsync, instead of letting rsync doing the linking. >> >> cp -al <last_backup> <new_backup> and then rsync with >> <new_backup> as target >> >> The end-result is identical, if the number of files is large, >> this can take longer as you have to walk the tree twice instead >> of only once. If the number of files is small enough to fit into >> the cache, there shouldn't not be a significat change in total >> runtime. > > ------- Original Message from Kevin Korb ------- >> This is correct. Rsync isn't actually deleting anything >> therefore it has nothing to report. It just isn't making a new >> link. >> >> If you really want to see deletes you can revert to the old >> method that was used before --link-dest where you cp -al the old >> backup to the new backup then rsync with --delete but not >> --link-dest on top of the tree full of links. The end result >> will be the same as --link-dest with the verbosity you are asking >> for though it will take longer. > - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlDsHFoACgkQVKC1jlbQAQdrTwCgknntexQ4VsFV41LL3aD2+a+B OCEAoITaCJYnV4LN5BXV2Z7mL0tEK1WY =8FFP -----END PGP SIGNATURE----- -- 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