
Backing up and Restoring Files
# P0602484 Ver: 2.7 Page 127
Determining Directory Size
To determine if a backup tape has enough space to hold a specific directory, use the
du command to display the directory’s size. For example, to determine the size of the
system files directory /opt, execute the following command:
du -ks /opt
The -k option displays the size of the directory in kilobytes; the -s option
suppresses the output from listing all individual files contained in the directory.
To determine the amount of disk space allocated to a particular file system, use the
df command. The resulting output provides the total amount of space in kilobytes,
the number of kilobytes used and available, and the amount of space used as a
percentage of total available space.
Backup Tips
• Keep a supply of sequenced and labeled tapes on hand.
• Store backup media in a safe place. This media needs to be obtainable by service
personnel if restoration of data is required.
• Write the date and names of files backed up on the label of each tape.
• Keep a log of backups, including dates and file names.
• Handle backup media carefully. Follow all instructions included with the media.
• Enable write protection on the tapes or disks after the backup. Follow the
instructions included with the media.
Comentarios a estos manuales