No backup, restore or upgrade guidance anywhere in the README #210
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Grepping the 1990-line README for
backup|restore|upgrade|migrationfinds nothing on any of them.An operator deploying this has no answer to: which files must I back up, can I copy them while the service is running, how do I restore, and what happens to my data when I pull a newer image. Schema changes ride on GORM
AutoMigrate(internal/database/database.go:179-191) with no schema versioning and no rollback path, so a downgrade after an upgrade has undefined behaviour and nothing says so.The state is not in one file, which is the part that most needs writing down:
webhooker.dbplus oneevents-{id}.dbper webhook plusarchive-{id}.dbfor database targets, all underDATA_DIR.Definition of done — a README section covering:
.backup, or stop-copy-start)AutoMigrateruns on start, back up first, downgrade is unsupported — stated plainly rather than impliedDocs-only, so it skips the adversarial review gate, but it does not skip
make fmt.