Skip to content
SHC Docs

backup

Generated file. Do not edit by hand. Regenerate from the repo root with make docs/generate.

This page is generated from the ent schema and the migration head. The running unit is a deployment and the catalog thing is an app.

erDiagram
backup {
int id PK
time created_at
string name
string backup_id UK
string tenant_name
int deployment_id FK
string stack_name
string environment
string node_id
string status
int64 size_bytes
text location
time started_at
time heartbeat_at
time completed_at
text error_message
text manifest
time restored_at
time verified_at
string verify_status
string verify_tier
text verify_summary
}
backup }o--|| deployment : deployment
columntypenullkey
idintnoPK
created_attimeno
namestringno
backup_idstringnoUK
tenant_namestringno
deployment_idintyesFK
stack_namestringno
environmentstringno
node_idstringyes
statusstringno
size_bytesint64yes
locationtextyes
started_attimeyes
heartbeat_attimeyes
completed_attimeyes
error_messagetextyes
manifesttextyes
restored_attimeyes
verified_attimeyes
verify_statusstringyes
verify_tierstringyes
verify_summarytextyes

no command writes this table (modules/backup/bkg.go, modules/backup/clone_staging.go, modules/backup/ent_ops.go, modules/backup/lease.go, modules/backup/lease_boot.go, modules/backup/orchestrator.go, modules/backup/relocate.go, modules/backup/restore_dispatch.go, modules/backup/restore_file.go, modules/backup/staged_export.go, modules/retention/service.go, modules/tenant/service.go)