Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

problem when restoring a dmp file from tape

problem when restoring a dmp file from tape

when I issue the following command and select the root.dmp file to be restored from tape. I get the following error during the restore

Missing blocks at the end of ./backup_derkastan/root.dmp, assuming hole
File continuation header, ino 2031637; predicted 512 blocks, got 537 blocks


[root@derkastan backup_derkastan]# restore -i -d -f /dev/tape
Volume header (new inode format)
Volume header (new inode format)
Dump tape is compressed.
Used inodes map header
maxino = 3121153
Dumped inodes map header
File header, ino 2
File header, ino 2031636
restore > cd backup_derkastan/
restore > ls
./backup_derkastan:
root.dmp

restore > add root.dmp
restore > ls
./backup_derkastan:
*root.dmp

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): 1
File header, ino 2031637
File continuation header, ino 2031637
Missing blocks at the end of ./backup_derkastan/root.dmp, assuming hole
File continuation header, ino 2031637; predicted 512 blocks, got 537 blocks
3 REPLIES
Danny Petterson - DK
Trusted Contributor

Re: problem when restoring a dmp file from tape

Are you using DAT-tape?

Re: problem when restoring a dmp file from tape

yes an external USB DAT device
Ivan Ferreira
Honored Contributor

Re: problem when restoring a dmp file from tape

The dump utility is not recommended for backup purposes at is not reliable. It has problems with buffers that may cause that your data cannot be restored. (I cannot find the exact link of the advisory but it's true).

You can try specifying the block size used when was dumped.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?