Backup NAS
The backup nas command creates an image backup of one or more file systems that belong to a Network Attached Storage (NAS) file server, otherwise known as NDMP Backup. Tivoli® Storage Manager prompts you for an administrator ID.
The NAS file server performs the outboard data movement. A server process starts in order to perform the backup.
Use the nasnodename option to specify the node name for the NAS file server. The NAS node name identifies the NAS file server to the Tivoli Storage Manager server; the NAS node name must be registered at the server. Place the nasnodename option in your client options file (dsm.opt). The value in the client options file is the default, but can be overridden on the command line.
Use the toc option with the backup nas command or the include.fs.nas option to specify whether Tivoli Storage Manager saves Table of Contents (TOC) information for each file system backup. If you save TOC information, you can use the QUERY TOC server command to determine the contents of a file system backup with the RESTORE NODE server command to restore individual files or directory trees.
You can also use the Tivoli Storage Manager web client to examine the entire file system tree and select files and directories to restore. Creation of a TOC requires that you define the tocdestination attribute in the backup copy group for the management class to which this backup image is bound. TOC creation requires more processing, network resources, storage pool space, and possibly a mount point during the backup operation. If you do not save TOC information, you can still restore individual files or directory trees using the RESTORE NODE server command, if you know the fully qualified name of each file or directory and the image in which that object was backed up.
The toc option is only supported for images that are backed up by Version 5.2 or later client and server.
Specifying mode =differential on the BACKUP NODE server command or the backup nas command where no full image exists, shows that a full backup was started. Using the QUERY PROCESS server command shows that a full backup is in process.
Use the mode option to specify whether to perform a full or differential NAS image backup. A full image backup backs up the entire file system. The default is a differential NAS image backup on files that change after the last full image backup. If an eligible full image backup does not exist, a full image backup is performed. If a full image exists, whether it is restorable, or expired and being maintained because of dependent differential images, specifying mode =differential sends a differential image backup. If a full image is sent during a differential backup, it is reflected as a full image using the QUERY NASBACKUP server command. The QUERY NASBACKUP server command also displays NAS images that are restorable and displays full image or differential image as the object type.
Use the monitor option to specify whether you want to monitor a NAS file system image backup and display processing information on your screen.
Use the monitor process command to display a list of all processes for which an administrative user ID has authority. The administrative user ID should have at least client owner authority over both the NAS node and the client workstation node they are using either from command line or from the web.
Use the cancel process command to stop NAS backup processing.
Regardless of client platform, NAS file system specifications use the forward slash (/) separator, as in this example: /vol/vol0.
NAS file system designations on the command line require brace delimiters {} around the file system names, such as: {/vol/vol0}.
Supported Clients
This command is valid for AIX®, and Solaris clients only.
This command is valid for all Windows clients.
Syntax
.-----------------. V | >>-Backup NAS--+------------+------ --filespec---+------------->< '- --options-'
Parameters
- filespec
- Specifies the name of one or more file systems on the NAS file
server. If you do not specify this parameter, Tivoli Storage Manager processes
all of the file systems that are defined by the domain.nas option.
If you do not specify the filespec or the domain.nas option, the default all-nas value is used for domain.nas and all file systems on the NAS file server are backed up.
Option | Where to use |
---|---|
mode | Command line only. |
monitor | Command line only. |
nasnodename | Client options file (dsm.sys) or command line. |
nasnodename | Client options file (dsm.opt) or command line. |
toc | Command line or with the include.fs.nas option in your client options file (dsm.sys). |
toc | Command line or with the include.fs.nas option in your client options file (dsm.opt). |
Examples
- Task
- Perform the NAS image backup of the entire file system.
Command: backup nas -mode=full -nasnodename=nas1 /vol/vol0 /vol/vol2
- Task
- Perform the NAS image backup of the entire file system.
Command: backup nas -mode=full -nasnodename=nas1 {/vol/vol0} {/vol/vol2}
- Task
- Perform the NAS image backup of the entire file server.
Command: backup nas -nasnodename=nas1
- Task
- Perform the NAS image backup of the entire file system and save
Table of Contents (TOC) information for the file system backup.
Command: backup nas -mode=full -nasnodename=netappsj /vol/vol0 -toc=yes
- Task
- Perform the NAS image backup of the entire file system and save
Table of Contents (TOC) information for the file system backup.
Command: backup nas -mode=full -nasnodename=netappsj {/vol/vol0} -toc=yes