Ask a Question related to SCO, Design and Development.
-
vaidyas #1
Restore from Tape
Hi,
I had performed a full backup of my Unix system on a Tape Disk through
the cpio utility. It had taken 3 tapes to perform the backup. Recently I
had deleted an directory on the system and wanted to restore from the
tape. Accidently I kept the tape onto the drive and an automatic backup
program overwrote the contents of the tape.
My question is :
a) Is it possible to recover the data on the first tape?
b) Is it possible to list the contents of the 2nd and 3rd tapes and
recover the directory from these tapes?
I had issued the following command to write onto the tape :
"find . -print | cpio -ocvB -O /dev/rmt/c0t3d0s0"
Your comments pls.
--
Posted via [url]http://dbforums.com[/url]
vaidyas Guest
-
mksysb tape won't restore
Hi there, I made a mksysb tape from an 7026-6H1. For testing I wanted to restore it to an 7011-G40. The G40 reads from the tape but does not... -
Restore tape image to slightly different hardware
Hello, I've got a few Compaq ML-350's (G3's), some of them have RAID LC 2 controllers and some have HP Smart Array 641 controllers. Here's the... -
[Q] how to restore SSA after MKSYSb tape restore?
We have S70 with 6215 SSA adapter and SSA disk array. The SSA (16 disks) current configured as 2 RIAD5 loops and 4 stand along disks. Due to... -
restore system from tape, how to?
I backuped the system to the tape (using smit). How to restore it from tape? I think I shold boot system in service mode and afterthat I should... -
tape restore error
can anyone tell me what this error means? restore > extract disk1b/ You have not read any volumes yet. Unless you know which volume your... -
tony@aplawrence.com #2
Re: Restore from Tape
vaidyas <member34319@dbforums.com> wrote:
Not with any tools or equipment you have. It is POSSIBLE for a data recovery>Hi,
>I had performed a full backup of my Unix system on a Tape Disk through
>the cpio utility. It had taken 3 tapes to perform the backup. Recently I
>had deleted an directory on the system and wanted to restore from the
>tape. Accidently I kept the tape onto the drive and an automatic backup
>program overwrote the contents of the tape.
>My question is :
>a) Is it possible to recover the data on the first tape?
firm to get some of it back, or maybe even all of it if you have enough
money, but it isn't at all easy, and it wouldn't be cheap. I'm not
talking small money here.. this would be real esoteric stuff that would
be going after overwritten magnetic domains until it reached the EOT
mark. The EOT mark itself is a killer of data, and it's impossible
to move beyond it with ordinary equipment. Even writing JUST an
EOT at the beginning of a tape is a problem and of course you have done
much more.
Assuming what you want is there, why not?>b) Is it possible to list the contents of the 2nd and 3rd tapes and
> recover the directory from these tapes?
cpio -itv < /dev/rmt/c0t3d0s0
cpio -icdumv ./desireddata < /dev/rmt/c0t3d0s0
BTW, you are doing at least two silly things:
1) not having multiple tapes
2) not using a supertar: [url]http://aplawrence.com/Reviews/supertars.html[/url]
--
[email]tony@aplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
tony@aplawrence.com Guest
-
Bob Bailin #3
Re: Restore from Tape
<tony@aplawrence.com> wrote in message news:bg2ubr$u82$3@pcls4.std.com...recovery> vaidyas <member34319@dbforums.com> wrote:
>>> >Hi,
> >I had performed a full backup of my Unix system on a Tape Disk through
> >the cpio utility. It had taken 3 tapes to perform the backup. Recently I
> >had deleted an directory on the system and wanted to restore from the
> >tape. Accidently I kept the tape onto the drive and an automatic backup
> >program overwrote the contents of the tape.
> >My question is :
> >a) Is it possible to recover the data on the first tape?
> Not with any tools or equipment you have. It is POSSIBLE for a data3) not using the write-protect tab on the tape cartridge each & every time> firm to get some of it back, or maybe even all of it if you have enough
> money, but it isn't at all easy, and it wouldn't be cheap. I'm not
> talking small money here.. this would be real esoteric stuff that would
> be going after overwritten magnetic domains until it reached the EOT
> mark. The EOT mark itself is a killer of data, and it's impossible
> to move beyond it with ordinary equipment. Even writing JUST an
> EOT at the beginning of a tape is a problem and of course you have done
> much more.
>
>>> >b) Is it possible to list the contents of the 2nd and 3rd tapes and
> > recover the directory from these tapes?
> Assuming what you want is there, why not?
>
> cpio -itv < /dev/rmt/c0t3d0s0
> cpio -icdumv ./desireddata < /dev/rmt/c0t3d0s0
>
> BTW, you are doing at least two silly things:
>
> 1) not having multiple tapes
> 2) not using a supertar: [url]http://aplawrence.com/Reviews/supertars.html[/url]
you do a restore.
Bob Bailin Guest
-
Evgeniy Petrov #4
restore from tape
I have a strimer /dev/st0 (Linux Suse 8.0)
I write to strimer using command
tar cfv /dev/st0 myfile
How can I read tape (only read)
If I write
tar tf /dev/st0
nothing happend. Is it correct syntax? Does it meen that tape is empty?
How can I restore files from tape to another location (not original)?
Should I use command mt before read from tape (or write) and what is correct
syntax?
Should I do anything with new tape before using it in my strimer?.
Evgeniy Petrov Guest
-
Evgeniy Petrov #5
Re: restore from tape
> I write to strimer using command
And is strimer understand that he should clear tape and start new session?> tar cfv /dev/st0 myfile
Evgeniy Petrov Guest
-
K7MEM #6
Re: restore from tape
Evgeniy Petrov wrote:
This is correct for creating a tape.> I have a strimer /dev/st0 (Linux Suse 8.0)
>
> I write to strimer using command
> tar cfv /dev/st0 myfile
However, this command is only for obtaining a table of contents> How can I read tape (only read)
> If I write
> tar tf /dev/st0
> nothing happend. Is it correct syntax? Does it meen that tape is empty?
from the tape. You are missing the "v", or "verbose" option so you
probably don't see anything on the screen.
When you initially created the tape you probably used:>
> How can I restore files from tape to another location (not original)?
> Should I use command mt before read from tape (or write) and what is correct
> syntax?
> Should I do anything with new tape before using it in my strimer?.
>
cd [some directory]
tar cfv /dev/st0 myfile
Note that if "myfile" was replaced with "mydirectory", "tar" would
transfer the directory and it's contents to tape.
To obtain a a table of contents from the tape you could use:
tar -tvf /dev/st0
Then to restore your file to another directory you could use:
cd [some other directory]
tar -xvf /dev/st0
You need to carefully read the man page. It gives you some examples
that could be useful.
--
Martin E. Meserve
[email]k7mem@myrealbox.com[/email]
[url]http://www.k7mem.150m.com[/url]
K7MEM Guest
-
Scott McMillan #7
Re: restore from tape
On Wed, 7 Jul 2004 13:39:03 +0400, "Evgeniy Petrov"
<evg@mail.wurth.ru> wrote:
Add the v option, as in>I have a strimer /dev/st0 (Linux Suse 8.0)
>
>I write to strimer using command
>tar cfv /dev/st0 myfile
>How can I read tape (only read)
>If I write
> tar tf /dev/st0
>nothing happend. Is it correct syntax? Does it meen that tape is empty?
>
>How can I restore files from tape to another location (not original)?
>Should I use command mt before read from tape (or write) and what is correct
>syntax?
>Should I do anything with new tape before using it in my strimer?.
>
tar tvf /dev/st0
to have tar show you the file(s) on the tape. man tar for *many* more
options.
Scott McMillan
Scott McMillan Guest
-
Doug Freyburger #8
Re: restore from tape
Evgeniy Petrov wrote:
Generally you should use /dev/rst0.>
> I have a strimer /dev/st0 (Linux Suse 8.0)
What is the output from that command? If "myfile" is not in> I write to strimer using command
> tar cfv /dev/st0 myfile
the current directory, the command will write an empty file
on the tape.
It is correct and it does mean the tape is empty.> How can I read tape (only read)
> If I write
> tar tf /dev/st0
> nothing happend. Is it correct syntax? Does it meen that tape is empty?
First goal - A tape that is not blank. Locate "myfile" carefully> How can I restore files from tape to another location (not original)?
or spell it correctly.
I prefer to do "mt -f /dev/rst0 rewind ; sleep 1" before each tar,> Should I use command mt before read from tape (or write) and what is correct
> syntax?
but that assumes that the definitions of /dev/rst0 and /dev/nrst0
have been combined so the automatic rewind function has been broken.
I'm paranoid that way.
Doug Freyburger Guest



Reply With Quote

