Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Features
- `Nagios NSCA <https://sourceforge.net/p/nagios/nsca>`__ push
notification support (*optional*)
- Modular backup, archiving, upload and notification components
- Rotation of backups by time or count
- Support for MongoDB Authentication and SSL database connections
- Support for Read Preference Tags for selecting specific nodes for backup
- Rotation of backups by time or count
- Multi-threaded, single executable
- Auto-scales to number of available CPUs by default
Expand Down Expand Up @@ -81,7 +81,7 @@ To build an CentOS/RedHat RPM of the tool *(recommended)*:
::

$ cd /path/to/mongodb_consistent_backup
$ sudo yum install -y rpm-build
$ yum install -y rpm-build
$ make rpm

To build and install from source *(to default '/usr/local/bin/mongodb-consistent-backup')*:
Expand Down Expand Up @@ -236,7 +236,9 @@ Roadmap

- More testing: this project has many flows that probably need more in-depth testing. Please submit any bugs and/or bugfixes!
- "Distributed Mode" for running backup on remote hosts *(vs. only on one host)*
- Binary backup methods *(createBackup/Hot Backup, LVM and EBS snapshots, etc)*
- Upload compatibility for ZBackup archive phase *(upload unsupported today)*
- Support Upload with Backup Rotation *(rotated backups are not deleted on upload destination)*
- Support more notification methods *(Prometheus, PagerDuty, etc)*
- Python unit tests

Expand Down
2 changes: 1 addition & 1 deletion conf/mongodb-consistent-backup.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ production:
# mongodump:
# binary: [path] (default: /usr/bin/mongodump)
# compression: [auto|none|gzip] (default: auto - enable gzip if supported)
# threads: [1-16] (default: auto-generated, shards/cpu)
#rotate:
# max_backups: [1+]
# max_days: [0.1+]
# threads: [1-16] (default: auto-generated, shards/cpu)
#replication:
# max_lag_secs: [1+] (default: 10)
# min_priority: [0-999] (default: 0)
Expand Down
2 changes: 1 addition & 1 deletion mongodb_consistent_backup/Oplog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def config(parser):
parser.add_argument("--oplog.compression", dest="oplog.compression", help="Compression method to use on captured oplog file (default: none)", choices=["none", "gzip"], default="none")
parser.add_argument("--oplog.flush.max_docs", dest="oplog.flush.max_docs", help="Maximum number of oplog document writes to trigger a flush of the backup oplog file (default: 1000)", default=1000, type=int)
parser.add_argument("--oplog.flush.max_docs", dest="oplog.flush.max_docs", help="Maximum number of oplog document writes to trigger a flush of the backup oplog file (default: 100)", default=100, type=int)
parser.add_argument("--oplog.flush.max_secs", dest="oplog.flush.max_secs", help="Number of seconds to wait to flush the backup oplog file, if 'max_docs' is not reached (default: 1)", default=1, type=int)
parser.add_argument("--oplog.resolver.threads", dest="oplog.resolver.threads", help="Number of threads to use during resolver step (default: 1-per-CPU)", default=0, type=int)
parser.add_argument("--oplog.tailer.enabled", dest="oplog.tailer.enabled", help="Enable/disable capturing of cluster-consistent oplogs, required for cluster-wide PITR (default: true)", default='true', type=str)
Expand Down