Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(backup): punctuate the machine-local restore refusal message

Claudeb8514549bd7c
diff --git a/server/services/backup.js b/server/services/backup.js
index 79aeae6a13..bf2986d75c 100644
--- a/server/services/backup.js
+++ b/server/services/backup.js
@@ -1520,7 +1520,7 @@ export async function restoreSnapshot(destPath, snapshotId, { dryRun = true, sub
// never promises a restore that execution would silently skip.
if (restoreScopeIsPreservedFile(subdirFilter)) {
throw new ServerError(
- 'These machine-local authority and recovery records (database-authority.json, peer-execution-authority.json, peer-execution-recovery.jsonl workflow-maintenance and backup-admission) are never restored from a snapshot. Restore application records with a data or database restore; existing local authority and unresolved owners must be reconciled on this machine (see docs/STORAGE.md).',
+ 'These machine-local authority and recovery records (database-authority.json, peer-execution-authority.json, peer-execution-recovery.jsonl, workflow-maintenance and backup-admission) are never restored from a snapshot. Restore application records with a data or database restore; existing local authority and unresolved owners must be reconciled on this machine (see docs/STORAGE.md).',
{ status: 400, code: 'BACKUP_RESTORE_MACHINE_LOCAL' },
);
}