jeremy
f2b17647f4
docker-stacks-backup: add init command, output formatting, progress indicators, and bugfixes
...
New features:
- init command: inject default x-backup config into compose files
- --dir flag: scan a custom directory for stacks
- --to flag: override restore target path
Bugfixes:
- resolve_docker_volume: no longer double-prefixes volume names
- metadata has_volumes now correctly tracks volume state
- warn_named_volumes message now accurate about backup-volumes setting
Output formatting:
- Terminal colors via tput (auto-disabled on non-TTY)
- Unicode symbols: ✓ ● ℹ ⚠ ✗ ◇
- Section headers with ━━━ separators
- Colored verify results (green OK, red FAIL, yellow SKIP)
- Cleaner interactive menus with colored prompts
Progress indicators (no dependencies):
- tar --checkpoint shows live byte progress during backup/restore
- Graceful fallback when checkpoint unavailable or non-TTY
2026-07-17 06:13:49 -04:00