Skip to content

A very simplistic container to perform periodic backups of an adjacent mongo container

Notifications You must be signed in to change notification settings

itzg/docker-mongo-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simplistic container to perform periodic backups of an adjacent mongo container.

Environment Variables

  • HOST (default: localhost) : the hostname of the mongodb server to backup
  • PREFIX (default: mongodb) : the prefix part of the backup archive filename. The name will also include a date-time field.
  • INTERVAL (default: 86400) : the number of seconds between each backup that will be taken. If set to zero, then the container will run the process once and exit. This is useful when running as a Kubernetes CronJob

Volumes

  • /backups : this where the script will place the backup archives by default

About

A very simplistic container to perform periodic backups of an adjacent mongo container

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published