What is the proper way to preform backups? #216
-
Hi! What is the proper way to be able to recreate Komodo in case of disaster event such as server dies? I know I can use resource sync and git repos for my actual stacks, but how do I properly back up Komodo core? Such as users, git providers etc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You have to keep in mind a couple locations to backup:
|
Beta Was this translation helpful? Give feedback.
You have to keep in mind a couple locations to backup:
Config files: Your compose.yaml, compose.env, core.config.toml for Komodo
The Komodo database volume / folder. For Mongo users, see https://www.mongodb.com/docs/manual/core/backups/#back-up-with-filesystem-snapshots. SQLite and Postgres users can refer to backup documentation for those databases. In general this is done most reliably using database dump, although file system copy usually works too. Before copy database files directly, you should stop the database for consistency. If you don't want to stop the database, database dump won't require this, but a little more work to script.
Your Git Provider. If you use Github it's n…