Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit eb3262b

Browse files
danhunsakerGargron
authored andcommitted
[Nanobox] Fix backups for file storage (mastodon#6483)
1 parent 9dbae6e commit eb3262b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boxfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ data.storage:
234234
- id: backup
235235
schedule: '0 3 * * *'
236236
command: |
237-
tar cz -C /data/var/db/unfs/ |
237+
tar cz -C /data/var/db/unfs/ . |
238238
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 @- &&
239239
curl -k -s -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/ |
240240
json_pp |

0 commit comments

Comments
 (0)