aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/borg-client/templates/bin/create-backup
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/borg-client/templates/bin/create-backup')
-rw-r--r--ansible/roles/borg-client/templates/bin/create-backup5
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