latest
This commit is contained in:
parent
e044c08c36
commit
868381fd01
10
bin/unlock-las1
Executable file
10
bin/unlock-las1
Executable 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"
|
@ -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)
|
||||||
|
@ -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/"
|
||||||
|
Loading…
Reference in New Issue
Block a user