From: Tony N. <ton...@ge...> - 2006-04-25 02:29:29
|
At 2:50 PM -0400 4/24/06, Eric Jensen wrote: >Tony Nelson <ton...@ge...> wrote: > >>> Try restoring your backup (not just verifying it), and run getfattr >>> on both the original and the extracted file. What is the result ? > >> I'm sorry, but I'm not going to wipe my FC3 volume to do this. Given >> that I'm not entirely sure that the dump is good, wiping out the >> original would be imprudent. > >Just a quick note here - it's quite easy to restore only one or two >files from a dump, in a location of your choice, so that you could >compare them in this way. > >Just cd to a temp directory you've created, then run 'restore -i -f >/dev/tape ' (or whatever your device is) on your tape - you can >interactively flag a file or two to be restored, and then when you've >done that, tell it to extract, and it will create only those files, in a >subdirectory of your current directory. (It will also create the tree >it needs to restore them, e.g. if you're in /home/foo/, and you restore >a file 'myfile' that was dumped from /data/dir1/dir2/, you'll end up >with /home/foo/data/dir1/dir2/myfile after the restore.) > >There's on-line help once you get inside the 'restore -i' "shell". I had already done so, but the file got default context for root, unrelated to the context on the dump. How do I get it to have the dump's recorded context on restore? In any event, the source for restore shows that the error message contains the exact context as found in the dump. (The message and docs could be clearer.) ____________________________________________________________________ TonyN.:' <mailto:ton...@ge...> ' <http://www.georgeanelson.com/> |