You can enter the dump command at any time to back up data in a specified path. After the dump command is finished, the data in the path is written to tape.
You must meet all the prerequisites described in "Prerequisites for the dump command."
You can run up to four dump commands in parallel.
Follow these steps to execute a dump command.
| Step | Action |
|---|---|
| 1 | Prepare the number of tapes required, following the steps described in "Determining the number of tapes for the backup." |
| 2 | Determine and note the blocking factor used in the backup. For more information about blocking factors, refer to "Meaning of tape block." |
| 3 | Determine and note the tape file size used in the backup. For more information about tape file size, refer to "Meaning of tape file." |
| 4 | Enter the dump command in the appropriate format, using the examples that follow as a guide. |
The following list provides examples of level-0 backups to a local tape file.
The command performs a full backup of the /vol/vol1/users/tom/specs directory. After the dump command is finished, the filer rewinds the tape.
The command performs a full backup of the /vol/vol1/users/tom directory and records the backup in the /etc/dumpdates file.
The command performs a full backup of all data in the /vol/vol1 volume that does not belong in any qtrees.
The command performs a backup to a tape drive attached to a filer named netapp1.
The command performs a backup to a tape drive on a UNIX system.
The command performs a level-1 backup of the /vol/vol1 volume to nrst0a. This means that only files that have changed since the most recent level-0 backup are written to tape. After the command is finished, it does not rewind the tape.
The command backs up the /vol/vol1 volume to the tape on rst0a. If the volume exceeds the capacity of the tape on rst0a, the command writes the second tape file to the tape on rst1a. Otherwise, it does not use the tape on rst1a.
The command backs up the /vol/vol1 volume to the tape in urst0a. After the command finishes writing to the first tape drive, it does not rewind the tape. If the volume exceeds the capacity of the tape on urst0a, the command writes the second tape file to the same tape drive on urst0a. If the command needs to write the third tape file, it prompts you to load a new tape.
Note: In this example, if you know in advance that the backup requires two tape files, use rst0a as the second tape file name in the dump command so that the command automatically rewinds the tape after it is finished.
From the weekly snapshot, the command performs a level-0 backup of the /vol/vol1/home/users qtree.
The command backs up the /vol/vol1 volume to a tape stacker. After the command finishes writing a tape file, it unloads the tape and reloads another tape. After the command finishes writing the fourth tape file, it does not rewind the tape.
The n option specifies the name of the backup (user.1.3.5), which is recorded in the /etc/dumpdates file. If you do not specify a name, the dump command fails. The l option specifies that you interactively enter the names of individual files and directories to be backed up from the /vol/vol1/home directory.
The filer displays some messages and a prompt for the names of the files and directories you want to back up. Enter each name as a path name relative to the dump path in the dump command. Do not specify ".." or specify a directory that contains symbolic links. To end the list of names, use a blank line or press Ctrl-D. Then the dump command displays messages about the progress of each pass of the command.
The following example shows how to enter the relative path names for the directories to be backed up. The example ends the list of path names with a blank line.
DUMP: creating "snapshot_for_backup.0" snapshot.
creating....................................................
DUMP: Date of this level 0 dump: Tue Jun 3 12:47:14 1997
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /vol/vol0/home to nrst0a
DUMP: mapping (Pass I) [regular files]
DUMP: Reading file names from standard input
user1
user3
user5
The command performs a level-0 backup of the /vol/vol1 volume. The A option means that the backup does not include any Windows NT ACL information. Use this option if the files in the volume are for NFS only.
The command performs a level-0 backup of the /vol/vol1 volume. The command writes 32 KB of data at a time, enabling you to restore the data from systems that limit each write to 32 KB.
The command performs a level-0 backup of the /vol/vol1 volume to the tape in nrst0a using a tape file size of 2,000,000 tape blocks. After writing 2,000,000 tape blocks to the first tape file, the command does not rewind the tape; it continues writing the second tape file on the same tape. If there is more data to be backed up after the command reaches the end of the second tape file, the command prompts you for a new tape.
The command performs a level-0 backup of the /vol/vol1 volume, which excludes the files that meet one of these requirements:
This section provides a sample schedule for backing up the following filers to the same tape stacker:
The schedule uses the following assumptions:
According to this schedule, the filers perform the following types of backups:
This section provides a sample backup schedule for backing up a filer with seven volumes. The schedule uses the following assumptions:
According to this schedule, the filer performs the following types of backups:
Copyright © 1999, Network Appliance, Inc. All rights reserved.
Part No. 210-02334
File: dump9.htm
Last updated: 02/24/99 12:17:01