Skip to content

Backups

List Backups for a Droplet
client.GPUDroplets.Backups.List(ctx, dropletID, query) (*GPUDropletBackupListResponse, error)
get/v2/droplets/{droplet_id}/backups
Retrieve the Backup Policy for an Existing Droplet
client.GPUDroplets.Backups.GetPolicy(ctx, dropletID) (*GPUDropletBackupGetPolicyResponse, error)
get/v2/droplets/{droplet_id}/backups/policy
List Backup Policies for All Existing Droplets
client.GPUDroplets.Backups.ListPolicies(ctx, query) (*GPUDropletBackupListPoliciesResponse, error)
get/v2/droplets/backups/policies
List Supported Droplet Backup Policies
client.GPUDroplets.Backups.ListSupportedPolicies(ctx) (*GPUDropletBackupListSupportedPoliciesResponse, error)
get/v2/droplets/backups/supported_policies