How to backup and restore? #1285
Replies: 2 comments 3 replies
-
Hi! The database is definitely the most important thing. If you have uploaded your own exercise images, you will also need to backup the media volume, otherwise it will be recreated the next time you run How are you restoring the db? We're not doing any magic here |
Beta Was this translation helpful? Give feedback.
-
Hello, I use this command to backup my main wger instance:
Then use this command to restore in a separate test instance:
I don't have any uploaded images, so don't need media, static, or redis. I've checked prod.env of my test wger instance and everything there looks correctly updated as well. Restoring backups for other Postgres DB services works fine with the same command, so I'm stumped as to what I'm doing wrong for wger. Thanks for having a look. |
Beta Was this translation helpful? Give feedback.
-
What's the right way to backup and restore wger that is setup via docker-compose?
I tried the following:
dump.rdb
However, after starting up a new wger instance, none of my users or data is loaded. I don't have problems backing up and restoring my other docker-compose services. What could I be doing wrong? Has anyone else had success backing up and restoring wger?
What data is saved in Postgres vs. Redis, e.g., user accounts?
Beta Was this translation helpful? Give feedback.
All reactions