zerobyte/packages/core/src/restic
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
..
commands feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
helpers chore(core package): re-organize files 2026-04-16 19:07:11 +02:00
error.ts fix(restic): separate error summary from diagnostic details (#694) 2026-03-21 20:50:23 +01:00
index.ts refactor: extract restic in core package (#651) 2026-03-11 21:56:07 +01:00
restic-dto.ts fix: separate raw include paths and patterns (#683) 2026-03-20 19:27:54 +01:00
schemas.ts fix: force user to provide known hosts values in sftp volume / repository creation 2026-03-31 20:27:48 +02:00
server.ts refactor: extract restic in core package (#651) 2026-03-11 21:56:07 +01:00
types.ts fix(rclone): pass explicitly the RCLONE_CONF env var (#779) 2026-04-12 09:25:57 +02:00