Inhaltsverzeichnis
Backup
Target audience: Sysadmins, DevOps
Content: Configuration backup, DSN export
Frequency: After changes, weekly
Backup strategies for the Data Gateway.
Workflow
flowchart LR
subgraph BACKUP["BACKUP"]
B1[Backup config]
B2[Export DSN]
B3[Backup certificates]
end
subgraph STORAGE["STORAGE"]
S1[Local]
S2[NAS/SAN]
S3[Cloud]
end
subgraph RESTORE["RESTORE"]
R1[Restore config]
R2[Verify]
end
B1 --> S1
B2 --> S2
B3 --> S3
S1 --> R1
S2 --> R1
R1 --> R2
style B1 fill:#e8f5e9
style R2 fill:#e3f2fd
Runbooks
| Runbook | Description | Duration |
|---|---|---|
| Config Backup | Backup appsettings.json, certificates | ~5 min |
| DSN Export | Export/import DSN definitions | ~5 min |
What to Backup?
| Component | Path | Priority |
| ———– | —— | ———- |
| appsettings.json | /opt/data-gateway/ | Critical |
| Certificates | /opt/data-gateway/certs/ | Critical |
| Data (SQLite) | /opt/data-gateway/data/ | High |
| Logs | /opt/data-gateway/logs/ | Low |
Quick Backup
# Everything in one archive tar -czvf gateway-backup-$(date +%Y%m%d).tar.gz \ /opt/data-gateway/appsettings.json \ /opt/data-gateway/certs/ \ /opt/data-gateway/data/
Related Runbooks
- Set Up TLS - Certificates
- Manage DSN - DSN configuration
- Docker - Volume backup
« <- Operator Handbook | -> Config Backup »
Wolfgang van der Stille @ EMSR DATA d.o.o. - Data Gateway Professional
Zuletzt geändert: on 2026/01/29 at 11:37 PM