[HPADM] RE: tar cvf , tar xvf
From: Patel Pankaj (pankaj.patel_at_patni.com)
Date: 12/02/03
- Previous message: Abramson, Stuart: "[HPADM] Summary: Splitting Oracle DataBases "Live" with EMC TimeFinder/B CV "symioctl" commands"
- Next in thread: Patel Pankaj: "[HPADM] disk swapping with data"
- Reply: Patel Pankaj: "[HPADM] disk swapping with data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Hpux-Admin" <hpux-admin@DutchWorks.nl> Date: Tue, 2 Dec 2003 22:42:52 +0530
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)
- application/ms-tnef attachment: winmail.dat
- Previous message: Abramson, Stuart: "[HPADM] Summary: Splitting Oracle DataBases "Live" with EMC TimeFinder/B CV "symioctl" commands"
- Next in thread: Patel Pankaj: "[HPADM] disk swapping with data"
- Reply: Patel Pankaj: "[HPADM] disk swapping with data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|