1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

README.md: docker import suggestion [closes #125] [closes #126] [closes #127]

This commit is contained in:
northys 2022-04-23 15:34:49 +02:00 committed by Jiri Travnicek
parent 0424fa7795
commit 519c26b8d8
No known key found for this signature in database
GPG Key ID: 49E86381006239BE

View File

@ -141,6 +141,16 @@ If you would like to import your previous scrobbles, use the command `maloja imp
* an official [Spotify data export file](https://www.spotify.com/us/account/privacy/) * an official [Spotify data export file](https://www.spotify.com/us/account/privacy/)
* the export of another Maloja instance * the export of another Maloja instance
⚠️ Never import your data while maloja is running. When you need to do import inside docker container start it in shell mode instead and perform import before starting the container as mentioned above.
```console
docker run -it --entrypoint sh -v $PWD/malojadata:/mljdata -e MALOJA_DATA_DIRECTORY=/mljdata krateng/maloja
cd /mljdata
maloja import my_last_fm_export.csv
```
---
To backup your data, run `maloja backup`, optional with `--include_images`. To backup your data, run `maloja backup`, optional with `--include_images`.
### Customization ### Customization