scripts

Scripts for general automations
git clone git://git.laack.co/scripts.git
Log | Files | Refs

commit 1d097d87018e4fb9cbc188c8b6db54d09a06658d
parent efe3a61fe5ab77259ee67478487bf9a88f7fa6a2
Author: Andrew Laack <andrew@laack.co>
Date:   Tue, 12 May 2026 19:25:02 -0500

Encrypted backups via tar compressed pipe using sshfs to mount juicefs backed datastore

Diffstat:
Abackups/encrypted-backup.sh | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/backups/encrypted-backup.sh b/backups/encrypted-backup.sh @@ -0,0 +1,7 @@ +#!/bin/bash +NOW=$(date +%s) + + +sudo umount -l $HOME/backup +sshfs root@andrew-1.selfhost.imbue.com:/home/host/.openhost/local_compute_space/app_archive/backup $HOME/backup +tar -czf - $HOME/personal-files | gpg -c --batch --yes --passphrase "$ENCRYPTION_PW" -o $HOME/backup/personal-files-$NOW.tar.gz.gpg