Last modified November 7, 2024
duplicateBackupJob
Function duplicates the given Backup Job’s configuration as a new Backup Job.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
_id | String | REQUIRED Backup Job ID. | N/A | _id=5fcac5c16852ef21a56c9362 |
Example Call JETAPI
jetbackup5api -F duplicateBackupJob -D "_id={$BACKUP_JOB_ID}"
success: 1
message: Backup Job Duplicated Successfully
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
_id: 650b3620fe90f84de90e0352
name: job1 - 16952335682482
destination:
0: 6503eec8ebbf07708d06f1d2
destination_details:
0:
_id: 6503eec8ebbf07708d06f1d2
name: s3
owner: 6503d48bfc45b1addf0a9632
owner_name: root
type: S3
job_type: 1
count: 3
hidden:
readonly:
disabled:
disk_limit: 0
disk_usage:
threads: 10
update_date: 2023-09-20T16:57:36+00:00
dr: 1
reindex:
running:
options:
path: /test
access_key:
secret_key: JB|HIDDEN|********************
region: us-west-1
bucket: bucket
endpoint: s3.us-west-1.amazonaws.com
legacy:
type: 1
contains: 511
structure: 1
options: 0
state: 0
owner: 6503d48bfc45b1addf0a9632
owner_name: root
next_run:
last_run:
running:
retry_failed: 0
disabled: 1
time: 1700
backup_quota:
monitor:
ranfor: 0
notran: 0
manually_retain: 0
exclude_list:
0: /home
1: /root
encrypted: 0
schedules:
hooks:
mysql_exclude_db_by_size: 0
postgresql_exclude_db_by_size: 0
mongodb_exclude_db_by_size: 0
filters:
0:
0: 6503e82270c7bdb29f08c6b3
1: 6503e82270c7bdb29f08c6b3
Example Call HTTP
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=duplicateBackupJob&_id={$BACKUP_JOB_ID}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.