mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:13:09 +02:00
Create backup.fr.md (#3342)
* Create backup.fr.md Create backup.fr.md * Fix typo Fix typo
This commit is contained in:
parent
389315e000
commit
28ccb14166
2 changed files with 23 additions and 1 deletions
22
docs/backup.fr.md
Normal file
22
docs/backup.fr.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Comment faire une sauvegarde de votre Misskey ?
|
||||||
|
==========================
|
||||||
|
|
||||||
|
Assurez-vous d'avoir installé **mongodb-tools**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Dans votre terminal :
|
||||||
|
``` shell
|
||||||
|
$ mongodump --archive=db-backup -u <VotreNomdUtilisateur> -p <VotreMotDePasse>
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour plus de détails, merci de consulter [la documentation de mongodump](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
||||||
|
|
||||||
|
Restauration
|
||||||
|
-------
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
$ mongorestore --archive=db-backup
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour plus de détails, merci de consulter [la documentation de mongorestore](https://docs.mongodb.com/manual/reference/program/mongorestore/).
|
|
@ -10,7 +10,7 @@ In your shell:
|
||||||
$ mongodump --archive=db-backup -u <YourUserName> -p <YourPassword>
|
$ mongodump --archive=db-backup -u <YourUserName> -p <YourPassword>
|
||||||
```
|
```
|
||||||
|
|
||||||
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
For details, please see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
||||||
|
|
||||||
Restore
|
Restore
|
||||||
-------
|
-------
|
||||||
|
|
Loading…
Reference in a new issue