1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-30 14:51:48 +09:00
cherrypick/docs/backup.md
2018-01-01 02:14:00 +09:00

479 B

How to backup your Misskey

Make sure mongodb-tools installed.


In your shell:

$ mongodump --archive=db-backup -u <YourUserName> -p <YourPassword>

For details, plese see mongodump docs.

Restore

$ mongorestore --archive=db-backup

For details, please see mongorestore docs.