zerobyte/app/client/modules/backups/components
Eric Hess d2f65716fe
feat(mirrors): add selective snapshot sync to mirror repositories (#755)
* feat(mirrors): add selective snapshot sync to mirror repositories

Allow users to sync missing snapshots from the source repository to a
mirror. A new sync button per mirror opens a dialog showing which
snapshots are missing, with checkboxes to select which ones to copy.

- Add GET /:shortId/mirrors/:mirrorShortId/status endpoint to compare
  snapshots between source and mirror repositories
- Add POST /:shortId/mirrors/:mirrorShortId/sync endpoint accepting
  selected snapshotIds in the request body
- Extend restic copy command to accept multiple snapshotIds
- Add sync preview dialog with snapshot selection to the frontend

* refactor: stylistic changes

---------

Co-authored-by: Nicolas Meienberger <github@thisprops.com>
2026-04-16 21:28:48 +02:00
..
__tests__ fix: windows path style in snapshot (#742) 2026-04-04 17:21:13 +02:00
create-schedule-form refactor(backup): move retry delay minutes conversion at the contract level 2026-04-12 11:28:39 +02:00
backup-card.tsx feat: manual backup option (#713) 2026-03-26 19:35:18 +01:00
backup-progress-card.tsx fix: react hydration issues by using the same locale during ssr and hydration 2026-03-31 22:39:16 +02:00
backup-status-dot.tsx fix: show back warnings logs and surface in UI (#677) 2026-03-18 20:21:14 +01:00
schedule-mirrors-config.tsx feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
schedule-notifications-config.tsx refactor: always use short id in api calls (#545) 2026-02-19 20:08:40 +01:00
schedule-summary.tsx refactor: improve buttons and space with dropdowns (#738) 2026-04-02 21:44:32 +02:00
snapshot-file-browser.tsx fix: windows path style in snapshot (#742) 2026-04-04 17:21:13 +02:00
snapshot-timeline.tsx refactor(client): configure time formatting with timezone from server 2026-03-24 07:52:54 +01:00