Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleSnapshot Types

There are 2 types of snapshots. Ones marked as created automatically and those marked as created manually. You are not allowed to delete snapshots created automatically.

Table of contents

Table of Contents
excludeTable of contents

General usage instructions

The general usage instructions for the cloud managment tool suite r3 can be found here.

Step-by-step guide

Show help context

Code Block
languagetext
titleShow help example
linenumberstrue
collapsetrue
~$ r3 db destroy -h

# Response
Destroy Restore-Snapshots/Database Servers of this Environment.

optional arguments:
  -h, --help            show this help message and exit
  --loglevel {INFO,ERROR}
                        Define Loglevel for Execution (default: INFO)
  --db-id DB_ID         Destroy Restore-Database Server.
  --snapshot-id SNAPSHOT_ID
                        Destroy Restore-Snapshot.

How to delete a database backup

  1. Obtain the identifier of the snapshot e.g. by listing the available snapshots using r3 db list --snapshots command
  2. Provide the identifier to the command lineĀ r3 db destroy --snapshot-id as shown in the example.

Code Block
languagetext
titleSnapshot deletion example
linenumberstrue
collapsetrue
~$ r3 db destroy --snapshot-id restore-snapshot-2017-10-23-10-35

# Response
This is a destructive operation. It may cause data loss!
Environment: test Project: backend Company: root360 
+-----------------------------------+----------------------+---------+-----------------+
| SnapshotIdentifier                | DataBaseIdentifier   | Status  | PercentProgress |
+-----------------------------------+----------------------+---------+-----------------+
| restore-snapshot-2017-10-23-10-35 | rr15mnrj9rcaecp      | deleted | 100             |
+-----------------------------------+----------------------+---------+-----------------+

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "database" , "snapshot" , "delete" , "how-to" , "backup" , "destroy" ) and type = "page" and space = "KB"
labelshow-to delete destroy database backup snapshot

...