Hi @Anonymous Thanks for posting your question in Microsoft Q&A
I understand you want to know how to automate the backup process and save the backup file in the storage account file share.
You need to automate the move from cloud drive to Blog storage using Azure functions or scripts, to create a timer-triggered function that runs the pg_dump command at a specified interval. You can then save the backup file to an Azure Storage account file share using the Azure Storage SDK for Python.
On the backup you follow this blog https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/backup-azure-database-for-postgresql-to-a-blob-storage/ba-p/803343
you can also refer to this forum https://stackoverflow.com/questions/68950554/how-to-use-az-cli-or-bash-inside-azure-function-app/68983039#68983039
Regards
Geetha