1
0
Fork 1
mirror of https://example.com synced 2024-11-25 13:46:38 +09:00
firefish/docs/backup.md
2018-01-01 02:14:00 +09:00

22 lines
479 B
Markdown

How to backup your Misskey
==========================
Make sure **mongodb-tools** installed.
---
In your shell:
``` shell
$ mongodump --archive=db-backup -u <YourUserName> -p <YourPassword>
```
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/).