From: Stelian P. <st...@po...> - 2004-03-31 07:25:36
|
On Tue, Mar 30, 2004 at 09:52:39PM +0200, dum...@di... wrote: > Hello folks. I have recently decided giving a try to this 'dump/restore' > set of commands in order to keep safe my personal information. Last > weekend my disk started to sound funny and got shrivers down my > spine. So I read the man pages and typed: > > dump -0Muv -A 280304.toc -f /dev/hda2/280304.dmp > > Apparently all run smoothly but... > > 1) I don't know where I can check a log (if any) in case there was > any problem. The logs are written to stderr, so if you want them saved to a file just redirect stderr to some file. > 2) There was a problem. I've tryed to restore a single file to test my > backup. > > restore -i -f /dev/hda2/280304.dmp > > So I 'Added' and 'extracted' the file but got the following messages: > > restore> ls > > Warning: undefined file type 116 > Warning: undefined file type 28 > Warning: undefined file type 105 > Warning: undefined file type 28 > Warning: undefined file type 103 > Warning: undefined file type 45 > > english french german japanese korean spanish > > restore> add spanish > > restore> extract > You have not read any volumes yet. > Unless you know which volume your file(s) are on you should > start with the last volume and work towards the first. > Specify next volume # (none if no more volumes): none > Unless you know which volume your file(s) are on you should > start with the last volume and work towards the first. > Specify next volume # (none if no more volumes): none > ./usr/share/gphoto2/konica/spanish: (inode 1895327) not found on tape > set owner/mode for '.'? [yn] y > > 3 ) What does this 'Warning: undefined file type' message means ? Just a warning, fixed long ago. I suspect you're using a rather old version of restore. It is always a good idea to upgrade (this warning does not matter but old version contain also some more important bugs). > 4 ) Which volumes is 'restore' asking for ? In your case you only have one volume, so what restore is asking for is the litteral number '1'. This question is asked because, if you have a multi-volume dump, you can speed up the restore process by going directly to the tape (the volume) containing the file without having to read all the tapes. > 5 ) Could this be caused by the -v option I typed while doing my 'dump' ? No. This is normal behaviour. > 6 ) Why does it couldn't find the requested file ? Because you didn't read the first volume (you didn't say '1'). > 7 ) What does this 'owner/mode' question means ? This talks about the permissions on the current directory (the one you're launching restore from). Restore can change the permissions of this inode to be those of the backuped root inode (/). This is not generaly important when you're doing a simple restore of some files. Answer 'n' and you'll be fine. Stelian. -- Stelian Pop <st...@po...> |