Re:The various scripts I use to back up my home computers us...
by formerly_proven on Friday December 09, 2022 @02:28PM
(#33925498)
borg et al and "git commit" work in essentially the same way. Both scan the entire tree for changes using modification timestamps.
Re:The various scripts I use to back up my home computers us...
by dragonwriter on Friday December 09, 2022 @02:35PM
(#33925577)
> borg et al and "git commit" work in essentially the same way. Both scan the entire tree for changes using modification timestamps.
But git commit doesn’t do that. If you want to do that in git, you typically do it before commit with “git add -A”.
Critically, I'm specifically referring to code sync that needs to operate at a git-level to get the huge efficiencies I'm thinking of.
Syncthing, or borg, scanning 8 copies of the Linux kernel is pretty horrific compared to something doing a "git commit && git push" and "git pull --rebase" in the background (over-simplifying the shadow-branch process here for brevity.)
re: 'we deserve better' -- case in point, see Asuran - there's no real reason that sync and backup have to be distinctly different tools. Given chunking and dedupe and append-logs, we really, really deserve better in this tooling space.