manually retrieving files from a bad taper backup

manually retrieving files from a bad taper backup

Post by speev » Thu, 31 Jan 2002 10:52:17



Hi!

This seems like the best place to post to, so here goes...

We were running a suse 7.3 linux server, kernel 2.4.17, apache,
postgresql and coldfusion.  We were running backups to an ide tape
backup (Seagate), and able to backup and restore just fine.  (we used
taper -T f, and backed up to /dev/tape.)  On Sunday morning, we took
the server down to try an alternate config because of a performance
hit that we were taking.  So we made a full backup using taper 6.9b
and even restored to the server to make sure it was a good backup.

Then...

Hardware problems caused the server to not complete post, and we had
to bring in the hardware guys to fix the prob.  They put in a new
motherboard, but everything else was the same. (Did I mention that we
are using ide harddrives).

When we finally got the server back, we installed suse again, and
moved taper 6.9b to the machine...  We kept receiving an error that
said "this is not a taper archive".  According to
taper.e-survey.etc...  This is a misconfiguration of the taper
program...

What has changed...?  When we brought the server again, we had moved
the tape drive to an ide controller on the motherboard, and the
machine now recognized the tape drive as /dev/ht0.  I tried restoring
the backup from -T f, -T ide, and made symbolic links to /dev/tape,
and pointed the backup the /dev/ht0...

Is there any way that we can get the info off of this tape?  I know it
was a good backup, so I just need to get the files off...

Help!!!

Thanks,

Speeves

 
 
 

manually retrieving files from a bad taper backup

Post by Yan Seine » Thu, 31 Jan 2002 21:17:27


I'd start with rewind and retension on the tape a few times.  Then try
dd'ing some block FROM the tape to /tmp, just to see if you have a good
connection (who know, it may be loose cables).

Check permissions on /dev/ht0.  Make sure the kernel has tape support.  

If dd works, and the backup is really important, dd the entire backup to
a spare HD and do your recovery from that if possible.

Otherwise, keep multiple rotating backups and mirror the entire system to
a spare HD somewhere.

--Yan



> Hi!

> This seems like the best place to post to, so here goes...

> We were running a suse 7.3 linux server, kernel 2.4.17, apache,
> postgresql and coldfusion.  We were running backups to an ide tape
> backup (Seagate), and able to backup and restore just fine.  (we used
> taper -T f, and backed up to /dev/tape.)  On Sunday morning, we took the
> server down to try an alternate config because of a performance hit that
> we were taking.  So we made a full backup using taper 6.9b and even
> restored to the server to make sure it was a good backup.

> Then...

> Hardware problems caused the server to not complete post, and we had to
> bring in the hardware guys to fix the prob.  They put in a new
> motherboard, but everything else was the same. (Did I mention that we
> are using ide harddrives).

> When we finally got the server back, we installed suse again, and moved
> taper 6.9b to the machine...  We kept receiving an error that said "this
> is not a taper archive".  According to taper.e-survey.etc...  This is a
> misconfiguration of the taper program...

> What has changed...?  When we brought the server again, we had moved the
> tape drive to an ide controller on the motherboard, and the machine now
> recognized the tape drive as /dev/ht0.  I tried restoring the backup
> from -T f, -T ide, and made symbolic links to /dev/tape, and pointed the
> backup the /dev/ht0...

> Is there any way that we can get the info off of this tape?  I know it
> was a good backup, so I just need to get the files off...

> Help!!!

> Thanks,

> Speeves


 
 
 

manually retrieving files from a bad taper backup

Post by speev » Thu, 21 Feb 2002 06:05:24


I tried to get the data off using your ideas, but to no avail!  We
have since rebuilt the server, and, cause of the bite in the *that
I received from taper, we are going to go back to a tried and true
tool... tar.

Thanks,
Speeves
System Administrator
Reliacom Call Center


> I'd start with rewind and retension on the tape a few times.  Then try
> dd'ing some block FROM the tape to /tmp, just to see if you have a good
> connection (who know, it may be loose cables).

> Check permissions on /dev/ht0.  Make sure the kernel has tape support.  

> If dd works, and the backup is really important, dd the entire backup to
> a spare HD and do your recovery from that if possible.

> Otherwise, keep multiple rotating backups and mirror the entire system to
> a spare HD somewhere.

> --Yan



> > Hi!

> > This seems like the best place to post to, so here goes...

> > We were running a suse 7.3 linux server, kernel 2.4.17, apache,
> > postgresql and coldfusion.  We were running backups to an ide tape
> > backup (Seagate), and able to backup and restore just fine.  (we used
> > taper -T f, and backed up to /dev/tape.)  On Sunday morning, we took the
> > server down to try an alternate config because of a performance hit that
> > we were taking.  So we made a full backup using taper 6.9b and even
> > restored to the server to make sure it was a good backup.

> > Then...

> > Hardware problems caused the server to not complete post, and we had to
> > bring in the hardware guys to fix the prob.  They put in a new
> > motherboard, but everything else was the same. (Did I mention that we
> > are using ide harddrives).

> > When we finally got the server back, we installed suse again, and moved
> > taper 6.9b to the machine...  We kept receiving an error that said "this
> > is not a taper archive".  According to taper.e-survey.etc...  This is a
> > misconfiguration of the taper program...

> > What has changed...?  When we brought the server again, we had moved the
> > tape drive to an ide controller on the motherboard, and the machine now
> > recognized the tape drive as /dev/ht0.  I tried restoring the backup
> > from -T f, -T ide, and made symbolic links to /dev/tape, and pointed the
> > backup the /dev/ht0...

> > Is there any way that we can get the info off of this tape?  I know it
> > was a good backup, so I just need to get the files off...

> > Help!!!

> > Thanks,

> > Speeves

 
 
 

manually retrieving files from a bad taper backup

Post by speev » Thu, 21 Feb 2002 06:05:24


I tried to get the data off using your ideas, but to no avail!  We
have since rebuilt the server, and, cause of the bite in the *that
I received from taper, we are going to go back to a tried and true
tool... tar.

Thanks,
Speeves
System Administrator
Reliacom Call Center


> I'd start with rewind and retension on the tape a few times.  Then try
> dd'ing some block FROM the tape to /tmp, just to see if you have a good
> connection (who know, it may be loose cables).

> Check permissions on /dev/ht0.  Make sure the kernel has tape support.  

> If dd works, and the backup is really important, dd the entire backup to
> a spare HD and do your recovery from that if possible.

> Otherwise, keep multiple rotating backups and mirror the entire system to
> a spare HD somewhere.

> --Yan



> > Hi!

> > This seems like the best place to post to, so here goes...

> > We were running a suse 7.3 linux server, kernel 2.4.17, apache,
> > postgresql and coldfusion.  We were running backups to an ide tape
> > backup (Seagate), and able to backup and restore just fine.  (we used
> > taper -T f, and backed up to /dev/tape.)  On Sunday morning, we took the
> > server down to try an alternate config because of a performance hit that
> > we were taking.  So we made a full backup using taper 6.9b and even
> > restored to the server to make sure it was a good backup.

> > Then...

> > Hardware problems caused the server to not complete post, and we had to
> > bring in the hardware guys to fix the prob.  They put in a new
> > motherboard, but everything else was the same. (Did I mention that we
> > are using ide harddrives).

> > When we finally got the server back, we installed suse again, and moved
> > taper 6.9b to the machine...  We kept receiving an error that said "this
> > is not a taper archive".  According to taper.e-survey.etc...  This is a
> > misconfiguration of the taper program...

> > What has changed...?  When we brought the server again, we had moved the
> > tape drive to an ide controller on the motherboard, and the machine now
> > recognized the tape drive as /dev/ht0.  I tried restoring the backup
> > from -T f, -T ide, and made symbolic links to /dev/tape, and pointed the
> > backup the /dev/ht0...

> > Is there any way that we can get the info off of this tape?  I know it
> > was a good backup, so I just need to get the files off...

> > Help!!!

> > Thanks,

> > Speeves