Viewing backup plan history

You can check the backup plan history by examining the list and details of backup plan executions.

Prerequisites

To list backup plan executions

Use the following command:

vinfra service compute backup-plan execution list <backup-plan>
<backup-plan>
Backup plan ID or name

For example, to check how many times the backup plan myplan has been executed, run:

# vinfra service compute backup-plan execution list myplan
+----------------------------------+----------------+-------------+-----------+
| id                               | backup_plan_id | project_id  | status    |
+----------------------------------+----------------+-------------+-----------+
| 04f5254703be4cd499d6a34cb3b6c78d | bc9b9edc<…>    | 70eff985<…> | completed |
| 9652a1f72598416e98d1f9cfb0643c96 | bc9b9edc<…>    | 70eff985<…> | completed |
+----------------------------------+----------------+-------------+-----------+

To view the details of a backup plan execution

Use the following command:

vinfra service compute backup-plan execution show <backup-plan> <execution-id>
<backup-plan>
Backup plan ID or name
<execution-id>
Execution ID

For example, to check the details of the execution with the ID 04f5254703be4cd499d6a34cb3b6c78d of the backup plan myplan, run:

# vinfra service compute backup-plan execution show myplan 04f5254703be4cd499d6a34cb3b6c78d
+----------------+----------------------------------+
| Field          | Value                            |
+----------------+----------------------------------+
| backup_plan_id | bc9b9edc5ae346e1b49614a9cb0c3cdb |
| created_at     | 2024-03-13T15:30:27.473014       |
| id             | 04f5254703be4cd499d6a34cb3b6c78d |
| metadata       |                                  |
| project_id     | 70eff98528054d0b95a8936bfa4aa2a3 |
| status         | completed                        |
| updated_at     | 2024-03-13T15:32:49.648791       |
+----------------+----------------------------------+