Last modified November 7, 2024

manageAccountExecludeList

This function allows you to set Account Specific Exclude Lists for All/Specific Backup Jobs.
Parameters
Parameter name Type Description Possible values Example
_id String REQUIRED ID of the account.   _id=5fc96deeac61ab0bc3020323
excludes List [] REQUIRED List of all Backup Job IDs to apply an exclude list. Every account has a 'global' id that will apply the exclude list to all Backup Jobs. excludes[global][]=trash/*&excludes[60898b7f0510b07a0833d138][]=public_html/*

Example Call JETAPI

jetbackup5api -F manageAccountExcludeList -D "_id={$ACCOUNT_ID}&excludes[global][]=trash/*&excludes[$BACKUP_JOB_ID][]=public_html/*"
success: 1
message: Account Backup Jobs Exclude List updated/created successfully
system:
version: 5.3.4
version_panel: 5.3.4
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
global:
        0: trash/*
6503e8275054a26ac301ef02:
        0: public_html/*
6504c79fd4b57d536c05bbe2:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageAccountExcludeList&_id={$ACCOUNT_ID}&excludes[global][]=trash/*&excludes[$BACKUP_JOB_ID][]=public_html/*