6713df2186
Complete DR implementation (TASK2.md Phases 1-4): - Hub infra-backup push/pull endpoints (controller.yaml, disk layout, stacks) - Fresh-deployment detection pulls config from Hub, auto-mounts drives by UUID - Full-page restore UI with drive status, app table, sequential restore - docker-setup.sh shows DR instructions when customer_id is configured New files: disk_layout.go, restore_scan.go, restore_app_linux.go, restore_drives_linux.go, infra_backup.go, infra_pull.go, handler_restore.go, restore.html Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
328 B
Go
12 lines
328 B
Go
//go:build !linux
|
|
|
|
package report
|
|
|
|
import "gitea.dooplex.hu/admin/felhom-controller/internal/backup"
|
|
|
|
// collectDiskLayout is a no-op on non-Linux platforms.
|
|
// The controller only runs on Linux; this stub allows cross-compilation.
|
|
func collectDiskLayout(systemDataPath string) backup.DiskLayout {
|
|
return backup.DiskLayout{}
|
|
}
|