backup script
This commit is contained in:
parent
859c1adf38
commit
2c65402193
3
backup
3
backup
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Setting this, so the repo does not need to be given on the commandline:
|
# 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.
|
# See the section "Passphrase notes" for more infos.
|
||||||
export BORG_PASSPHRASE=''
|
export BORG_PASSPHRASE=''
|
||||||
|
|
Loading…
Reference in New Issue