You can automate the backup process by creating a schedule that runs backup jobs at specific times.

You can keep existing backups on the backup server. The retention policy defines the maximum number of backups that the server keeps. You can also specify whether the backup job should run once, or on a recurring basis. The recurrence policy defines the days of the week and specific times at which the backup job is scheduled to run.

Prerequisites

  • Verify that you can access the backup server and you have read and write permissions.
  • Verify that you have established a connection to the vAPI services.

Procedure

  1. Create a schedule by using the POST https://<vCenter_Server_IP>/api/appliance/recovery/backup/schedules HTTP request.
  2. Specify the retention and recurrence information.
  3. Create a schedule by specifying the backup location, user credentials to access the location, retention, and recurrence information.
  4. Use the RecoveryBackupSchedulesUpdateSpec data structure and pass the updated information.
  5. Get a backup schedule by passing a schedule ID.

What to do next

Run the backup job by using the schedule.