RE: problem with restore
- From: sylvan dacounha <sylvan_2804@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 07:55:28 -0700 (PDT)
dear Krishna,
Thanks for your quick reply..
can tar be used to backup files on a machine with remote tape drive..??
appreciate your help
regards
simon
Krishnaprasad_K@xxxxxxxx wrote:
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 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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: problem with restore
- From: David Bear
- Re: problem with restore
- References:
- RE: problem with restore
- From: Krishnaprasad_K
- RE: problem with restore
- Prev by Date: Problem with i386 software on a 64 bit Machine
- Next by Date: Re: Problem with i386 software on a 64 bit Machine
- Previous by thread: RE: problem with restore
- Next by thread: Re: problem with restore
- Index(es):
Relevant Pages
|