diff --git a/bin/unlock-las1 b/bin/unlock-las1 new file mode 100755 index 0000000..7b24bf0 --- /dev/null +++ b/bin/unlock-las1 @@ -0,0 +1,10 @@ +#!/bin/bash + +KEYFILE="$HOME/Documents/sync/secrets/luks/las1.eeqj.de.luks.txt.gpg" + +if [[ ! -e "$KEYFILE" ]]; then + echo "wrong box!" >> /dev/stderr + exit 1 +fi + +gpg -d "$KEYFILE" | ssh root@las1.local "bash /root/unlock_disks" diff --git a/homedir.makefile/Makefile b/homedir.makefile/Makefile index 337e2a6..8385a64 100644 --- a/homedir.makefile/Makefile +++ b/homedir.makefile/Makefile @@ -33,9 +33,9 @@ mailoffsite: imapbackup mv $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz.new \ $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz -databackup: dvbackup imapbackup +databackup: brew list > $(HOME)/.brewinstalled - backup.command + ~/dev/hacks/bin/backup.command cleanup: -mkdir -p $(HOME)/Documents/$(YYYYMM) diff --git a/osxbackup/rsyncbackup.command b/osxbackup/rsyncbackup.command index 7bdd526..6af8ee1 100755 --- a/osxbackup/rsyncbackup.command +++ b/osxbackup/rsyncbackup.command @@ -20,7 +20,7 @@ RSYNC="$HOME/Library/Homebrew/bin/rsync" #OPTS="-rlptDPSyzh --numeric-ids --no-owner --no-group --delete-excluded --delete" OPTS="" OPTS+=" -avP --skip-compress=$RSYNC_SKIP_COMPRESS" -OPTS+=" --numeric-ids --no-owner --no-group --delete-excluded --delete" +OPTS+=" --numeric-ids --no-owner --no-group --delete-excluded --delete-after" RE="" RE+=" --exclude=/.minikube/cache/"