Skip to content

Commit 88ed661

Browse files
authored
Merge pull request #229 from timvaillancourt/1.2.0-README-fixes-v0
1.2.0 README + Config Default Typo fixes v2
2 parents bc54ce7 + 86b468e commit 88ed661

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Features
3535
- `Nagios NSCA <https://sourceforge.net/p/nagios/nsca>`__ push
3636
notification support (*optional*)
3737
- Modular backup, archiving, upload and notification components
38-
- Rotation of backups by time or count
3938
- Support for MongoDB Authentication and SSL database connections
39+
- Support for Read Preference Tags for selecting specific nodes for backup
4040
- Rotation of backups by time or count
4141
- Multi-threaded, single executable
4242
- Auto-scales to number of available CPUs by default
@@ -81,7 +81,7 @@ To build an CentOS/RedHat RPM of the tool *(recommended)*:
8181
::
8282

8383
$ cd /path/to/mongodb_consistent_backup
84-
$ sudo yum install -y rpm-build
84+
$ yum install -y rpm-build
8585
$ make rpm
8686

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

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

conf/mongodb-consistent-backup.example.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ production:
1818
# mongodump:
1919
# binary: [path] (default: /usr/bin/mongodump)
2020
# compression: [auto|none|gzip] (default: auto - enable gzip if supported)
21+
# threads: [1-16] (default: auto-generated, shards/cpu)
2122
#rotate:
2223
# max_backups: [1+]
2324
# max_days: [0.1+]
24-
# threads: [1-16] (default: auto-generated, shards/cpu)
2525
#replication:
2626
# max_lag_secs: [1+] (default: 10)
2727
# min_priority: [0-999] (default: 0)

mongodb_consistent_backup/Oplog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
def config(parser):
88
parser.add_argument("--oplog.compression", dest="oplog.compression", help="Compression method to use on captured oplog file (default: none)", choices=["none", "gzip"], default="none")
9-
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)
9+
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)
1010
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)
1111
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)
1212
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)

0 commit comments

Comments
 (0)