NetVault Backup 12.3 - CLI Reference Guide

Introduction Getting started Using the command-line utilities Using the nvreport utility

Backup Advanced Options Set

-backuptype <value>

Specifies the backup type (backup or archive).

-discardtime <interval>

Specifies the length of time you want to retain the backup. The backup is automatically discarded after the period elapses. The period can be specified in number of days, weeks or years.

Example: -discardtime 26-weeks

-backuplife <value>

Specifies the number of full backups that you want to retain for the job. Older backups are automatically discarded.

-encryption <value>

Enables encryption for the backup. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-verify <value>

Performs backup verification. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-deduplicate <value>

Deduplicates the backup data. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-netcompress <value>

Enables network compression for the data transferred between the NetVault Backup Client and Server. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-dontcatalog <value>

Excludes a backup with a selected saveset from cataloging. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-secondarycopy <value>

Creates a secondary copy. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-duplicate <value>

Uses the Duplicate Method to create a secondary copy. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-datacopy <value>

Uses the Data Copy Method to create the secondary copy. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-encryptsecondary
copy <value>

Encrypts the secondary copy. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-migrate <value>

Removes the original backup after the secondary copy is created. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-usereplication <value>

Enables transfer of deduplicated data directly from one device to another device of the same type during a Data Copy or Duplicate operation. The values that can be used are TRUE or FALSE. The default value for this option is TRUE.

Replication provides an efficient method to create secondary copies and offers the following advantages:

The following storage devices support optimized replication:

Quest NetVault SmartDisk devices: To perform optimized replication, you require NetVault SmartDisk 2.0 or later.

 

Quest DR Series Systems: To perform optimized replication, both the source and target Quest DR Series systems must be running the same release version of the DR OS. Replication is not supported between systems that run different releases of the OS.
DD Boost-Enabled Data Domain Systems: The secondary copy backups between two DD Boost-Enabled Data Domain Systems use the managed file-level replication feature provided by DD Boost.

-duplicateclient <value>

Specifies the name of the NetVault backup Client on which you want to run the secondary copy job. It can be Server, Original, or any NetVault Backup Client.

-duplicatescheduleset <set name>

Specifies the name of the Schedule Set for the secondary copy.

-duplicatetargetset <set name>

Specifies the name of the Target Set for the secondary copy.

-duplicatesource <set name>

Specifies the name of the Source Set for the secondary copy.

-allowstreamstosharemedia <value>

Enables streams to share media. The values that can be used are TRUE or FALSE. The default value for this option is FALSE. This option is only valid if the -secondarycopy option is set to TRUE.

-duplicatelife <interval>

Specifies the retention period for secondary copy. If you omit this option, the lifetime of the original (specified using the -discardtime option) is used.

-offlineindexafter <interval>

Specifies the retention period for online index. The backup index is automatically deleted from the NetVault Database after the period elapses. This period can be specified in number of days, weeks, or years.

Examples:

-offlineindexafter 2-days

-offlineindexafter 24-weeks

-prescript <script name>

Specifies the name of the script file that you want to run before the job starts. The file must be stored in the NetVault Backup “scripts” directory.

-prescriptarg <arg>

Specifies the run-time parameters for the script.

-postscript <script name>

Specifies the name of the script file that you want to run before the job completes. The file must be stored in the NetVault Backup “scripts” directory.

-postscriptarg <arg>

Specifies the run-time parameters for the script.

-eventsuccess <arg>

Event to be raised when the job completes successfully.

-eventwarning <arg>

Event to be raised when the job completes with warnings.

-eventfailure <arg>

Event to be raised when the job fails.

-secmediatimeout <mins>

Specifies the timeout interval for media requests.

The default value for this option is 10 minutes.

-maxstreams <n>

Maximum number of parallel streams that can be generated.

The default value for this option is 1.

Restore Advanced Options Set

-netcompress <value>

Enables network compression for the data transferred between the NetVault Backup Client and Server. The values that can be used are TRUE or FALSE. The default value for this option is FALSE.

-prescript <script name>

Specifies the name of the script file that you want to run before the job starts. The file must be stored in the NetVault Backup “scripts” directory.

-prescriptarg <arg>

Specifies the run-time parameters for the script.

-postscript <script name>

Specifies the name of the script file that you want to run before the job completes. The file must be stored in the NetVault Backup “scripts” directory.

-postscriptarg <arg>

Specifies the run-time parameters for the script.

-eventsuccess <arg>

Event to be raised when the job completes successfully.

-eventwarning <arg>

Event to be raised when the job completes with warnings.

-eventfailure <arg>

Event to be raised when the job fails.

nvsetdelete

Deletes a set.

Table 74. nvsetdelete

-setname

Specifies the name of the set that you want to delete.

-type

Specifies the set type. It can be one of the following:

BS: Backup Selection Set
BO: Backup Options Set
S: Schedule Set
BT: Backup Target Set
AB: Backup Advanced Options Set
RS: Restore Selection Set
AR: Restore Advanced Options Set

-version

Displays the build date of the NetVault Backup distribution installed on the machine.

nvsetexport

Exports a set to an output file.

Table 75. nvsetexport

-setname

Specifies the name of the set that you want to export.

-type

Specifies the set type. It can be one of the following:

BS: Backup Selection Set
BO: Backup Options Set
S: Schedule Set
BT: Backup Target Set
AB: Backup Advanced Options Set
RS: Restore Selection Set
AR: Restore Advanced Options Set

-file

Specifies the name of the output file.

-version

Displays the build date of the NetVault Backup distribution installed on the machine.

Documents connexes