I was in the same boat as you, I used to use backintime, great backup program but now it does not support local encryption.
My solution, which I will be including in the next ISO of DeLinuxCo is to use Duplicati.
Duplicati will encrypt your backup files into 50 MB chucks, no need to encrypt the HDD/SSD.
I have personally and professionally been using Duplicati for over 6 months and it works very well. It is completely free to use and gives you I believe 200 days of backups, anything longer you have to pay.
The current Linux Version requires you generating a secret key in your home .config directory, the next version, due out in a couple of weeks will use libsecret automatically.
Currently Duplicati is in the AUR and it lacks some desktop integration, and so I have this non-signed package that I compiled if the AUR seems a bit complicated. https://repo.delinuxco.com/testing/x86_64/duplicati-bin-2.2.0.3-1-x86_64.pkg.tar.zst
DO NOT Set this up in production until you have tested everything.
- Install duplicati-bin 2.2.0.3
- start duplicati in order to generate the config directory
- close/quit duplicati from the systray
- open directory ~/.config/Duplicati
- create a file ~/.config/Duplicati/preload.json
- add the this to the file:
{
"env": {
"*": {
"SETTINGS_ENCRYPTION_KEY": "add your key here"
}
}
}
Open your terminal and run this command to generate a key:
openssl rand -base64 14
This will generate a random key, replaced the text in the “add your key here” with the key generated, be sure to keep the quotes, save the file.
Start Duplicati and it should ask you to “Change Passphrase”, do it and you are done.
You can now back up fully encrypted backs to your local drives, network shares or cloud such as S3, Digital Ocean Spaces, SSH, FTP etc.