Plesk

How to set the day of week scheduled Full Backups to run in Plesk?

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:

  1. Log in to Plesk.

  2. Make sure that today's incremental backup was already created in Tools & Settings > Backup Manager.

  3. Deactivate the option Activate this backup task at Tools & Settings > Backup manager > Schedule.

  4. 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.

  5. Once the backup is performed by the cron job, remove it from Tools & Settings > Scheduled Tasks (Cron jobs).

  6. 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.

Exit mobile version