This commit is contained in:
@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Setting this, so the repo does not need to be given on the commandline:
|
||||
PUSH_KEY={{ backup.pushkey }}
|
||||
PUSH_KEY={{ pushkey }}
|
||||
|
||||
# See the section "Passphrase notes" for more infos.
|
||||
export BORG_PASSPHRASE='{{ backup.password }}'
|
||||
export BORG_REPO=ssh://{{ backup.remote.user }}@{{ backup.remote.url }}
|
||||
export BORG_RSH='ssh -i /root/.ssh/storagebox'
|
||||
export BORG_PASSPHRASE='{{ password }}'
|
||||
export BORG_REPO='{{ repo }}'
|
||||
export BORG_RSH='ssh -i /root/.ssh/borgbackup'
|
||||
|
||||
# some helpers and error handling:
|
||||
info() { printf "\n%s %s\n\n" "$( date )" "$*" >&2; }
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
# Setting this, so the repo does not need to be given on the commandline:
|
||||
# See the section "Passphrase notes" for more infos.
|
||||
export BORG_PASSPHRASE='{{ backup.password }}'
|
||||
export BORG_REPO=ssh://{{ backup.remote.user }}@{{ backup.remote.url }}
|
||||
export BORG_RSH='ssh -i /root/.ssh/storagebox'
|
||||
export BORG_PASSPHRASE='{{ password }}'
|
||||
export BORG_REPO='{{ repo }}'
|
||||
export BORG_RSH='ssh -i /root/.ssh/borgbackup'
|
||||
|
||||
{% if provision.from_backup.name is defined %}
|
||||
RESTORE_FROM={{ provision.from_backup.name }}
|
||||
|
Reference in New Issue
Block a user