MongoDB Hook not found #526
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#526
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am trying to configure mongodb_databases hook
Steps to reproduce
contents of /etc/borgmatic/config.yaml (sanitized)
then I run the command
borgmatic --verbosity 2 --files
Actual behavior
Expected behavior
Command should have performed a backup
Other notes / implementation ideas
MongoDb Command Line Tools installed
MongoDB Version 5.0.7
Environment
borgmatic version: 1.5.1
borgmatic installation method: Debian package
Borg version: borg 1.1.15
Python version: Python 3.8.10
Database version (if applicable): MongoDB 5.7.0
operating system and version: Ubuntu 20.04
The MongoDB hook was added in borgmatic 1.5.22. So it looks like it's time to upgrade if you'd like to use it! Alternatively, if you can't upgrade for whatever reason, you can manually dump the database yourself within borgmatic's
before_backup
hook.Hope that helps!
Great! I installed borgmatic with apt and the last version there is 1.5.1. Installing it again with pip got me 1.6.0 which works like a charm, thanks a lot!
Awesome, glad to hear it!