view-by-distance-mklink-con.../Shared/.kanbn/tasks/import-know-faces-into-db.md
2023-08-06 18:28:52 -07:00

56 lines
888 B
Markdown

---
created: "2023-07-21T21:51:23.721Z"
updated: "2023-07-31T19:09:25.588Z"
assigned: ""
progress: 0
status: "2-Todo"
type: "kanbn"
---
# Import Know Faces Into Db
```bash
docker compose exec photoprism photoprism backup -i -f
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