Repository navigation
v1.0.0
Highlights
• Reliable backups with atomic flow and manifest checksums
• Chunked streaming mode (no local disk), concurrent uploads
• Preflight DB connectivity guard (backs out early and notifies if unreachable)
• Budget‑aware retention and improved cleanup
• JSON output for CI/automation across core commands
• Locking (single‑flight) to prevent overlapping runs
• Verify at rest, including best‑effort remote checksum on S3
• Events and extension points (file filters, pre/post steps)
• Health reporting and Filament browse/inspect panel (no restore)
• Styled HTML emails and richer webhook notifications
New and improved
• Integrity and manifest
• Every archive now contains manifest.json with metadata and per‑entry SHA‑256 checksums
• capsule:verify validates the ZIP and manifest; --all supported
• S3 best‑effort ETag check (single‑part uploads) for remote verification
• Chunked backups
• Stream database dumps and files directly to storage without local disk
• Concurrent chunk uploads with stats and fault tolerance
• JSON output
• capsule:backup --format=json
• capsule:cleanup --format=json
• capsule:verify --format=json and --all
• Retention and budget
• Age/count policies plus optional storage budget via retention.max_storage_mb
• Prunes oldest backups until usage is under budget, honoring retention.min_keep
• Locking
• Prevent overlapping runs with cache locks (configurable store, timeout, wait)
• --force to bypass in emergencies
• Reliability (uploads)
• Configurable retries and exponential backoff for storage operations
• Observability and health
• capsule:diagnose includes a health summary (last success age, recent failures, usage)
• capsule:health --format=json emits a snapshot for dashboards or checks
• Optional Spatie Laravel Health check provided
• Commands
• capsule:list [--limit] [--format]
• capsule:inspect {id} [--format] (reads manifest.json from the archive)
• capsule:verify {id?} [--all] [--format]
• capsule:cleanup [--days] [--dry-run] [--format]
• capsule:backup [--no-local] [--parallel] [--compress=] [--encrypt] [--verify] [--format]
• Hooks and extensibility
• Events at each stage: BackupStarting, DatabaseDumpStarting/Completed, FilesCollectStarting/Completed, ArchiveFinalizing, BackupUploaded, BackupSucceeded/Failed
• File filters via FileFilterInterface
• Pre/post steps via StepInterface (run before/after; failures abort)
• Notifications
• Styled HTML emails
• Clear preflight failure message (“Backup Failed – Database Unreachable”) with guidance
• Filament panel (browse only)
• Simple page to list backups, health stats, and inspect hints (no automatic restore)
Configuration additions
• Locking
• lock.store, lock.timeout_seconds, lock.wait_seconds
• Retention budget
• retention.max_storage_mb, retention.min_keep
• Storage retries
• storage.retries, storage.backoff_ms, storage.max_backoff_ms
• Health thresholds
• health.max_last_success_age_days, health.max_recent_failures, health.warn_storage_percent
• Extensibility
• extensibility.file_filters, extensibility.pre_steps, extensibility.post_steps