`encfs` certainly looks like a viable option, but as someone who tends to understand things by reading documentation and walk-throughs, there's just no comparison between the docs for encfs and restic.I think the tidiest solution is to use encfs so it creates a virtual drive which the encrypted version and you rsync/backup from that encrypted virtual drive.
Right now I just need to figure out how to not store the restic repo password in my bash script. Not really a massive issue because it's stored on my computer, but it's wrong in principle. I hope there's a workaround because this script will do a backup via a cronjob every day.
Code:
#!/bin/bash...DESTINATION_IP="10.0.0.100"DESTINATION_USERNAME="pi"REPO_NAME="test-backup_-/v1"REPO_PASSWORD="tester123"DESTINATION="sftp:${DESTINATION_USERNAME}@${DESTINATION_IP}:${REPO_NAME}"export RESTIC_PASSWORD=${REPO_PASSWORD}export RESTIC_REPOSITORY=${DESTINATION}...
Statistics: Posted by bassamanator — Tue Apr 23, 2024 5:11 pm