about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hunsaker <danhunsaker@gmail.com>2018-02-16 09:10:01 -0700
committerEugen Rochko <eugen@zeonfederated.com>2018-02-16 17:10:01 +0100
commiteb3262b9419afcdcd1761c53d47cd220a04cd07d (patch)
treebc92a3c2997bacb4821ea01f52cfea330a1bea3b
parent9dbae6e8a120fc18fdc007503375b53f6b061b8f (diff)
[Nanobox] Fix backups for file storage (#6483)
-rw-r--r--boxfile.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/boxfile.yml b/boxfile.yml
index 6b904e07d..d36a272e7 100644
--- a/boxfile.yml
+++ b/boxfile.yml
@@ -234,7 +234,7 @@ data.storage:
     - id: backup
       schedule: '0 3 * * *'
       command: |
-        tar cz -C /data/var/db/unfs/ |
+        tar cz -C /data/var/db/unfs/ . |
         curl -k -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/backup-${HOSTNAME}-$(date -u +%Y-%m-%d.%H-%M-%S).tgz --data-binary @- &&
         curl -k -s -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/ |
         json_pp |