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

Latest commit

 

History

History
41 lines (30 loc) · 866 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 866 Bytes

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