Question
How to set the day of week scheduled Full Backups to run?
Answer
By default when activating the backup task, the next backup will be a full backup. As a result, activating the backup task on Monday the next full backup will be performed on Monday or Tuesday depending on the selected time. Here are the steps to create a backup that executes on Sunday as we need:
-
Make sure that today's incremental backup was already created in Tools & Settings > Backup Manager.
-
Deactivate the option Activate this backup task at Tools & Settings > Backup manager > Schedule.
-
Create a cron job that will perform a full server backup at the desired time and day of the week via Tools & Settings > Scheduled Tasks (Cron jobs) > Add Task:
Task type: Run a command.
Command:/usr/local/psa/bin/pleskbackup --server
. -
Once the backup is performed by the cron job, remove it from Tools & Settings > Scheduled Tasks (Cron jobs).
-
Activate the option Activate this backup task at Tools & Settings > Backup manager > Schedule.
The next backup after the required day of the week will be an incremental backup.