From 519c26b8d8da2bd1dbed024c58b9b419d7272909 Mon Sep 17 00:00:00 2001 From: northys Date: Sat, 23 Apr 2022 15:34:49 +0200 Subject: [PATCH] README.md: docker import suggestion [closes #125] [closes #126] [closes #127] --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5be8caf..80c329d 100644 --- a/README.md +++ b/README.md @@ -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/) * 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`. ### Customization