manual tracing for Upload

This commit is contained in:
Luke Berndt
2024-02-04 10:54:40 -05:00
parent f58e21bf43
commit 34d5550d5f
5 changed files with 260 additions and 168 deletions

View File

@@ -242,14 +242,14 @@ It is a huge pain to upgrade MongoDB in place. It turns out to be easier to dump
Rough Playbook (use common sense, I may not have this exact):
- get into the shell of the mongo container
- `mongodump --db scanner —out /data/db/backup`
- `mongodump --uri="mongodb://127.0.0.1" --db scanner --out /data/db/backup`
- exit contianer and go back to host machine
- `cd data/db`
- `rm *` erase everything... but not the sub-directories because that is where the backup is
- upgrade to the latest version of mongo
- build and launch the mongo container, which will create an empty DB
- get into the shell of the mongo container
- `mongorestore --db scanner --drop /data/db/backup/`
- `mongorestore --db scanner --drop /data/db/backup/scanner`
### Privlege Port Error