Skip to content

camomile-project/camomile-backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camomile-backup

Backup Camomile MongoDB to FTP server as a cron task

Usage

Attach a mongo container to this container.

docker run -d \
	-e CRON_SCHEDULE="0 12 * * *"     # cron job schedule
	-e FTP_SERVER=ftp.backup.com      # FTP server
	-e FTP_USER=login                 # FTP login
	-e FTP_PASSWORD=p4s5w0rd          # FTP password
	--link my-mongo-container:mongo	  # linked container with running mongo
	camomile/backup

About

Docker image with mongodump running as a cron task

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%