This commit is contained in:
Georg Krause 2022-01-04 18:38:37 +01:00
parent a9b97ba345
commit 276702654a
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ If you are running the All-in-One-Container since a longer time, you probably ne
Make sure the Funkwhale version is set to `1.1.4` in `docker-compose.yml`. Now you can run this command to dump the database into a file:
`docker-compose exec -t funkwhale pg_dump -c -U funkwhale > "db.dump"`
`docker-compose exec -T funkwhale pg_dump -c -U funkwhale > "db.dump"`
Now you can update the Funkwhale version in `docker-compose.yml` to `1.2.0`. Additionally you should save your `data` directory, eg by running `mv data data.bak && mkdir data`. Stop Funkwhale and start it again with the new version, by using `docker-compose down && docker-compose up -d`. This will initialize a fresh DB and applies all migrations. Now you can restore your database with the following command: `cat db.dump | docker-compose exec -t funkwhale psql -U funkwhale`. Thats it, enjoy!