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:
parent
de80516722
commit
d126f74d35
3 changed files with 24 additions and 15 deletions
|
@ -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}
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue