2017-09-07 07:24:32 +03:00
|
|
|
How to backup your Misskey
|
|
|
|
==========================
|
|
|
|
|
2017-09-07 07:26:15 +03:00
|
|
|
Make sure **mongodb-tools** installed.
|
|
|
|
|
2017-09-07 07:26:22 +03:00
|
|
|
---
|
2017-09-07 07:26:15 +03:00
|
|
|
|
2017-09-07 07:23:47 +03:00
|
|
|
In your shell:
|
|
|
|
``` shell
|
|
|
|
$ mongodump --archive=db-backup
|
|
|
|
```
|
|
|
|
|
2017-09-07 07:28:57 +03:00
|
|
|
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
|
|
|
|
2017-09-07 07:25:47 +03:00
|
|
|
Restore
|
|
|
|
-------
|
|
|
|
|
|
|
|
``` shell
|
|
|
|
$ mongorestore --archive=db-backup
|
|
|
|
```
|
2017-09-07 07:28:57 +03:00
|
|
|
|
|
|
|
For details, please see [mongorestore docs](https://docs.mongodb.com/manual/reference/program/mongorestore/).
|