Open sebastian-65 opened 6 years ago
Some backups should be encrypted. It would be handy if there would be a variable with GPG public key ID that script uses to encrypt the backups right away.
You might use: gpg --trust-model always --batch --yes -ea -r $PUBKEY $OUTPUT
gpg --trust-model always --batch --yes -ea -r $PUBKEY $OUTPUT
Where pubkey might be e.g. PUBKEY=D6F3D9BB. It might be parameter as well.
PUBKEY=D6F3D9BB
I'm afraid that that is too user-specific as some people might use different encryption algorithm. You may modify the script to satisfy your needs.
Some backups should be encrypted. It would be handy if there would be a variable with GPG public key ID that script uses to encrypt the backups right away.
You might use:
gpg --trust-model always --batch --yes -ea -r $PUBKEY $OUTPUT
Where pubkey might be e.g.
PUBKEY=D6F3D9BB
. It might be parameter as well.