Operating System - Linux
1752866 Members
3927 Online
108791 Solutions
New Discussion юеВ

problem when restoring a dmp file from tape

 
Mike Hedderly
Advisor

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 3
Danny Petterson - DK
Trusted Contributor

Re: problem when restoring a dmp file from tape

Are you using DAT-tape?
Mike Hedderly
Advisor

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?