- Plesk for Linux
Is it possible to create scheduled backup tasks via CLI/API?
Such functionality is yet to be implemented in Plesk.
If you would like to see these features in Plesk, please vote for them on Plesk UserVoice:
- Add CLI operations to create/manage Scheduled Backup
- Add XML API operations to manage Backup Password and Scheduled Backup
As a workaround, a cron task with the pleskbackup utility can be used to schedule backups.
# echo '/usr/local/psa/bin/pleskbackup server --output-file=ftp://username:email@example.com/myfolder' > /etc/cron.weekly/99plesk-backup && chmod +x /etc/cron.weekly/99plesk-backup