Retrieves information about a Vultr backup including its description, size, status, and creation date
Get information about a Vultr backup. This data source provides a list of backups which contain the description, size, status, and the creation date for your Vultr backup.
Get the information for a backup by description
:
data "vultr_backup" "my_backup" {
filter {
name = "description"
values = ["my-backup-description"]
}
}
The following arguments are supported:
filter
- (Required) Query parameters for finding backups.The filter
block supports the following:
name
- Attribute name to filter with.values
- One or more values filter with.The following attributes are exported:
id
- The ID of the backupdescription
- The description of the backup.size
- The size of the backup in bytes.status
- The status of the backup.date_created
- The date the backup was added to your Vultr account.
No comments yet.