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:
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, under the Settings section, select Backup and restore.
In Backup type, select On-demand if you want to only see the on-demand backups which are still available to be restored.
Identify the on-demand backup that you want to delete. Then, under the Actions column, select Delete.
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.
A notification informs you that the on-demand backup is being deleted.
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