Master BorgBackup 1.4.0: Init, Create, Prune, Remote SSH, and More!
This YouTube video reviews Borg, an open-source backup utility. Key points include:
Borg Features & Capabilities:
- Open-source: Available for free and community-supported.
- Cross-platform: Runs on Linux (most distributions), macOS, and FreeBSD (with OpenBSD and NetBSD support in development). Usable on Windows via WSL.
- Deduplication: Reduces storage space by identifying and storing only unique data chunks.
- Compression: Uses four compression algorithms (lz4, zst, ZB, lzma) offering varying speeds and compression ratios.
- Command-line interface: Powerful and scriptable, ideal for automation.
- Versioning and Pruning: Allows for the retention of multiple backups (daily, weekly, monthly) with automated removal of older versions.
- Remote Backups: Supports backing up to remote servers.
- Archive Integrity: Provides mechanisms to verify backup integrity.
- Extraction & Restoration: Allows extracting backups to original file system or as a tar file, preserving file ownership and permissions.
Video Demonstrations:
- The video demonstrates both local and remote backups using shell scripts, highlighting the setup process (creating repositories, setting exclusion patterns, specifying compression algorithms).
- It shows how Borg handles deduplication and compression, illustrating the reduction in storage space.
- The presenter showcases the
borg prunecommand for managing backup versions. - He demonstrates restoring individual files and directories from the backups.
- The video cautions against mixing different server backups within the same repository.
Presenter’s Recommendations & Cautions:
- The presenter suggests using
lzmafor maximum compression, acknowledging its slower speed. - He advises against changing compression algorithms within the same repository, warning of potential issues.
- He recommends testing Borg in a virtual machine before deploying it in a production environment.
- He uses separate repositories for different servers.
- He utilizes Backblaze for offsite backups.
- He suggests using strong, memorable passphrases for repository encryption.
Overall: The video provides a practical overview of Borg’s features and functionalities, guiding viewers through setup, configuration, and usage with examples and best practices. While command-line based, its scriptability is emphasized as a significant advantage for automation.