Am 28.10.2014 um 18:46 schrieb Nathan Stratton Treadway: > GNU tar as called normally by Amanda will automatically detect files > with multiple hard links and will add the second-and-later references to > the archive as links to the first name processed. (See > http://www.gnu.org/software/tar/manual/html_node/hard-links.html > for further details.)
Yes ... > However, this only works if the various references to that file are > included in the same DLE (and thus are backed up together in a single > tar run). Sure ... they are in this case. > If that requirement is met in your customer's case, there's probably > something more subtle going on... in which case it would be helpful to > know the OS/distribution/Amanda/tar versions involved, a bit more about > how the website directories are set up and the DLE that backs them up, > and the exact sequence of operations he used when trying to do the > restore.... umm, yes, you are right. In the meantime they decided to not research that in more detail as they can live with it ;-) They want to tell their customers to avoid the hard links in their websites and additionally can live with the fact that restoring the DLE takes more space than the original DLE ... (I don't know the delta ...) > >> I read about "-h" and "-H" for gnu-tar, but that influences the *backup* >> not the restore. > > (Note that "-h" is an alias for "--dereference" and specifies behavor > related to symbolic links, while "-H" is unrelated [it's an alias for > --format]. There is a "--hard-dereference" option [with no > single-letter alias], but in this use case you specifically don't want > to dereference the hard links so you wouldn't want to use that option.) Yes, thanks for pointing out ... Regards, Stefan
