Previous Topic: Global Job OptionsNext Topic: ca_backup Verification Options


ca_backup Backup Media Options

The ca_backup command includes the following global backup media options:

ca_backup
[-firsttapeopt <owritesameblank|owritesameblankany>]
[-firsttapetimeout <minutes<1-9999>>]
[-spantapeopt <owritesameblank|owritesameblankany>]
[-spantapetimeout <minutes<1-9999>>]
[-sessionpassword <session password>[-savepassword [-remindafter n]]]
[-encryption <encryption key> [-atagent|-atserverduringbackup|-atserverduringmigration][-savepassword [-remindafter n]]]
[-compression [-atagent|-atserver]]
[-mediabyname]

-firsttapeopt <owritesameblank| owritesameblankany>

Specify media options for the first media used in the backup job. By default, set to Overwrite Same media (append to media). Blank media and Any media are not the same. Any indicates a formatted media with a different media name than that provided in the job.

The media selection search order is from left to right. If the owritesameblankany option is specified, Arcserve Backup will first search for a media with the same name as the job. If one is found and is usable, the media is formatted using the same name, and used for the backup. If not, Arcserve Backup will search for a Blank media to use. If no Blank media is available, Arcserve Backup will then search for Any usable media to format and use for the backup.

Note: If the -rotation schedule argument is included, the specified rotation rules will override these options.

-firsttapetimeout <minutes<1-9999>>

Specify the time, in minutes, to wait for a usable media to be made available for a backup job. By default, this value is 5 minutes. If a usable media is not made available within this time period, the job times out and fails.

-spantapeopt <owritesameblank| owritesameblankany>

Specify media options for any span media used in the backup job. These options apply to jobs that require more than one media to determine the overwrite rules for the additional media. You need to specify which media Arcserve Backup can use when the job spans media.

The media selection search order is from left to right. By default, set to Overwrite Same or Blank. During spanning of tape, if the default is specified, Arcserve Backup first searches for a media with the same name and a higher sequence than the original tape. If a tape is found and is usable, the media is formatted and used as the next tape. If not, Arcserve Backup searches for a Blank media to use.

Note: If the -rotation schedule argument is included, the specified rotation rules will override these options.

-spantapetimeout <minutes<1-9999>>

Specify the time, in minutes, to wait for a usable span media to be made available for a backup job. By default, this value is infinite, and the job continues to wait and prompt until a usable media is loaded or the user cancels the job.

-sessionpassword <session password>[-savepassword [-remindafter n]]

Applies a password to each session backed up to media. To restore data from one of these sessions, the password must be provided.

-savepassword

Specifies to save the session password into the Arcserve Backup database for this backup job. If you do not include this switch, the session password will not be saved into the Arcserve Backup database.

-remindafter n

Specifies the number of days the session password is saved. After the specified number of days has elapsed, a reminder message prompting you to change your password will be logged in the Activity Log. The available range is 0 to 9999 days.

Note: For more information about importing and exporting session password from or to the Arcserve Backup database, see the DumpDB Utility.

-encryption <encryption key> [-atagent|-atserverduringbackup|-atserverduringmigration] [-savepassword [-remindafter n]]

Encrypts files before the backup. To restore encrypted files, the encryption password must be provided.

To restore a session that was backed up using this argument, you must use the ca_restore -tapesessionpw argument to execute the restore job.

Note: For a deduplication device, you cannot include the [-atagent|-atserverduringbackup|-atserverduringmigration] switch.

-savepassword

Specifies to save the encryption password into the Arcserve Backup database for this backup job. By default, this option is selected.

-remindafter n

Specifies the number of days a encryption password is saved. After the specified number of days has elapsed, a reminder message prompting you to change your password will be logged in the Activity Log. The available range is 0 to 9999 days.

Note: For more information about importing and exporting session password from or to the Arcserve Backup database, see the DumpDB Utility.

-compression [-atagent|-atserver]

Compresses files before the backup.

Note: For a deduplication device, you cannot include the [-atagent|-atserver] switch.

-mediabyname

Arcserve Backup writes to any media that has the specified name, regardless of the media's ID or sequence number. This option is useful if you are running a repeating overwrite job with a specific media and you want to ensure that the same media is used for the job each time.

Note: If two or more media in the tape library have the same name, Arcserve Backup will use the first media in the device group that matches the specified name. Therefore, you should not use this option to perform a single occurrence overwrite.

More information:

ca_backup - Examples