A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-delete-backups below:

Delete on-demand backups - Azure Database for PostgreSQL

This article provides step-by-step instructions to delete on-demand backups of an Azure Database for PostgreSQL flexible server.

Important

On-demand backups are automatically deleted, according to your configured backup retention period. However, you can manually delete them earlier if they’re no longer needed.

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, under the Settings section, select Backup and restore.

  3. In Backup type, select On-demand if you want to only see the on-demand backups which are still available to be restored.

  4. Identify the on-demand backup that you want to delete. Then, under the Actions column, select Delete.

  5. A dialog asks for confirmation before the irreversible operation is initiated. Select Delete if you want to initiate the permanent deletion of that particular on-demand backup.

  6. A notification informs you that the on-demand backup is being deleted.

  7. Upon successful completion, a notification informs you that the on-demand backup is deleted.

You can delete any of the currently available on-demand backups of a server via the az postgres flexible-server backup delete command.

az postgres flexible-server backup delete \
  --resource-group <resource_group> \
  --name <server> \
  --backup-name <backup>

If you run the previous command, it requires you to explicitly confirm, responding with a y (yes):

Are you sure you want to delete the backup '<backup>' in server '<server>'

If you want to run the command without needing the user interaction, you can add the --yes parameter like this:

az postgres flexible-server backup delete \
  --resource-group <resource_group> \
  --name <server> \
  --backup-name <backup> \
  --yes

Note

If you provide the name that doesn't match any of the available on-demand backups, the command doesn't report any error.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4