improve backup restore #76
Labels
No labels
backport
bug
feature
feature
backlog
feature
optional
no-backport
no-e2e
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
FF-Admin/ff-admin-core-server#76
Loading…
Reference in a new issue
No description provided.
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?
Backup restore: define and implement correct restore behavior (backend)
Restore currently upserts the backup rows and, unless
keepNewerDatais set, then deletes everything that isn't in the backup. Changed entries are reset to the backup state in both modes. There is no way to just bring back deleted entries, and unique conflicts abort the whole restore.Restore modes
ON CONFLICT DO NOTHING)keepNewerData): decide whether to compare byupdatedAt, drop the mode, or mark it as a special casekeepNewerDatawithmodeand keep the old flag working (it maps to merge)Scope / partial restore
Process
Backup creation & retention
REPEATABLE READtransactionFiles
Full recovery
pg_dumpplus a file archive (restore, then run migrations)Rollout
mission_tmp_binary)