The Backup action initiates a full backup that includes all online database files or a partial backup that excludes frozen files or frozen partitions, or both frozen files and partitions. Offline files and partitions are always excluded.
You can execute this command in multiuser mode to perform an online backup, with concurrent updating transactions or in quiesced (read-only) mode. In single user mode, the path argument is required.
The syntax of the Backup action is as follows.
jdbadmin action=Backup backupDir=backup-directory [path=database-path] [ini=initialization-file-name] [server=multiUser|singleUser] [compress=true|false] [excludeFrozenFiles=true|false] [excludeFrozenPartitions=true|false] [overwrite=true|false] [quiesced=true|false] [showProgress=true|false] [verify=true|false]
In addition to the command line argument values that apply to one or more batch database administration utility actions or commands, documented under "Command Arguments", the Backup action arguments are listed in the following table.
Argument | Description |
---|---|
backupDir | Specifies the destination directory. The directory is created if it is not present. |
path | Optional, in multiuser mode. |
compress | Specifies that data compression is invoked to compress data as it is copied to the backup. The default value is false. |
excludeFrozenFiles | Specifies that all frozen files are to be excluded from the backup. The default value is false. |
excludeFrozenPartitions | Specifies that all frozen partitions are to be excluded from the backup. The default value is false. |
overwrite | Specifies that existing files in the backup location are to be overwritten. The default value is false. |
quiesced | Specifies that the backup is to be a quiesced (read-only) backup. The default value is false. |
showProgress | Specifies that progress information is to be sent to stdout. The default value is false. |
verify | Specifies that file-level MD5 checksum verification is to be performed on each file after being copied. The default value is false. |