Results 1 to 5 of 5
Hello, i have around 20 backup files tar.gz with sensitive data. The sizes of these files are from around 200MB to around 20GB I want to secure these files so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-09-2014 #1
How to encrypt / password protect big linux file?
i have around 20 backup files tar.gz with sensitive data. The sizes of these files are from around 200MB to around 20GB
I want to secure these files so no one can read, use its contents. only me
the method of encrypting, password protecting them should be fast, so for example in case of 20GB file, it wont take more than like 10 minutes of server work to "encrypt it"
it should be able to "encrypt/decrypt" them from linux command line.
Please do you have any ideas on how to do it?
- 01-09-2014 #2
- Join Date
- Dec 2013
gpg is a standard cl tool that will do it.
"man gpg" should cover it.
- 01-09-2014 #3
We used to gzip our large database files to reduce the size, then use openssl to encrypt them before moving them to offsite backup.
- 01-10-2014 #4
Thx, i tested openssl, there are examples on the internet. use SE to find. I wont use gpg because to bother generate key, unless GPG is much faster than openssl, which i dont know. Another found options: truecrypt (did not worked on my openvz vps), ccrypt
Last edited by postcd; 01-10-2014 at 10:32 AM.
- 01-17-2014 #5
You don't need to generate a key every time you encrypt a file with gpg. If you're doing that, you're doing it wrong.