Changes between Version 5 and Version 6 of Backing up Sun Directories
- Timestamp:
- 04/05/06 15:16:30 (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Backing up Sun Directories
v5 v6 18 18 in my_directory on the tape and rewind 19 19 the tape) 20 > cd /home/my_directory/subdirectory21 > tar xvf /dev/rmt/0(will extract all files and subdirectories20 > cd /home/my_directory/subdirectory 21 > tar xvf /dev/rmt/0 (will extract all files and subdirectories 22 22 from the tar file on the tape and put them 23 23 in the current directory) … … 26 26 {{{ 27 27 > 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) 35 34 (3) Not a good idea to make a tar file from data begining with '/', for instance: 36 35 {{{
