You are viewing an older version of this section. View current production version.

BACKUP-DELETE

Info

MemSQL Helios does not support this command.

Delete a backup.

Usage

usage: memsql-ops backup-delete [--settings-file SETTINGS_FILE] [--async]
                                [--no-prompt] [--delete-without-prompting]
                                [--force]
                                [backup_id]

Delete a backup.

positional arguments:
  backup_id             The ID of the backup to delete.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  --async               If this option is true, we will exit without waiting
                        for the MemSQL backup to be fully deleted.
  --no-prompt           Skip interactive prompts if ID is not provided. This
                        should be used for non-interactive scripts and
                        automation.
  --delete-without-prompting
                        If this is true, we will attempt to delete this MemSQL
                        backup without prompting for confirmation.
  --force               If this is true, we will delete this backup from
                        MemSQL Ops even if we cannot delete its files on disk.
                        This option is only applicable to agent backups.