diff options
Diffstat (limited to 'ansible/roles/borg-client/templates/bin')
-rw-r--r-- | ansible/roles/borg-client/templates/bin/create-backup | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/borg-client/templates/bin/create-backup b/ansible/roles/borg-client/templates/bin/create-backup index cf75edf..c3e249d 100644 --- a/ansible/roles/borg-client/templates/bin/create-backup +++ b/ansible/roles/borg-client/templates/bin/create-backup @@ -12,12 +12,15 @@ cmd=() cmd+=(borg create) cmd+=(--stats) #cmd+=(--progress) -cmd+=(--json) +#cmd+=(--json) cmd+=(--exclude-from=/etc/borg/excludes) cmd+=(--patterns-from=/etc/borg/patterns) cmd+=(::'{hostname}-{now:%Y-%m-%dT%H:%M:%S}') +echo BORG_RSH=$BORG_RSH echo BORG_REPO=$BORG_REPO set -x time "${cmd[@]}" + +borg info --short --last 1 |