1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-28 05:28:10 +09:00
hotomoe/docs/backup.md
こぴなたみぽ 8b60f7c6a2 Update backup.md
2017-09-07 13:28:57 +09:00

23 lines
443 B
Markdown

How to backup your Misskey
==========================
Make sure **mongodb-tools** installed.
---
In your shell:
``` shell
$ mongodump --archive=db-backup
```
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
Restore
-------
``` shell
$ mongorestore --archive=db-backup
```
For details, please see [mongorestore docs](https://docs.mongodb.com/manual/reference/program/mongorestore/).