The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LTO multivolume restoration problem in SELS9 pramanik UNIX for Dummies Questions & Answers 0 03-13-2008 02:44 AM
restoration Farbegas SUN Solaris 1 11-27-2007 10:09 PM
Restoration issue charbel Shell Programming and Scripting 1 05-28-2007 09:49 AM
Copying file names returned from a grep command into another directory Kartheg UNIX for Dummies Questions & Answers 4 11-17-2005 12:34 PM
Restoration of Multimedia Capabilities in Red Hat Linux 9 Jawwad SuSE 5 12-10-2003 12:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-19-2006
newbie168 newbie168 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 14
file restoration to new directory - tar command

hi,
i face some problem which need URGENT assistance.

am performing a restoration for recovery in an AIX UNIX server.
when i use the tar -tvf command to view the tape contents,
it gives me /ata1/mydir/myfile.

i understand that how the file was backed up determine whether we could restore them into new directory.
=> if it's ./ata1/mydir/myfile then we can put it in a new directory (all the ata1 directories above it will be created under whichever directory i'm in).
=> If it's listed as /ata1/mydir/myfile, then it's going to restore the file in the original directory .

is there any POSSIBLE way for me to restore the files from a tape to a new directory (let say /disk1/ata1/mydir/myfile).
as we no longer have /ata1 mounted in the system.

appreciate ur kind feedback.
thanks in advanced.
  #2 (permalink)  
Old 07-19-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check out Perderabo's suggestion in this thread

Alternately, you can create a soft link of /ata1 to /opt or /export/home and then tar all the files onto that partition (it would create all the lower directories)
  #3 (permalink)  
Old 07-19-2006
newbie168 newbie168 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 14

RTM, thank you very much.
it works with soft link.

thanks again.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0