We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
The following config file works as expected except the rotate option :
production: host: localhost port: 27017 username: admin password: xxxx ssl: enabled: true insecure: true client_cert_file: /etc/ssl/xxxxxx.pem log_dir: /var/log/mongodb-consistent-backup backup: method: mongodump name: default location: /var/lib/mongodb-consistent-backup rotate: max_backups: 2 archive: method: tar notify: method: none upload: method: none
The log indicates :
[2018-01-23 17:15:11,566] [INFO] [MainProcess] [Stage:run:95] Completed running stage mongodb_consistent_backup.Archive with task Tar in 2.02 seconds [2018-01-23 17:15:11,572] [INFO] [MainProcess] [Rotate:rotate:57] Backup rotation is disabled, skipping [2018-01-23 17:15:11,573] [INFO] [MainProcess] [Rotate:symlink:83] Updating default latest symlink to current backup path: /var/lib/mongodb-consistent-backup/default/20180123_1714 [2018-01-23 17:15:11,573] [INFO] [MainProcess] [Rotate:symlink:89] Updating default previous symlink to: /var/lib/mongodb-consistent-backup/default/20180123_1713 [2018-01-23 17:15:11,574] [INFO] [MainProcess] [Main:run:461] Completed mongodb-consistent-backup in 22.12 sec
Regards,
Thomas
The text was updated successfully, but these errors were encountered:
Hi,
As a workaround, i do :
mongodb-consistent-backup --config /path/config --rotate.max_backups X
Sorry, something went wrong.
Thanks @tferriez, could I get your output from:
mongodb-consistent-backup --version
Thanks
Here is the output :
mongodb-consistent-backup version: 1.2.0, git commit hash: b5f47d3 Python version: 2.7.5 Python modules: Fabric: 1.14.0 pymongo: 3.6.0 multiprocessing: 0.70a1 yaml: 3.12 boto: 2.48.0 filechunkio: 1.8
It seams the same problem occurs with the log dir option
mongdb-consistent-backup version 1.3.0 is not affected by this bug.
No branches or pull requests
Hello,
The following config file works as expected except the rotate option :
production:
host: localhost
port: 27017
username: admin
password: xxxx
ssl:
enabled: true
insecure: true
client_cert_file: /etc/ssl/xxxxxx.pem
log_dir: /var/log/mongodb-consistent-backup
backup:
method: mongodump
name: default
location: /var/lib/mongodb-consistent-backup
rotate:
max_backups: 2
archive:
method: tar
notify:
method: none
upload:
method: none
The log indicates :
[2018-01-23 17:15:11,566] [INFO] [MainProcess] [Stage:run:95] Completed running stage mongodb_consistent_backup.Archive with task Tar in 2.02 seconds
[2018-01-23 17:15:11,572] [INFO] [MainProcess] [Rotate:rotate:57] Backup rotation is disabled, skipping
[2018-01-23 17:15:11,573] [INFO] [MainProcess] [Rotate:symlink:83] Updating default latest symlink to current backup path: /var/lib/mongodb-consistent-backup/default/20180123_1714
[2018-01-23 17:15:11,573] [INFO] [MainProcess] [Rotate:symlink:89] Updating default previous symlink to: /var/lib/mongodb-consistent-backup/default/20180123_1713
[2018-01-23 17:15:11,574] [INFO] [MainProcess] [Main:run:461] Completed mongodb-consistent-backup in 22.12 sec
Regards,
Thomas
The text was updated successfully, but these errors were encountered: