Taming rsync: My Backup Scripts and the Quest for Consistent Snapshot Rotation

Introduction to Backup Scripts

I’ve been running my own homelab for years, and I’ve learned the hard way that a solid backup strategy is crucial. After trying out various backup tools in 2025, I kept coming back to rsync due to its flexibility and reliability. This year, I’ve been focused on fine-tuning my backup scripts to achieve consistent snapshot rotation. Don’t bother with overly complex backup solutions - rsync is a powerful tool that can get the job done.

[Read More]

Recovering from a Failed Borg Backup Repository: Lessons Learned from a Homelab Mishap

Introduction to Borg Backup

I’ve learned the hard way that having a reliable backup system is crucial for any homelab setup. Borg Backup has been my go-to tool for deduplicating backups, and it’s served me well - until I recently encountered a failed repository. This experience taught me some valuable lessons about recovery and prevention.

Understanding Borg Backup Repositories

Before diving into the recovery process, it’s essential to grasp how Borg Backup repositories work. A repository is the central storage location for all your backups, where Borg stores deduplicated data. When you create a repository, Borg initializes it with a unique ID, ensuring data integrity. I’ve seen this go wrong when the repository index gets corrupted, so it’s crucial to understand how it works.

[Read More]