The ca_backup command includes the following global pre/post options:
ca_backup
[-preexec <command>] [-exitcode <exit code(>=0)> [-skip_delay|-skip_job] [-skip_post] [-preexectimeout <minutes(0-32767)>] [-postexec <command>] [-skippostfail] [-skippostincmp] [-skippostcmp] [-prepostuser <user name>] [-prepostpassword <user password>]
Runs the specified command before the job starts.
The entire path of the command should be included.
Note: To use this option, you must also specify the -prepostpassword option. If you do not specify the -prepostpassword option, the job will fail.
Specifies the exit code of the pre-execute command. Used with the ‑skip_delay, ‑skip_job, and ‑skip_post switches.
Runs the backup job immediately, if the specified exit code is received.
Skips the backup job completely, if the specified exit code is received.
Skips the post-execute command, if the specified exit code is received.
Specifies to not run the post command if the job fails.
Specifies to not run the post command if the job is incomplete.
Specifies to not run the post command if the job is complete.
Specifies the time to wait (in minutes) before the backup job starts, to allow time for the pre-execute command to finish. The range of time to specify is from 0 to 32767 minutes.
Default: 0 minutes
Runs the specified command after the job finishes.
The entire path of the command should be included.
Note: To use this option, you must also specify the -prepostpassword option. If you do not specify the -prepostpassword option, the job will fail.
Specifies the name of the user who is submitting this backup job.
Specifies the password of the user submitting the backup job.
Copyright © 2016 |
|