Added backup and recovery docs

This commit is contained in:
CasVT
2023-07-03 17:01:15 +02:00
parent 4186931ad9
commit 6105e9754a
2 changed files with 24 additions and 0 deletions

23
docs/backup_your_data.md Normal file
View File

@@ -0,0 +1,23 @@
# Backup your data
It's possible, and very easy, to backup all MIND data. This way, you can recover data if something goes wrong, port your instance over to an other computer or run redundant instances.
## Backing up the data
It's as simple as making a copy of the database file and storing it somewhere safe.
1. Stop MIND, if it's still running.
2. Go inside the docker volume of the container (most likely `mind-db`) or the mapped folder.
3. Inside the volume/folder, you'll find the `MIND.db` file. Make a copy of this. That's all you need.
4. You can now start the instance back up.
The database file contains all data and is the only thing needed to keep a complete backup of your MIND instance.
## Recovering the data
It's as simple as putting the database file in the database folder and restarting the instance.
1. Stop MIND, if it's still running.
2. Go inside the docker volume of the container (most likely `mind-db`) or the mapped folder.
3. Inside the volume/folder, place the database file that you backed up.
4. You can now start the instance back up. Everything should be recovered.

View File

@@ -82,3 +82,4 @@ nav:
- Setup After Installation: setup_after_installation.md
- Other Docs:
- API: api.md
- Backup Your Data: backup_your_data.md