misskey/docs/backup.md

19 lines
228 B
Markdown
Raw Normal View History

2017-09-07 13:24:32 +09:00
How to backup your Misskey
==========================
2017-09-07 13:26:15 +09:00
Make sure **mongodb-tools** installed.
2017-09-07 13:26:22 +09:00
---
2017-09-07 13:26:15 +09:00
2017-09-07 13:23:47 +09:00
In your shell:
``` shell
$ mongodump --archive=db-backup
```
2017-09-07 13:25:47 +09:00
Restore
-------
``` shell
$ mongorestore --archive=db-backup
```