add_job
Add backup, prune, or check jobs to a Duplicacy schedule. Set schedule, repository, destination, and options to automate backup workflows.
Instructions
Add a job (backup, prune, or check) to a schedule.
Args: schedule_index: Schedule index (0-based). type: Job type: "backup", "prune", or "check". repository: Repository index (0-based). destination: Storage name the job writes to (or reads from for prune/check). source: Source path for backup jobs (e.g. /source/plex); empty for prune/check. options: Extra duplicacy CLI options. Backup example: "-threads 4". Prune example: "-keep 0:30 -a" (keep the 30 newest snapshots). Check example: "-fossils". parallel: Whether the job may run in parallel with others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| source | No | ||
| options | No | ||
| parallel | No | ||
| repository | Yes | ||
| destination | Yes | ||
| schedule_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |