From eb3262b9419afcdcd1761c53d47cd220a04cd07d Mon Sep 17 00:00:00 2001 From: Daniel Hunsaker Date: Fri, 16 Feb 2018 09:10:01 -0700 Subject: [PATCH] [Nanobox] Fix backups for file storage (#6483) --- boxfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxfile.yml b/boxfile.yml index 6b904e07d6b..d36a272e722 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 |