mirror of
https://git.photon.obnh.io/olaf/recover-server.git
synced 2025-12-11 11:19:15 +00:00
A Go-based CLI tool for recovering servers from backups to new cloud VMs. Features: - Multi-cloud support: Exoscale, Cloudscale, Hetzner Cloud - Backup sources: Local filesystem, Hetzner Storage Box - 6-stage restore pipeline with /etc whitelist protection - DNS migration with safety checks and auto-rollback - Dry-run by default, requires --yes to execute - Cloud-init for SSH key injection Packages: - cmd/recover-server: CLI commands (recover, migrate-dns, list, cleanup) - internal/providers: Cloud provider implementations - internal/backup: Backup source implementations - internal/restore: 6-stage restore pipeline - internal/dns: Exoscale DNS management - internal/ui: Prompts, progress, dry-run display - internal/config: Environment and host configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
417 B
Plaintext
17 lines
417 B
Plaintext
# Exoscale credentials
|
|
EXOSCALE_API_KEY=your-exoscale-api-key
|
|
EXOSCALE_API_SECRET=your-exoscale-api-secret
|
|
|
|
# Cloudscale.ch credentials
|
|
CLOUDSCALE_API_TOKEN=your-cloudscale-token
|
|
|
|
# Hetzner Cloud credentials
|
|
HETZNER_API_KEY=your-hetzner-api-key
|
|
|
|
# Hetzner Storage Box (for backups)
|
|
HETZNER_STORAGEBOX_USER=u480813
|
|
HETZNER_STORAGEBOX_HOST=u480813.your-storagebox.de
|
|
|
|
# Local backup path
|
|
LOCAL_BACKUP_PATH=/srv/backups
|