ITEM: AF1510L

How to Restore Files to a Different Location (TAR)


  Env:  AIX 3.2.5
        RISC 360
        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.

  Action:  

         tar -tvf /dev/rmt0   Getting a table of contents of the tape.
               cmos/files

          So the files are in a realtive path names
          So the customer has two choices on restoring these files.
          METHOD ONE:
          (Only works with relative backups)

         cd \
         tar -xvpf /dev/rmt0

         METHOD TWO:
         (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"

Next Action: 
           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? Contact us