mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Added backup and recovery docs
This commit is contained in:
23
docs/backup_your_data.md
Normal file
23
docs/backup_your_data.md
Normal 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.
|
||||
@@ -82,3 +82,4 @@ nav:
|
||||
- Setup After Installation: setup_after_installation.md
|
||||
- Other Docs:
|
||||
- API: api.md
|
||||
- Backup Your Data: backup_your_data.md
|
||||
|
||||
Reference in New Issue
Block a user