Backup postgres database to Azure blob storage

F Ahmed 36 Reputation points

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.
1,704 questions
Azure Database for PostgreSQL
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,231 Reputation points


    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

    Best regards,

  2. sakuraime 2,286 Reputation points

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

    0 comments No comments