Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

SimpliField/ansible-mongo-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongo backup Build Status Ansible Role

Setup daily mongodb backups

Requirements

Need ansible 2+

Role Variables

mongo_backup_path: "/data/db/backups/"
mongo_backup_db: ""
mongo_backup_hour: "0"
mongo_backup_minute: "5"
mongo_backup_gzip: false

Dependencies

There is no dependencies. OFC Mongodb should be installed !

Example Playbook

- hosts: servers
  roles:
  - { role: simplifield.mongo_backup, mongo_backup_db: dev_db }
  - { role: simplifield.mongo_backup, mongo_backup_db: dev_db2 }

License

BSD