feat: execute corestore backups

This commit is contained in:
2026-05-02 21:59:42 +00:00
parent b747f07abd
commit 4c9db6d115
3 changed files with 280 additions and 0 deletions
+2
View File
@@ -157,6 +157,8 @@ volumes: [
If `name` is omitted, Coreflow derives a stable Docker volume name from the service id and mount path. During service creation it sends a Docker volume mount with `DriverConfig.Name = 'corestore'`, plus service metadata as driver options and volume labels.
Coreflow also exposes Cloudly-triggered backup handlers over its TypedSocket connection. `executeServiceBackup` snapshots corestore volumes plus provisioned smartdb/smartstorage resources, and `executeServiceRestore` restores those snapshots back into the service's corestore resources.
## Coretraffic Integration
Coreflow starts an internal SmartServe/TypedSocket server on port `3000`. Coretraffic is expected to connect to that server and tag its connection as `coretraffic`.