Using the dump command to back up data to tape

Description

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.

Prerequisites

You must meet all the prerequisites described in "Prerequisites for the dump command."

Restrictions

You can run up to four dump commands in parallel.

Steps

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.

Examples of level-0 backups to a local tape file

The following list provides examples of level-0 backups to a local tape file.

Examples of backups to a remote tape file

Example of an incremental backup to a local tape drive

Examples of backups to multiple tape files

Example of backing up a directory from a snapshot

Example of backups to a tape stacker

Example of backing up multiple files or directories in one dump command

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

 

Example of backing up data without ACLs

Example of specifying a blocking factor

Example of specifying a tape file size

Example of excluding files from a backup

Example of backing up to a tape stacker shared by multiple filers

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:

Day of week dump commands on each filer
Sunday netapp1:
dump 0uf urst0a,urst0a,urst0a /vol/vol1 
netapp3:
dump 1uf netapp1:nrst1a /vol/vol6 
netapp2:
dump 2uf netapp1:urst1a /vol/vol4
Monday netapp1:
dump 0uf urst0a,urst0a,urst0a /vol/vol2 
netapp3:
dump 1uf netapp1:nrst1a /vol/vol7 
netapp2:
dump 2uf netapp1:urst1a /vol/vol5 
Tuesday netapp1:
dump 0uf urst0a,urst0a,urst0a /vol/vol3 
netapp1:
dump 1uf nrst1a /vol/vol1 
netapp3:
dump 2uf netapp1:urst1a /vol/vol6 
Wednesday netapp2:
dump 0uf netapp1:urst0a,urst0a,urst0a /vol/vol4
netapp1:
dump 1uf nrst1a /vol/vol2 
netapp3:
dump 2uf netapp1:urst1a /vol/vol7
Thursday netapp2:
dump 0uf netapp1:urst0a,urst0a,urst0a /vol/vol5 
netapp1:
dump 1uf nrst1a /vol/vol3 
netapp1:
dump 2uf urst1a /vol/vol1
Friday netapp3:
dump 0uf netapp1:urst0a,urst0a,urst0a /vol/vol6 
netapp2:
dump 1uf netapp1:nrst1a /vol/vol4 
netapp1:
dump 2uf urst1a /vol/vol2
Saturday netapp3:
dump 0uf netapp1:urst0a,urst0a,urst0a /vol/vol7 
netapp2:
dump 1uf netapp1:nrst1a /vol/vol5 
netapp1:
dump 2uf urst1a /vol/vol3 

Example of backing up the entire filer

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:

Day of week dump commands
Sunday
dump 0uf urst0a,urst0a,urst0a /vol/vol1 
dump 1uf nrst1a /vol/vol6 
dump 2uf urst1a /vol/vol4 
Monday
dump 0uf urst0a,urst0a,urst0a /vol/vol2 
dump 1uf nrst1a /vol/vol7 
dump 2uf urst1a /vol/vol5 
Tuesday
dump 0uf urst0a,urst0a,urst0a /vol/vol3 
dump 1uf nrst1a /vol/vol1 
dump 2uf urst1a /vol/vol6 
Wednesday
dump 0uf urst0a,urst0a,urst0a /vol/vol4 
dump 1uf nrst1a /vol/vol2 
dump 2uf urst1a /vol/vol7 
Thursday
dump 0uf urst0a,urst0a,urst0a /vol/vol5
dump 1uf nrst1a /vol/vol3
dump 2uf urst1a /vol/vol1
Friday
dump 0uf urst0a,urst0a,urst0a /vol/vol6
dump 1uf nrst1a /vol/vol4
dump 2uf urst1a /vol/vol2
Saturday
dump 0uf urst0a,urst0a,urst0a /vol/vol7 
dump 1uf nrst1a /vol/vol5 
dump 2uf urst1a /vol/vol3 

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: dump9.htm
Last updated: 02/24/99 12:17:01