You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bbdc04d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(host): back up hosted and compute channels and restore backups as new channels (#435)
* feat(host): back up hosted and compute channels and restore backups as new channels
`ace backup` now takes a hosted or cloud compute channel's pi state from its service with a new
`backup` transfer action, which reads one consistent snapshot without freezing the channel.
`ace restore` verifies a backup and adds it as a new local channel with a new ID and lane prefix.
Why: packages/channel/src/transfer.ts#function backupSnapshot | the read stays one transaction on the channel's DurableSqlite, which serializes every pi read and write, so a backup needs no freeze
Why: apps/host/src/backup.ts#function restore | a restored copy always gets a new ID and lane prefix so it can never run as the original channel
Why: apps/host/src/backup.ts#function exported | the service is asked before the destination exists, so a refusal or an older service leaves nothing behind
* chore: confirm and record lane notes for hosted backups
* lane: sync hosted-backup memory
Copy file name to clipboardExpand all lines: docs/architecture.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,8 +189,9 @@ Reachable peers forward the live listing; directory-only fallback listings clear
189
189
animating from a stale cache, even for hosted channels.
190
190
191
191
Channel data survives app replacement and upgrades. `ace backup` takes a verified SQLite snapshot
192
-
of a local channel while it runs, alongside its catalog record. Project files and lane worktrees
193
-
have their own repository backup. Stored format changes require migrations; see [data](data.md).
192
+
of a local channel while it runs, or a hosted or compute channel's transfer snapshot from its
193
+
service without freezing it, alongside its catalog record. `ace restore` adds a backup as a new
194
+
local channel with a new ID. Project files and lane worktrees have their own repository backup. Stored format changes require migrations; see [data](data.md).
194
195
195
196
Opening a folder adds a project to the host's `projects.json`, independently of channel creation
196
197
or model credentials. This is a list of local folders, not channel history. Channels start only in
0 commit comments