Changes between Version 5 and Version 6 of Backing up Sun Directories


Ignore:
Timestamp:
04/05/06 15:16:30 (20 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Backing up Sun Directories

    v5 v6  
    1818                                         in my_directory on the tape and rewind
    1919                                         the tape)
    20     > cd /home/my_directory/subdirectory
    21     > tar xvf /dev/rmt/0                        (will extract all files and subdirectories
     20> cd /home/my_directory/subdirectory
     21> tar xvf /dev/rmt/0            (will extract all files and subdirectories
    2222                                         from the tar file on the tape and put them
    2323                                         in the current directory)
     
    2626{{{
    2727> cd /
    28     > tar cvf /dev/rmt/0  usr  home       (will put directories usr and home
    29                                          and all subdirectories of usr and home on the
    30                                          tape and rewind the tape)
    31     > cd /tmp
    32     > tar xvf /dev/rmt/0        home            (will extract directory home and all its
    33 }}}                                      subdirectories to the current directory)
    34 
     28> tar cvf /dev/rmt/0  usr  home       (will put directories usr and home
     29                                                    and all subdirectories of usr and home on the
     30                                                    tape and rewind the tape)
     31> cd /tmp
     32> tar xvf /dev/rmt/0    home            (will extract directory home and all its
     33}}}                                                 subdirectories to the current directory)
    3534(3) Not a good idea to make a tar file from data begining with '/', for instance:
    3635{{{