Files
System-Sync-Restore/lib
Oliver Surke 953c213ded fix: use mackup link install/link instead of backup/restore
In Mackup 0.10.2, `mackup backup` only copies files to cloud — it never
creates symlinks.  Symlinks require `mackup link install` (sync) or
`mackup link` (restore).  This is why no symlinks appeared in ~/ after
running ssr sync.

Changes:
- ssr::mackup::backup()  → now calls `mackup -f link install`
  Moves managed files to cloud and creates symlinks in ~/
  Naturally skips sockets and dangling symlinks via isfile/isdir guard,
  so the pre-cleanup is now a light transient-dir purge only.

- ssr::mackup::restore() → now calls `mackup -f link`
  Creates symlinks ~/file → cloud/file (files must already be in cloud).
  Keeps files in iCloud for ongoing sync, unlike the copy-based restore.

- Added Mackup 0.10.2 command-mapping comment to file header.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 15:37:43 +02:00
..
2026-05-11 15:05:17 +02:00