mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 12:53:08 +02:00
28ccb14166
* Create backup.fr.md Create backup.fr.md * Fix typo Fix typo
22 lines
480 B
Markdown
22 lines
480 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, please 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/).
|