improve backup restore #85

Closed
opened 2026-10-14 15:19:38 +00:00 by jkeffects · 0 comments
Owner

Backup restore: restore dialog with modes and preview (frontend)

Right away (no backend change needed)

  • Add a hint to RestoreBackupModal: "Existing entries are reset to the backup state"

Restore modes

  • Mode selection (Reset / Insert missing / Merge if kept), with a clear explanation of each
  • Send mode instead of keepNewerData (store + view model)

Preview & confirmation

  • Show the preview before restoring: new / changed / deleted per table
  • Highlight cascade deletions in other tables, require confirmation
  • Show unique conflicts, with a choice between skip and abort
  • Show missing files and tables / schema differences missing from the backup
  • Explicit confirmation for differing migration versions

Partial restore

  • Table selection: mark the parent tables (only filled in) and child tables (affected) that come along

Backup overview

  • Show restore points separately from regular backups
  • Settings for rotation (daily / weekly / monthly)

After the restore

  • Result summary (counts, skipped conflicts, missing files)
## Backup restore: restore dialog with modes and preview (frontend) ### Right away (no backend change needed) - [ ] Add a hint to `RestoreBackupModal`: "Existing entries are reset to the backup state" ### Restore modes - [ ] Mode selection (Reset / Insert missing / Merge if kept), with a clear explanation of each - [ ] Send `mode` instead of `keepNewerData` (store + view model) ### Preview & confirmation - [ ] Show the preview before restoring: new / changed / deleted per table - [ ] Highlight cascade deletions in other tables, require confirmation - [ ] Show unique conflicts, with a choice between skip and abort - [ ] Show missing files and tables / schema differences missing from the backup - [ ] Explicit confirmation for differing migration versions ### Partial restore - [ ] Table selection: mark the parent tables (only filled in) and child tables (affected) that come along ### Backup overview - [ ] Show restore points separately from regular backups - [ ] Settings for rotation (daily / weekly / monthly) ### After the restore - [ ] Result summary (counts, skipped conflicts, missing files)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FF-Admin/ff-admin-core#85
No description provided.