Skip to content

A Docker image performing backups via mongodump into an Azure Storage Account.

License

Notifications You must be signed in to change notification settings

alvyl/docker-mongodump-azure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mongodump-azure

A Docker image performing backups via mongodump into an Azure Storage Account.

Usage

Single-Shot-Run:

  docker run -d \
    --name mongodb-azure-backup \
    --link <mongodb container>:mongodb \
    [-e "MONGODB_HOST=<mongodb host> \]
    [-e "MONGODB_DB=<database name>" \]
    -e "AZURE_CONTAINER=<storage container name>" \
    -e "AZURE_STORAGE_ACCOUNT=<storage account name>" \
    -e "AZURE_STORAGE_KEY=<storage account key>" \
    holobuilder/mongodump-azure

Scheduling using cron:

  echo "0 3 * * * <docker user> docker start mongodb-azure-backup" > /etc/crontab

About

A Docker image performing backups via mongodump into an Azure Storage Account.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%