Skip to content

Commit 0c6d132

Browse files
Fix merge conflict
2 parents 3bb5698 + 88ed661 commit 0c6d132

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
def config(parser):
88
parser.add_argument("--oplog.compression", dest="oplog.compression", choices=["none", "gzip"], default="none",
99
help="Compression method to use on captured oplog file (default: none)")
10-
parser.add_argument("--oplog.flush.max_docs", dest="oplog.flush.max_docs", default=1000, type=int,
11-
help="Maximum number of oplog document writes to trigger a flush of the backup oplog file (default: 1000)")
10+
parser.add_argument("--oplog.flush.max_docs", dest="oplog.flush.max_docs", default=100, type=int,
11+
help="Maximum number of oplog document writes to trigger a flush of the backup oplog file (default: 100)")
1212
parser.add_argument("--oplog.flush.max_secs", dest="oplog.flush.max_secs", default=1, type=int,
1313
help="Number of seconds to wait to flush the backup oplog file, if 'max_docs' is not reached (default: 1)")
1414
parser.add_argument("--oplog.resolver.threads", dest="oplog.resolver.threads", default=0, type=int,

0 commit comments

Comments
 (0)