List Backups and Backup Schedules

The following example lists all cloud backups of any format on filesystem f3.

Example:

curl -XGET -k -u user:password https://hostname:215/api/storage/v2/pools/p0/projects/default/filesystems/f3/backups

{"backups": [
{
"target": "targetname",
"source": "appliance-a",
"dataset": "p0/local/default/f3@.cloud-uniqueID1",
"format": "zfs",
"tier": "standard",
"size": 13548,
"started": "2024-04-09T14:22:00Z",
"uploaded": "2024-04-09T14:22:00Z",
"id": "uniqueID",
"href": "/api/storage/v2/pools/p0/projects/default/filesystems/f3/backups/backup-000"
},
{
"target": "targetname",
"source": "appliance-a",
"dataset": "p0/local/default/f3@.cloud-uniqueID",
"format": "zfs",
"tier": "standard",
"size": 17960,
"started": "2024-04-09T14:23:00Z",
"uploaded": "2024-04-09T14:23:00Z",
"id": "uniqueID",
"parent": ".cloud-uniqueID1",
"href": "/api/storage/v2/pools/p0/projects/default/filesystems/f3/backups/backup-001"

    }]
}

The following request lists the specified backup.

curl -XGET -k -u user:password https://hostname:215/api/storage/v2/pools/p1/projects/default/filesystems/f3/backups/backup-000
 
The following example lists backups schedules of any format on filesystem f3.
curl -XGET -k -u user:password https://hostname:215/api/storage/v2/pools/p0/projects/default/filesystems/f3/automaticbackup
{
"automatic": [
{
"frequency": "week",
"day": "Monday",
"hour": "06",
"minute": "00",
"format": "zfs",
"incremental": 2,
"href": "/api/storage/v2/pools/p0/projects/default/filesystems/f3/automaticbackup/automatic-000"
}
]
}