How to configure non-default Auto FTP backup schedule (for example every three days)?
Despite the fact that such kind of backup cannot be configured via SolusVM interface (only every day, every week or every month option is available there), it is possible to create a cron task to be executed at any time required:
- Connect to the appropriate slave node via SSH
- Create a crontask running autoftp backup(for example every 3 days):
# cat /etc/cron.d/solusvm_custom_backup
# Custom cron job to execute auto ftp backup every three days:
0 0 */3 * * root nice -n 19 ionice -c2 -n4 /usr/bin/php /usr/local/solusvm/includes/autoftpbackup.php
Note: adjust nice and ionice values accordingly. All the other values will be correctly parsed from SolusVM Master database.