1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

Fixed backup, updated backup docu (#430)

* Fixed backup, updated docu

* reformatted
This commit is contained in:
Kevin Grossmann 2021-06-05 03:27:48 +02:00 committed by GitHub
parent de80516722
commit d126f74d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 15 deletions

View file

@ -38,16 +38,24 @@ curl -X 'POST' \
"settings": true,
"themes": true
},
"template": [
"templates": [
"recipes.md"
]
}'
```
### wget Example
Download a backup with `wget`
First request a file token with curl:
```bash
wget http://localhost:9000/api/backups/{file_name}/download
curl -X 'GET' \
'http://localhost:9000/api/backups/{file_name}/download' \
-H 'accept: application/json' \
-H 'Content-Type: application/json'
```
Then download the file with wget:
```bash
wget http://localhost:9000/api/utils/download?token={fileToken}
```