Unix administration - CPIO Restore

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > CPIO Restore





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CPIO Restore
Concerned3 Netizen

2004-01-23, 5:11 pm

universe question

We have a customer that got some kind of damage to a Universe system =
which is backed up by the following command....

cd /ACCT1
find . -print | cpio -ovcB 1> ${TAPEDRIVEn} 2> ${LOGFILE}

How would I presumably restore it from the tape unit?



phn@icke-reklam.ipsec.nu

2004-01-23, 5:11 pm

Concerned3 Netizen <chuckie@throwitaway.com> wrote:
quote:

> universe question


quote:

> We have a customer that got some kind of damage to a Universe system which is backed up by the following command....


quote:

> cd /ACCT1
> find . -print | cpio -ovcB 1> ${TAPEDRIVEn} 2> ${LOGFILE}


quote:

> How would I presumably restore it from the tape unit?



I would myself start reading the manpage of the cpio used.

Typically cpio -icB < ${TAPEDRIVEn} while positioned at /

BUT starting with -t to see whats on the tape.


BUT MAKE SHURE YOU READ THE MANPAGE AND can restore somewhere
where you don't damage sensitive data.



--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
Adam Price

2004-01-23, 5:11 pm

phn@icke-reklam.ipsec.nu wrote:
quote:

> Concerned3 Netizen <chuckie@throwitaway.com> wrote:
>
>
>
>
> I would myself start reading the manpage of the cpio used.
>
> Typically cpio -icB < ${TAPEDRIVEn} while positioned at /
>
> BUT starting with -t to see whats on the tape.
>
>
> BUT MAKE SHURE YOU READ THE MANPAGE AND can restore somewhere
> where you don't damage sensitive data.



AND MAKE SURE YOU WRITE PROTECT THE TAPE!!!
All too easy to XXXX up when recovering backup which you
are unfamiliar with...
Adam


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com