Cartridge Tape
Half-inch Tape
Complete Backup
tar c .
cpio -oha1 .
tar c3 .
cpio -oBa3 .
Incremental Backup
find . -mtime -7 -print | tar c -
find . -mtime -7 -print | cpio -oha1
find . -mtime -7 -print | cpio -oBa3
Read Tape
tar x
cpio -ihumd1
tar x3
cpio -iBumd3
List Tape Contents
tar xv
cpio -ihtv1
tar tv3
cpio -iBtv3
Table 4-3: Sample Tape Drive Commands
In general, you should make periodic backup tapes of everything on the disk.
You may want to back up dynamic parts of the file system—such as the user
files—more frequently than the more stable parts of the file system. To
simplify this process, you can set up the file system so that the files that
change most frequently are stored in one directory, which can be backed up
independently. If you follow the recommendations in Section 4.2.2 for
establishing new accounts, then most user files will be stored in the directory
/usr/people
.
Each
tar
or
cpio
command generates a single output file, which is written to
tape. To put several of these output files on one tape, use the tape devices
without rewind. When these devices are used, output files can be written one
after another onto the tape; the tape does not rewind to the beginning after
each write, but rather remains where it was after the last write.
NOTE:
If you interrupt the non-rewind cartridge tape
device on an IRIS 3020 or 2400T, you must reboot the
system to use the tape drive again. To avoid this
problem, remove the cartridge from the drive to stop the
device.
To use the no-rewind tape devices, replace the
tar
and
cpio
commands in steps
4 and 8 below with these lines:
tar c2 .
# non-rewind cartridge tape device
tar c4 .
# non-rewind half-inch tape device
cpio -oh2
# non-rewind cartridge tape device
cpio -oh4
# non-rewind half-inch tape device
4-22 IRIS OWNER’S GUIDE
SERIES 3000 Version 1.1
Workstation Administration
Summary of Contents for 3010
Page 4: ......
Page 42: ......
Page 112: ......
Page 118: ......
Page 139: ...Version 1 0 SERIES 3000 IRIS OWNER S GUIDE A 11 Appendix A Figure A 4 IRIS Cabinet Back Panel ...