Backup from a Filer
158 DD400 Series Restorer User Guide
Backup from a Filer
To backup data from a filer to a file on a restorer, use the ndmp get operation. Administrative
users only.
ndmp get [incremental level] filer_name:src_path dst_path
filer_name The name of the filer that holds the information for the backup operation.
src_path The directory to backup from the filer.
dst_path The destination file for the backup data on the restorer.
incremental level The numeric level for an incremental backup using a number between 0
(zero) and 9. Using any level greater than 0 backs up only changes since the latest previous backup
of the same
src_path with a lower numbered level. Using the get operation without the
incremental option is the same as a level 0, or full, backup.
For example, the following command opens a connection to a filer named toaster5 and returns all
data under the directory
/vol/vol0. The data is stored in a file located at
/backup/toaster5/week0 on the restorer.
# ndmp get toaster5:/vol/vol0 /backup/toaster5/week0
The following incremental backup backs up changes since the last full backup.
# ndmp get incremental 1 toaster5:/vol/vol0 \
/backup/toaster5/week0.day1
Restore to a Filer
To restore data from a restorer to a filer, use one of the ndmp put operations. Note that a filer may
report a successful restore even when one or more files failed restoration. For details, always
review the LOG messages sent by the filer. Administrative users only.
ndmp put src_file filer_name:dst_path
ndmp put partial src_file subdir filer_name:dst_path
partial Restore a particular directory or file from within a backup file on the restorer. Give the
path to the file or subdirectory.
src_file The file on the restorer from which to do a restore to a filer. The src_file argument
must always begin with
/backup.
filer_name The NDMP server to which to send the restored data.