Skip to content

A Golang Program that backups an Azure Postgresql Database Server and uploads the backup files to an Azure Blob Storage Container.

Notifications You must be signed in to change notification settings

Ola-Daniel/psql-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a Golang Program that backups an Azure Postgresql Database Server and uploads the backup files to an Azure Blob Storage Container.

Note: Required Parameters are passed to the program through environment variables, these are required to successfully run the program.

Required Parameters
DB_PORT : Port where Database Server is running on
DB_USER : Database Username
DB_PASSWORD : Database Password
DB_NAME : Database Name
BACKUP_DIR : Directory to store backup data
ACCOUNT_NAME : Azure Storage Account Name
ACCOUNT_KEY : Azure Storage Account Key
CONTAINER_NAME : Storage Account Container to store backup data files
BACKUP_TIME : Time to initiate backup daily in this format "15:30"

About

A Golang Program that backups an Azure Postgresql Database Server and uploads the backup files to an Azure Blob Storage Container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages