backup script

This commit is contained in:
Eric Lay 2023-06-17 06:54:10 -05:00
parent 859c1adf38
commit 2c65402193
1 changed files with 2 additions and 1 deletions

3
backup
View File

@ -1,7 +1,8 @@
#!/bin/sh
# Setting this, so the repo does not need to be given on the commandline:
export BORG_REPO=ez@reposerver:/backup/stinkpad
machine="$( hostnamectl --static )"
export BORG_REPO="ez@reposerver:/backup/$machine"
# See the section "Passphrase notes" for more infos.
export BORG_PASSPHRASE=''