Discussion:
[Dump-devel] Restore -x and orphans
hondza
2009-03-14 19:48:06 UTC
Permalink
Hello.

Is it possible to detect and remove orphans within the 'x' mode (as
opposed to 'r' mode, where it works out of the box)?

Stelian's reply to a similar question says it should work:

http://article.gmane.org/gmane.comp.archivers.dump.user/328

Yet it doesn't work for me. The files deleted between two incrementals
remain after 'restore -x'. The source code agrees, as the initsymtable()
function is always called with NULL and dumpsymtable() is never called
for 'x', so it doesn't "remember".

Is this feature planned? I think it would be handy to be able to restore
a *subtree* to the exact state it was when the incremental backup was
being done.

Regards,
--
hondza | GPG key: http://www.hondza.adslink.cz/key.asc
Fingerprint: 31E7 EF56 7280 5C89 75E9 FF9D 010E 175F 7823 CF38
GPG/PGP encrypted/signed emails are welcome.
Loading...