This commit is contained in:
Jeffrey Paul 2019-03-20 18:01:13 -07:00
parent e044c08c36
commit 868381fd01
3 changed files with 13 additions and 3 deletions

10
bin/unlock-las1 Executable file
View File

@ -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"

View File

@ -33,9 +33,9 @@ mailoffsite: imapbackup
mv $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz.new \ mv $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz.new \
$(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz
databackup: dvbackup imapbackup databackup:
brew list > $(HOME)/.brewinstalled brew list > $(HOME)/.brewinstalled
backup.command ~/dev/hacks/bin/backup.command
cleanup: cleanup:
-mkdir -p $(HOME)/Documents/$(YYYYMM) -mkdir -p $(HOME)/Documents/$(YYYYMM)

View File

@ -20,7 +20,7 @@ RSYNC="$HOME/Library/Homebrew/bin/rsync"
#OPTS="-rlptDPSyzh --numeric-ids --no-owner --no-group --delete-excluded --delete" #OPTS="-rlptDPSyzh --numeric-ids --no-owner --no-group --delete-excluded --delete"
OPTS="" OPTS=""
OPTS+=" -avP --skip-compress=$RSYNC_SKIP_COMPRESS" 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=""
RE+=" --exclude=/.minikube/cache/" RE+=" --exclude=/.minikube/cache/"