SimpliVity CLi  Search Backup

 

View all backups from all datastores


$ svt-backup-show   --datastore "*"  --max-results 5

Backups 1 - 5 of 2107
.---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for datastore '*'                                                                                                                                                                               |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| Object            | Backup                    | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent | Replication | Family  |
|                   | Name                      | Type   | Type        | Time                 | Time                 |              | External Store |           |         |      | End Time    |         |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 05_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 01_Windows-otto02 | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected | 37.50GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 04_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.87GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| Win2019_Template  | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.68GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 09_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |   0B | N/A         | vSphere |
. . .

 

View all backups from a specific datastore

 

$ svt-backup-show   --datastore DS01  
.---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for datastore 'DS01'                                                                                                                                                                            |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| Object            | Backup                    | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent | Replication | Family  |
|                   | Name                      | Type   | Type        | Time                 | Time                 |              | External Store |           |         |      | End Time    |         |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 09_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 04_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.87GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 01_Windows-otto02 | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected | 37.50GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 05_Windows        | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |   0B | N/A         | vSphere |
+-------------------+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| Win2019_Template  | 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected |  9.68GB |   0B | N/A         | vSphere |
. . .

 

Search for all backups from a single VM

 

At all datastores:

$ svt-backup-show  -vm 01_Windows --datastore *
.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for VM '01_Windows' on datastore '*'                                                                                                                                                           |
+---------------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| Backup                          | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent     | Replication          | Family  |
| Name                            | Type   | Type        | Time                 | Time                 |              | External Store |           |         |          | End Time             |         |
+---------------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| 2022-12-14T08:01:00-05:00       | Policy | None        | 2022-Dec-14 13:01:00 | 2022-Dec-21 13:01:00 | SVT-Training | SVT-Cluster    | Protected | 37.54GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:46:00-05:00       | Policy | None        | 2022-Dec-14 12:46:00 | 2022-Dec-21 12:46:00 | SVT-Training | SVT-Cluster    | Protected | 37.50GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:31:00-05:00       | Policy | None        | 2022-Dec-14 12:31:00 | 2022-Dec-21 12:31:00 | SVT-Training | SVT-Cluster    | Protected | 23.87GB |       0B | N/A                  | vSphere |
| 01_Windows-b04                  | Manual | None        | 2022-Dec-14 12:26:37 | 2022-Dec-21 12:26:37 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB | 843.36KB | 2022-Dec-14 12:27:19 | vSphere |
| 01_Windows-b03                  | Manual | None        | 2022-Dec-14 12:21:46 | 2022-Dec-21 12:21:46 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB |   8.86GB | 2022-Dec-14 12:23:21 | vSphere |
. . .

 

For a defined datastore:

$ svt-backup-show  -vm 01_Windows --datastore DS01

.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for VM '01_Windows' on datastore 'DS01'                                                                                                                                                        |
+---------------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| Backup                          | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent     | Replication          | Family  |
| Name                            | Type   | Type        | Time                 | Time                 |              | External Store |           |         |          | End Time             |         |
+---------------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| 2022-12-14T08:01:00-05:00       | Policy | None        | 2022-Dec-14 13:01:00 | 2022-Dec-21 13:01:00 | SVT-Training | SVT-Cluster    | Protected | 37.54GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:46:00-05:00       | Policy | None        | 2022-Dec-14 12:46:00 | 2022-Dec-21 12:46:00 | SVT-Training | SVT-Cluster    | Protected | 37.50GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:31:00-05:00       | Policy | None        | 2022-Dec-14 12:31:00 | 2022-Dec-21 12:31:00 | SVT-Training | SVT-Cluster    | Protected | 23.87GB |       0B | N/A                  | vSphere |
| 01_Windows-b04                  | Manual | None        | 2022-Dec-14 12:26:37 | 2022-Dec-21 12:26:37 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB | 843.36KB | 2022-Dec-14 12:27:19 | vSphere |
| 01_Windows-b03                  | Manual | None        | 2022-Dec-14 12:21:46 | 2022-Dec-21 12:21:46 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB |   8.86GB | 2022-Dec-14 12:23:21 | vSphere |
| 2022-12-14T07:16:00-05:00       | Policy | None        | 2022-Dec-14 12:16:00 | 2022-Dec-21 12:16:00 | SVT-Training | SVT-Cluster    | Protected | 23.87GB |       0B | N/A                  | vSphere |
| 01_Windows-b02                  | Manual | None        | 2022-Dec-14 12:07:08 | 2022-Dec-21 12:07:08 | SVT-Training | SVT-Cluster    | Protected | 23.78GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:01:00-05:00       | Policy | None        | 2022-Dec-14 12:01:00 | 2022-Dec-21 12:01:00 | SVT-Training | SVT-Cluster    | Protected | 23.78GB |       0B | N/A                  | vSphere |
. .


Limit number of viewed results:
$ svt-backup-show  -vm 01_Windows --datastore DS01  --max-results 5
Backups 1 - 5 of 169
.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for VM '01_Windows' on datastore 'DS01'                                                                                                                                                  |
+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| Backup                    | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent     | Replication          | Family  |
| Name                      | Type   | Type        | Time                 | Time                 |              | External Store |           |         |          | End Time             |         |
+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| 2022-12-14T08:16:00-05:00 | Policy | None        | 2022-Dec-14 13:16:00 | 2022-Dec-21 13:16:00 | SVT-Training | SVT-Cluster    | Protected | 37.59GB |       0B | N/A                  | vSphere |
| 2022-12-14T08:01:00-05:00 | Policy | None        | 2022-Dec-14 13:01:00 | 2022-Dec-21 13:01:00 | SVT-Training | SVT-Cluster    | Protected | 37.54GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:46:00-05:00 | Policy | None        | 2022-Dec-14 12:46:00 | 2022-Dec-21 12:46:00 | SVT-Training | SVT-Cluster    | Protected | 37.50GB |       0B | N/A                  | vSphere |
| 2022-12-14T07:31:00-05:00 | Policy | None        | 2022-Dec-14 12:31:00 | 2022-Dec-21 12:31:00 | SVT-Training | SVT-Cluster    | Protected | 23.87GB |       0B | N/A                  | vSphere |
| 01_Windows-b04            | Manual | None        | 2022-Dec-14 12:26:37 | 2022-Dec-21 12:26:37 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB | 843.36KB | 2022-Dec-14 12:27:19 | vSphere |
'---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------'

 

Within the last 30min:

$ svt-backup-show  -vm 01_Windows --datastore DS01  --since -30min
.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for VM '01_Windows' on datastore 'DS01'                                                                                                                                     |
+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| Backup                    | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent | Replication | Family  |
| Name                      | Type   | Type        | Time                 | Time                 |              | External Store |           |         |      | End Time    |         |
+---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------+
| 2022-12-14T08:31:00-05:00 | Policy | None        | 2022-Dec-14 13:31:00 | 2022-Dec-21 13:31:00 | SVT-Training | SVT-Cluster    | Protected | 37.59GB |   0B | N/A         | vSphere |
| 2022-12-14T08:16:00-05:00 | Policy | None        | 2022-Dec-14 13:16:00 | 2022-Dec-21 13:16:00 | SVT-Training | SVT-Cluster    | Protected | 37.59GB |   0B | N/A         | vSphere |
'---------------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+------+-------------+---------'

 

With an backup name pattern:

$ svt-backup-show  --name *Windows* --datastore DS01  --max-results 5
Backups 1 - 5 of 10
.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Backups for datastore 'DS01'                                                                                                                                                                          |
+------------+-------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| Object     | Backup            | Backup | Consistency | Backup               | Expiration           | Datacenter   | Cluster Or     | Status    | Size    | Sent     | Replication          | Family  |
|            | Name              | Type   | Type        | Time                 | Time                 |              | External Store |           |         |          | End Time             |         |
+------------+-------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| 02_Windows | 02_Windows-anna02 | Manual | None        | 2022-Dec-14 12:58:03 | 2022-Dec-16 04:59:03 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |       0B | N/A                  | vSphere |
|            | 02_Windows-anna01 | Manual | None        | 2022-Dec-14 12:56:50 | 2022-Dec-15 04:59:50 | SVT-Training | SVT-Cluster    | Protected |  9.86GB |       0B | N/A                  | vSphere |
+------------+-------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------+
| 01_Windows | 01_Windows-b04    | Manual | None        | 2022-Dec-14 12:26:37 | 2022-Dec-21 12:26:37 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB | 843.36KB | 2022-Dec-14 12:27:19 | vSphere |
|            | 01_Windows-b03    | Manual | None        | 2022-Dec-14 12:21:46 | 2022-Dec-21 12:21:46 | SVT-Training | SVT-DRcluster  | Protected | 23.87GB |   8.86GB | 2022-Dec-14 12:23:21 | vSphere |
|            | 01_Windows-b02    | Manual | None        | 2022-Dec-14 12:07:08 | 2022-Dec-21 12:07:08 | SVT-Training | SVT-Cluster    | Protected | 23.78GB |       0B | N/A                  | vSphere |
'------------+-------------------+--------+-------------+----------------------+----------------------+--------------+----------------+-----------+---------+----------+----------------------+---------'