Bearbeiten

Freigeben über


On-demand backups (Preview)

APPLIES TO: Azure Database for PostgreSQL - Flexible Server

This article provides step-by-step instructions to operate with 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.

Perform on-demand backups

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.

    Screenshot showing the Backup and restore page.

  3. Select Backup now.

    Screenshot showing the Backup now button in the Backup and restore page.

  4. In the Take backup pane, the Backup name text box is prefilled with a unique name automatically generated for your backup. Feel free to change that name to any name of your preference.

    Screenshot showing the Take backup pane and highlighting the text box in which you have to provide the backup name.

  5. Select Trigger.

    Screenshot showing the Trigger button.

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

    Screenshot showing the notification informing that on-demand backup is initiated.

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

    Screenshot showing the notification informing that on-demand backup is completed.

Note

Under any of the following circumstances, you receive an InternalServerError:

  • If another on-demand backup with the same name already exists in that server.
  • If another on-demand backup is being taken, and isn't completed yet.

List on-demand backups

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.

    Screenshot showing the Backup and restore page with some automatic and on-demand backups available.

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

    Screenshot showing how to filter the list of backups to only display on-demand backups.

Delete on-demand backups

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.

    Screenshot showing the Backup and restore page with some automatic and on-demand backups available.

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

    Screenshot showing how to filter the list of backups to only display on-demand backups.

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

    Screenshot showing how to delete an on-demand backup.

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

    Screenshot showing the notification informing that on-demand backup is being deleted.

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

    Screenshot showing the notification informing that on-demand backup is deleted.