Re: Using hdup 2.0.0
Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]> Thu, 11 Nov 2004 11:25:08 -0500
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2004-11-11 at 16:15 +0100, Miek Gieben wrote: > This could possibly be triggered by step 1, hdup only opens the > directory and by doing that it updates some of the (a|c)-times or > whatever times on the directory, marking it is a candidate for backing > up. > > Does anyone know this is true? - if so, I need some simple "restore > the times on directory" thingy to stop this from killing incremental > backups... Listing the directory shouldn't affect backup, as long as you don't modify anything during the listing pass (and I don't see why you would). Your suggestion that --files-from and --listed-incremental interact poorly sounded very likely, though. Perhaps the list given with -- files-from simply overrides the normal incremental behavior and forces tar to include all the files on the list. You shouldn't need to write your own tar implementation in any case, although at worst you might need to add checking of modification times during the listing pass, and only include recently-modified files when you make the list to pass to tar. This would have the nice side effect that you'd have a straightforward plaintext list of what's in each tar file, accessible and greppable without needing to decompress/decrypt the big tar file, so it could be used to drastically speed up single-file restores. Bng -- Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]>