From: Stelian P. <st...@po...> - 2007-12-14 22:05:37
|
Le jeudi 13 décembre 2007 à 04:16 +0000, Keith G. Robertson-Turner a écrit : > Hello Stelian and anyone else reading. > > I hope the dictum "there's no such thing as a stupid question" is well > accepted on this list, because this may be the mother of all stupid > questions. Err.. > > It's not absolutely clear from the manual, but does restore purge files > that were deleted between incremental dumps? > > E.g. If file foo.bar exists, then I do a level 0 dump, then I delete > foo.bar, then I do a level 1 dump ... if I then wipe the filesystem and > restore the level 0 dump then the level 1 dump in sequence, will foo.bar > be removed (like "rsync --delete")? > > The only info I could find was here: > > http://www.searchstorage.com.au/topics/article.asp?DocID=1267195 Nice article. > The info there suggests that dump stores a map of inodes deleted since > the last dump in an array called "usedinomap". Does restore actually use > that info when restoring incremental dumps, Yes it does. > and if so - does it only do > that if the "r" switch is used, as opposed to "x"? It should work with either switches. The only difference between -r and -x is that -r is optimized for speed since it knows that the entire dump will be restored. -x needs to check the pathnames for filtering, so it uses some slower algorithms. > TIA. > > PS: dump is still the best backup program, even after all these years. > Amazing, isn't it? [waves to Linus]. This must be because real man do real backups after all :) Thanks, Stelian. -- Stelian Pop <st...@po...> |