view-by-distance-mklink-con.../.kanbn/tasks/import-know-faces-into-db.md

40 lines
1.2 KiB
Markdown

---
created: "2023-07-21T18:26:38.908Z"
updated: "2023-07-21T18:26:38.909Z"
assigned: ""
progress: 0
status: "2-Todo"
type: "kanbn"
---
# Import Know Faces Into Db
```bash
# locating data volumes in docker desktop windows
# https://stackoverflow.com/questions/43181654/locating-data-volumes-in-docker-desktop-windows
# phpmyadmin mariadb docker compose
# https://david.dev/how-to-install-mariadb-phpmyadmin-with-docker-compose
# https://docs.photoprism.app/user-guide/backups/
docker compose exec photoprism photoprism backup -i -f
# https://docs.photoprism.app/user-guide/backups/restore/
docker compose exec photoprism photoprism restore -i -f
```
- After changes to code:
- 50 ~230 and still has wrong
- 66 198 and still has wrong
- 75 145 and still has wrong
- 85 81 and still has wrong (Bodhi and Hudson)
- 90 50 and still has wrong (Chelsea and Hudson)
## Sub-tasks
- [x] Backup DB
- [x] Add PhpMyAdmin to docker
- [x] Restore DB
- [x] Update code 5ec29e81a095cca0bbc76161bc8ef2a60b911274 and 8282821c82025c662c1d3f45ce68fc183f231789
- [x] Run code then execute 638226889564490047-marker_name_update.sql
- [x] Re-index (NOT complete)
- [x] Execute 638226889564490047-subject_alias_update.sql
- [x] Backup DB