problem with restore

Krishnaprasad_K at Dell.com Krishnaprasad_K at Dell.com
Tue Jun 12 11:10:33 UTC 2007


Hi,

	Have you tried taking backup using tar utility instead of rdump.
If you take backup and try restore using tar, you may face issues.

	So try to take backup and restore using tar utility.

 tar -zcvf /dev/rmt/0hbn <files> will do backup and 
tar -zxvf /dev/rmt/0hbn will do a retrieve operation. 

Also you can verify the content of tape after backup using 

           tar -tzf /dev/rmt/0hbn  - it will list the contents of tape. 

Note :-  Make sure that you have rewinded the tape before trying to
restore.

There are other utilities available for tape backup for eg/- cpio

Regards,
Krishnaprasad
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of sylvan dacounha
Sent: Tuesday, June 12, 2007 3:47 PM
To: General Red Hat Linux discussion list
Subject: problem with restore

Dear ALL;
  
I am using REDHAT 9 server and doin a back up on remote tape but the
restore gives prblem
   
   
  let me expalin
   
   
  I have a redhad 9 server and my tape drive is on a SUN Solaris server.
  iam backing up the redhat 9 server on the tape drive attached to the
SUN machine
  thats doin a remote backup
   
  the tape is dds3 type.
   
  i use the command from the linux machine to backup on tape attached to
SUn server
   
  rdump 0f xx.xx.xx.02:/dev/rmt/0hbn /
   
  and it backs up succesfully witout any errors
   
  but i want to restore now
  so from the linux machine i use  the command
   
  restore -if xx.xx.xx.02:/dev/rmt/0hbn
   
  but it gives me a error message
   
  Connection to xx.xx.xx.02 established.  ----- where  xx.xx.xx.02is the
SUN server IP
  restore: Tape is not a dump tape
   
  if i use tar command
   
  tar -tvf xx.xx.xx.02:/dev/rmt/0hbn it says
   
  tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
   
   
  now if i go to the SUN sparc machine and run tar command 
   
  tar -tvf /dev/rmt/0hbn
   
  it says
  tar: directory checksum error
   
   
  if i run ufsrestore
   
  ufsrestore -ivh /dev/rmt/0hbn
   
  its says
   
  Verify volume and initialize maps
Media block size is 20
Volume is not in dump format
   
  how can i test my restore .. or which command can i run with swiches
for a sucessful restore
   
   
  also how can i list the contents of tape
   
   
  thanks and Regards
   
   
  simon
   
   
   
   
   

 
---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list