Skip to content

Commit

Permalink
Create backup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
evaletolab committed Oct 31, 2014
1 parent b9662e2 commit 16444ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/backup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Mongodb backup and restor
* dump database ```mongodump -h <host>:31608 -d karibou-devel -u <user> -p<pass> -o .```
* restore db ```mongorestore -h <host>:31608 -d karibou-devel -u <user> -p <pass> backups/bson.files/```

0 comments on commit 16444ff

Please sign in to comment.