...
Info |
---|
Any script that returns a return code larger than 0 is considered to have failed. if a pre-plan or a pre-task script failed - the plan or task will be flagged as failed and will not execute. |
Parameters Sent to the Backup Pre-Plan
...
Script
Sample script: /app/custom/scripts/backup_pre_plan_sample.sh
...
Example:
1=BACKUP-PLAN
2=PRE
3=16
4=backup1
Parameters Sent to the Backup Post-Plan
...
Script
Sample script: /app/custom/scripts/backup_post_plan_sample.sh
1=PLAN_TYPE - The constant "BACKUP-PLAN"
2=PLAN_STAGE - The constant "POST"
3=PLAN_ID - The id of the backup plan
4=PLAN_NAME - The name of the backup plan
5=FINAL_STATUS_CODE - Final status code of the backup plan
6=FINAL_ERROR_MSG - Final error message of the backup plan, or "NONE" if there were no errors
7=FFU1 - The constant "FFU" (For future use)
8=FFU2 - The constant "FFU" (For future use)
9=TASKS_VALUES - list of comma separated values for each task - task ID, backup action, device, domain,task status
Example:
1=BACKUP-PLAN
2=POST
3=16
4=backup1
5=SUCCESS
6=NONE
7=FFU
8=FFU
9=13,exportDomain,IDG-MonTierQA-2,CarRentA_Domain,SUCCESS,14,exportDomain,IDG-QA-2,CarRentB_Domain,SUCCESS
Parameters Sent to the Backup Pre-Task
...
Script
Sample script: /app/custom/scripts/backup_pre_task_sample.sh
1=TASK_TYPE - The constant "BACKUP-TASK"
2=TASK_STAGE - The constant "PRE"
3=TASK_ID - The id of the backup task
4=TASK_NAME - The name of the backup plan that generated this task
5=BACKUP_ACTION - The action that the backup task is going to perform: One of "exportDomain" or "secureBackup"
6=DEVICE_NAME - The name of the device that will be backed-up by the task (or holds the domain that will be backed-up)
7=DEVICE_HOST - The host of the device that will backed-up by the task (or holds the domain that will be backed-up)
8=SOMA_PORT - The soma port of the device
9=DOMAIN - The name of the domain that will be backed-up by the task, or the constant "ALL" in case of secureBackup
Example:
1=BACKUP-TASK
2=PRE
3=12
4=backup1
5=exportDomain
6=IDG-QA-2
7=192.168.72.100
8=5550
9=CarRentA_Domain
Parameters Sent to the Backup Post-Task
...
Script
Sample script: /app/custom/scripts/backup_post_task_sample.sh
...