Mount the storagebox over sshfs with public key file
Mount a gocryptfs folder, with supplied key on local file
Rsync my stuff to the encrypted folder
Unmounts in reverse order
I can access the storagebox by password, too. So this is my disaster recovery in case my house burns down with all my devices. I’ll just buy another laptop the next day, and me and the Mrs can admire all my code and our wedding videos within a few hours.
I have a storagebox at hetzner. My script does:
I can access the storagebox by password, too. So this is my disaster recovery in case my house burns down with all my devices. I’ll just buy another laptop the next day, and me and the Mrs can admire all my code and our wedding videos within a few hours.