Skip to content

Commit

Permalink
Update backup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
evaletolab committed Oct 31, 2014
1 parent 16444ff commit 7ea40bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/backup.md
Original file line number Diff line number Diff line change
@@ -1,3 +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/```
* restore db ```mongorestore --drop -h localhost -d karibou-deve```

0 comments on commit 7ea40bb

Please sign in to comment.