view-by-distance-mklink-con.../.kanbn/tasks/import-know-faces-into-db.md
2023-06-24 22:03:03 -07:00

39 lines
1.2 KiB
Markdown

---
created: 2023-06-12T15:44:11.932Z
updated: 2023-06-12T15:45:59.891Z
assigned: ""
progress: 0
tags: []
---
# 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