[HPADM] RE: tar cvf , tar xvf

From: Patel Pankaj (pankaj.patel@patni.com)
Date: Tue Dec 02 2003 - 12:12:52 EST


Thanks Steve,

Thats a good idea. I think there is no other way except creating archive
again using "tar cvf /dev/rmt/0m . "

Ok fine.
pankaj

> -----Original Message-----
> From: Illgen Steve 448 [mailto:steve.illgen@crackerbarrel.com]
> Sent: Tuesday, December 02, 2003 10:33 PM
> To: 'Patel Pankaj'
> Subject: RE: [HPADM] tar cvf , tar xvf
>
> Her is one way:
>
> Manually go into the /oracle directory, then perform your tar using a
> relative pathname.
>
> cd /oracle
> tar cvf /dev/rmt/0m . # remember the period
>
> Then create your /oraclenew directory and perform the restore:
>
> mkdir /oraclenew
> cd /oraclenew
> tar xvf /dev/rmt/0m # no period required. tar uses the
> pathname saved during the tarball creation.
>
> I hope this helps,
>
> Steve Illgen
> UNIX Systems Administrator
> Cracker Barrel Old Country Store, Inc.
> "Pass the Biscuits, Please!"
>
>
>
>
> -----Original Message-----
> From: Patel Pankaj [mailto:pankaj.patel@patni.com]
> Sent: Tuesday, December 02, 2003 10:33 AM
> To: Hpux-Admin
> Subject: [HPADM] tar cvf , tar xvf
>
> Hi friends,
>
> I took backup using tar
>
> tar cvf /dev/rmt/0m /oracle
>
> Now I have new directory /oraclenew . And I want to restore my
> backup into /oraclenew. I have run
>
> tar xvf /dev/rmt/0m /oraclenew , But it is not working. It is not
> doing anything , not restoring.
>
> If I do "tar xvf /dev/rmt/0m /oracle , than it's start restoring
> backup but in to /oracle.
>
> How can I restore backup into other directory ?
>
> Thanks,
> Pankaj
>


--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:37 EDT