How to Enable Automatic Backups on a Vultr Optimized Cloud Compute Instance

Updated on January 15, 2025

Automatic Backups allow you to create full backups of your instance's data and file system on a scheduled basis, ensuring recovery in case of unexpected failures. These backups follow specific schedules and retention policies to ensure your instance is securely backed up in your Vultr account

Follow this guide to enable automatic backups on a Vultr Optimized Cloud Compute instance using the Vultr Customer Portal, or API.

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Products and click Compute

  2. Click your target Vultr Optimized Cloud Compute instance to open its management page.

  3. Navigate to the Backups tab.

  4. Click Enable Backups to turn on automatic backups.

  5. Click Enable Backups in the confirmation prompt to enable automatic backups.

  6. Click the Schedule Backups drop-down to choose a backup schedule, then click Update to create automatic backups based on your selection.

    Set Backups Schedule

  1. Send a GET request to the List Instances endpoint and note your target instance's ID.

    console
    $ curl "https://api.vultr.com/v2/instances" \
      -X GET \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update Instance endpoint to update the instance and enable automatic backups.

    console
    $ curl "https://api.vultr.com/v2/instances/{instance-id}" \
      -X PATCH \
      -H "Authorization: Bearer ${VULTR_API_KEY}" \
      -H "Content-Type: application/json" \
      --data '{
        "backups" : "enabled"
      }'
    
  3. Send a POST request to the Set Instance Backup Schedule endpoint to create a new automatic backups schedule.

    console
    $ curl "https://api.vultr.com/v2/instances/{instance-id}/backup-schedule" \
      -X POST \
      -H "Authorization: Bearer ${VULTR_API_KEY}" \
      -H "Content-Type: application/json" \
      --data '{
        "type": "daily",
        "hour": 10,
        "dow": 1,
        "dom": 1
      }'
    

    Visit the Set Instance Backup Schedule API page to view additional backup schedule attributes.