Skip to content

Commit

Permalink
Merge branch 'master' of github.com:omics-datascience/BioAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Genarito committed Feb 8, 2024
2 parents e6fcf47 + 4cd1ffc commit f71e12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DEPLOYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Finally, if you want to create a new image of MongoDB data, you can follow the f
# ...
volumes:
# ...
- /path/in/your/computer:/app
- /path/in/your/computer:/export_data
# ...
```
Expand All @@ -156,9 +156,9 @@ Finally, if you want to create a new image of MongoDB data, you can follow the f
5. Use mongodump to export the data to a file:
```bash
mongodump --username <user> --password <pass> --authenticationDatabase admin --host localhost --port 27017 --gzip --db bio_api --archive=/app/bioapi_db.gz
mongodump --username <user> --password <pass> --authenticationDatabase admin --host localhost --port 27017 --gzip --db bio_api --archive=/export_data/bioapi_db.gz
```
**NOTE**: The process can take a few hours
La nueva imagen podra encontrarla en *"/path/in/your/computer/bioapi_db.gz"*
The new image can be found in *"/path/in/your/computer/bioapi_db.gz"*

0 comments on commit f71e12e

Please sign in to comment.