Oracle VM VirtualBox: Remover SNAPSHOTs pela linha de comando

[ricardo@Magi ~]$ vboxmanage list vms
"Oracle Data Guard 01" {1c7df36e-62f8-4426-8fc6-009726d3e5fd}
"Oracle Data Guard 02" {bf6b3545-28da-47dd-9ad6-23f20c760db9}
"Oracle Data Guard 03" {acee672f-508c-4c01-b6f3-356a9045f0c9}
"Oracle Data Guard 04" {187b4eb4-b97a-494e-bd1d-289ff970e089}
"Oracle Data Guard 05" {57332d8d-00aa-4672-8d83-ca2eb5a647e7}
"Oracle 11gR2" {b41579a9-0cd6-4cf7-9c5c-6fbc78929ebd}
"Oracle 19c" {ad4813c2-1e2b-4f50-bc72-e39129882f12}
"DBA Júnior II" {bf52b8de-c8f2-4765-bc8b-9d93e1787e24}
"MySQL 01" {830467ad-1385-4e3e-9c4e-de3c078f4997}
"MySQL 02" {c2e85599-c030-4b85-ba78-e0e16c894c08}
"Percona XtraDB Cluster - 01" {b4d1f702-6b38-4ede-906d-2a15d7088b2f}
"Percona XtraDB Cluster - 02" {5a4e6e32-b102-473f-a136-b843ce9bcbf9}
"Percona XtraDB Cluster - 03" {758fc8c9-5704-43fd-899a-6d2545f200e6}
"MariaDB Galera Cluster 03" {f4c90d05-d1ca-44e3-9238-a743c62a2c17}
"MariaDB Galera Cluster 02" {566d9547-bbb4-4ba2-b2cd-75a7e1079ca9}
"MariaDB Galera Cluster 01" {5bf7e54a-d5ca-4fc4-b339-50123b3e6ce1}
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" list
   Name: Antes de criar o Listener e Banco de Dados. (UUID: 8e68d495-931d-484c-908c-b0a66f4ecbcb)
      Name: Replicaçao via Data Guard estabelecida. (UUID: e5d842ac-19b5-403c-8414-14a14b6b8cda)
         Name: Switchover executado. (UUID: c98137d8-8ceb-4fb3-9667-d3b4f10bf291)
            Name: Lab 4.7 finalizado. (UUID: d19a3cbb-75de-493d-ab6d-cddb55f6dda8) *
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" delete d19a3cbb-75de-493d-ab6d-cddb55f6dda8
Deleting snapshot 'Lab 4.7 finalizado.' (d19a3cbb-75de-493d-ab6d-cddb55f6dda8)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" delete c98137d8-8ceb-4fb3-9667-d3b4f10bf291
Deleting snapshot 'Switchover executado.' (c98137d8-8ceb-4fb3-9667-d3b4f10bf291)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" delete e5d842ac-19b5-403c-8414-14a14b6b8cda
Deleting snapshot 'Replicaçao via Data Guard estabelecida.' (e5d842ac-19b5-403c-8414-14a14b6b8cda)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" delete 8e68d495-931d-484c-908c-b0a66f4ecbcb
Deleting snapshot 'Antes de criar o Listener e Banco de Dados.' (8e68d495-931d-484c-908c-b0a66f4ecbcb)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[ricardo@Magi ~]$ vboxmanage snapshot "Oracle Data Guard 01" list
This machine does not have any snapshots
[ricardo@Magi ~]$

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.