provendb-decrypt
A command line tool to decrypt ProvenDB archives
Description
ProvenDB archives/backups are provided in encrypted files. The provendb-decrypt command decrypts these archives. See Exporting your data for more details.
Syntax
~ $ provendb-decrypt
Usage:
provendb-decrypt [flags]
Flags:
-h, --help help for provendb-decrypt
-i, --input string specify the input file path
-k, --key string specify the decryption key/password
-o, --output string specify the output file path, default to be the same as input file path with ".pw" removed
--version version for provendb-decrypt
Example
We have downloaded a ProvenDB archive with the name DJrEIT_5mau4od7PH9jVp52uqLliNMZa.gz.pw and been given a password of hcNbU-Y611gwZRhBJ1c70DSyR1Gpmh8L.
$ provendb-decrypt --input DJrEIT_5mau4od7PH9jVp52uqLliNMZa.gz.pw
--key hcNbU-Y611gwZRhBJ1c70DSyR1Gpmh8L
done
Once decrypted we can load it with mongorestore. See Exporting your data for more details.
Updated over 5 years ago
What’s Next