logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: eb3262b9419afcdcd1761c53d47cd220a04cd07d
parent: 9dbae6e8a120fc18fdc007503375b53f6b061b8f
Author: Daniel Hunsaker <danhunsaker@gmail.com>
Date:   Fri, 16 Feb 2018 09:10:01 -0700

[Nanobox] Fix backups for file storage (#6483)


Diffstat:

Mboxfile.yml2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 |