Setting environment variables for backup and restore operations
You can set environment variables to support the backup and restore operations for your NDMP session.
You can set environment variables through a data management application (DMA) or the command-line interface. Alternatively, you can set global environment variables. The precedence to apply their settings for a backup or restore operation follows:
The environment variables specified through a DMA have the highest precedence.
Path-specific environment variables specified by the
isi ndmp settings variables take the next precedence.
Global environment variable settings of
"/BACKUP" or
"/RESTORE" take the lowest precedence.
You can set environment variables to support different types of backup operations as described in the following scenarios:
If the
BASE_DATE environment variable is set to any value and if you set the
BACKUP_MODE environment variable to
SNAPSHOT, the
LEVEL environment variable is automatically set to
10 and an Incremental Forever backup is performed.
If the
BASE_DATE environment variable is set to
0, a full backup is performed.
If the
BACKUP_MODE environment variable is set to
snapshot and the
BASE_DATE environment variable is not set to
0, the entries in the
dumpdates file are read and compared with the
BASE_DATE environment variable. If an entry is found and a prior valid snapshot is found, a faster incremental backup is performed.
If the
BACKUP_MODE environment variable is set to
snapshot, the
BASE_DATE environment variable is not set to
0, and if no entries are found in the
dumpdates file and no prior valid snapshots are found, a token-based backup is performed using the value of the
BASE_DATE environment variable.
If the
BASE_DATE environment variable is set, the
BACKUP_OPTIONS environment variable is set to
0x00000001 by default.
If the
BACKUP_MODE environment variable is set to
snapshot, the
BACKUP_OPTIONS environment variable is set to
0x00000002 by default and only the last successful backup snapshot is retained.
If the
BACKUP_OPTIONS environment variable is set to
0x00000004
, all previous successful backup snapshots are saved and should be periodically manually deleted as they are not needed.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\