deletebackup
This ArcGIS Data Store utility is used with the relational store and the object store.
The deletebackup utility allows you to delete backup files you created for the relational store or object store. First, run the configurebackuplocation utility with the --operation option set to list to get a list of all backup locations configured for the data store. Next, run the listbackups utility with one of the locations to see the names and creation times of the backups in that location. Repeat that step for every backup location. You can then run the deletebackup utility to delete the backup files you no longer need. You must run deletebackup separately for each location from which you want to delete backup files.
Note:
You can only delete backups that are not required to recover your data store. For example, you cannot delete the most recent full backup of a relational store.
Syntax
deletebackup <backup name> [--store {relational | object}] [--location "<backup-location>"] [--prompt {yes | no}]
Example
In the following example, the relational store backup named featuresMarchbu is deleted from the default backup location.
./deletebackup.sh featuresMarchbu --store relational
deletebackup featuresMarchbu --store relational
You are attempting to delete backup 'featuresMarchbu'. This operation is irreversible.
Do you wish to continue (Yes or No)?yes
Operation completed successfully
In this example, the june-videobu of the object store is deleted from the backup location named videobucket.
./deletebackup.sh june-videobu --store object --location "videobucket"
deletebackup june-videobu --store object -- location "videobucket"
You are attempting to delete backup 'june-videobu'. This operation is irreversible.
Do you wish to continue (Yes or No)?yes
Operation completed successfully