mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-16 15:07:36 -07:00
22 lines
443 B
Markdown
22 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/).
|