Use this method to back up some, but not all, subdirectories or files in the dump path using a single dump command.
You can specify for backup a list of one or more files. However, the files must all be in the same dump path. It is easier to specify a list rather than using a dump command for each subdirectory or file. It also helps you avoid starting multiple dump commands.
The following example shows the prompts and path name entry when you back up a list of files or directories. The example ends the list of path names with a blank line.
dump 0ufnl rst0a user.1.3.5 /vol/vol1/home
The elements of this command line are described in the following table.
Element | Description |
---|---|
0 | Does a full backup. |
u | Records the backup in the /etc/dumpdates file. |
f | Specifies that a tape device is supplied in the command line. |
n | Specifies that a name for the backup is supplied. |
l | Specifies that the names of individual files and directories to be backed up will be entered interactively. |
rst0a | The tape drive rewinds the tape. |
user.1.3.5 | The name of the backup. |
/vol/vol1/home | The directory that contains the files to be backed up. |
The output of the preceding dump command is as follows:
DUMP: creating "snapshot_for_backup.0" snapshot. creating.................................................... DUMP: Date of this level 0 dump: Tue Jun 4 12:47:14 2001 DUMP: Date of last level 0 dump: Tue May 28 4 12:45:51 2001 DUMP: Dumping /vol/vol0/home to nrst0a DUMP: mapping (Pass I) [regular files] DUMP: Reading file names from standard input user1 user3/jdoe user5/rroe/src