- Plesk for Linux
Is it possible to create scheduled backup tasks via CLI/API?
Such feature is yet to be implemented in Plesk.
Take part in product improvement and suggest this feature at Plesk UserVoice. The corresponding request for API already exists.
As a workaround, a cron task with
pleskbackup utility can be used to schedule backups. For example:
# echo '/usr/local/psa/bin/pleskbackup server --output-file=ftp://username:firstname.lastname@example.org/myfolder' > /etc/cron.weekly/99plesk-backup && chmod +x /etc/cron.weekly/99plesk-backup