How to Restore Files to a Different Location (TAR)
Env: AIX 3.2.5
Tape 8mm 5gb (7208-011)
Desc: Customer would like to restore his tar backup to a different
directory other than the one where they were first backed up.
tar -tvf /dev/rmt0 Getting a table of contents of the tape.
So the files are in a realtive path names
So the customer has two choices on restoring these files.
(Only works with relative backups)
tar -xvpf /dev/rmt0
(Will work on both absolute and relative path name backups)
pax -s !/old string/!/rename string/! -rvf /dev/rmt0 -pmop
So this will rename "old string" to "rename string"
Closing pending call back
Support Line: How to Restore Files to a Different Location (TAR) ITEM: AF1510L
Dated: January 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:28
Comments or suggestions?