Backup postgres database to Azure blob storage

F Ahmed 36 Reputation points
2020-06-12T22:43:55.26+00:00

Is it possible to backup Azure managed postgres instance database to Azure blob storage with life cycle management policy on top of it.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,428 questions
Azure Database for PostgreSQL
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,651 Reputation points
    2020-06-13T08:19:31.407+00:00

    Hi,

    The storage pg_dump command cannot directly write the output file on a Blob Storage, but you could use Azure Files instead.

    Here's a step-by-step guide:

    Backup Azure Database for PostgreSQL to a Blob Storage
    https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/backup-azure-database-for-postgresql-to-a-blob-storage/ba-p/803343

    Best regards,
    Leon


  2. sakuraime 2,316 Reputation points
    2020-09-23T17:42:51.217+00:00

    pg_dump for on-prem postgresql can target to azure files ?

    0 comments No comments