System Administration Guide: Basic Administration

Role of the /etc/dumpdates File

The ufsdump command, when used with the -u option, maintains and updates the /etc/dumpdates file. Each line in the /etc/dumpdates file shows the file system backed up, the level of the last backup, and the day, date, and time of the backup. For example:


/dev/rdsk/c0t0d0s7               0 Mon Dec 10 16:26:10 2001
/dev/rdsk/c0t0d0s7               9 Tue Dec 11 16:45:14 2001
/dev/rdsk/c0t0d0s7               9 Wed Dec 12 16:54:47 2001

When you do an incremental backup, the ufsdump command checks the /etc/dumpdates file to find the date of the most recent backup of the next lower level. Then, this command copies to the media all files that were modified since the date of that lower-level backup. After the backup is complete, a new information line, which describes the backup you just completed, replaces the information line for the previous backup at that level.

Use the /etc/dumpdates file to verify that backups are being done. This verification is particularly important if you are having equipment problems. If a backup cannot be completed because of equipment failure, the backup is not recorded in the /etc/dumpdates file.

If you need to restore an entire disk, check the /etc/dumpdates file for a list of the most recent dates and levels of backups so that you can determine which tapes you need in order to restore the entire file system.


Note –

The /etc/dumpdates file is a text file that can be edited, but edit it only at your own risk. If you make changes to the file that do not match your archive tapes, you might not be able to find the tapes (or files) you need.