Applicable to:
- Plesk for Linux
Question
Is it possible to create scheduled backup tasks via CLI/API?
Answer
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. For example:
# echo '/usr/local/psa/bin/pleskbackup server --output-file=ftp://username:password@example.com/myfolder' > /etc/cron.weekly/99plesk-backup && chmod +x /etc/cron.weekly/99plesk-backup
Comments
0 comments
Please sign in to leave a comment.