Installation guide

• TZ86, 5-1/4-inch cartridge
11.3 Backing Up Data
It is important that all the files on your system, data files as well as system
files, be protected from loss. Therefore, you should back up your entire
system, including the system software. Most system files are static; that is,
once they are installed they do not often change. Therefore, they do not
need to be backed up as frequently as data files, which are dynamic,
meaning they change constantly. Incremental backups are also possible.
Each file system backup is a single process. To ease the backup process,
organize your file systems so that dynamic files are on file systems that are
backed up regularly and static files are on file systems that are backed up
occasionally. You may find that you have dynamic files on file systems that
are backed up occasionally. If this happens and you wish to back them up
regularly, just prior to performing a backup, copy the frequently changing
files to systems that are backed up regularly. This allows you to back up
those files without backing up an entire file system. You could write a shell
script to automate these tasks for you.
The dump command copies all designated UFS file systems, or individual
files and directories changed after a specified date, to a file, pipe, magnetic
tape, disk, or diskette. The vdump command copies all AdvFS filesets. Refer
to the AdvFS Administration guide for information on copying AdvFS file
systems. You must have superuser privileges to use the dump command.
_______________________ Note _______________________
To produce valid backups on a UFS file system, you must back
up a file system while it is inactive. It is recommended that you
unmount the file system and check it for consistency. As an
added precaution, put the system into single-user mode before
starting your backup operations. This is not true for AdvFS.
Refer to the AdvFS Administration guide for information on
restoring AdvFS file systems.
The remainder of this section describes the procedure for shutting down a
system and unmounting and checking the integrity of a file system.
You can back up the system while in either multiuser mode or single-user
mode. However, backups performed on file systems actively being modified
might corrupt the backup data. The dump command operates by checking
the inodes of the files you want to back up. The inodes contain data such as
table entries and other statistics. When you use the dump command to back
up files in a file system, an inode is attached to each file. If the system or
Administering the Archiving Services 11–9