Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

holobuilder/docker-mongodump-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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>" \
    [-e "AZURE_ENDPOINT_SUFFIX=<endpoint suffix like core.cloudapi.de>" \]
    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

Packages

No packages published