BorgBackup Tutorial: Archives, Deduplication and Recovery History
Borg stores backup archives within a repository and reuses matching data chunks to reduce repeated storage. Archive selection defines the file state being recovered, while retention determines which historical states remain. Storage efficiency and recovery usefulness are related considerations but answer different questions.
Here's a popular BorgBackup video — watch it, then summarize it with one click. Or paste any other YouTube link below.
— or paste your own YouTube link —
Want to keep the key points from a YouTube video? Paste the link below to turn it into structured notes.
Why Use BorgBackup Tutorial: Archives, Deduplication and Recovery History
- Distinguish a repository from an archive
- Explain deduplication across stored data
- Relate retention to recoverable history
- Identify the content of a selected archive
- Check restored files for the intended version
Frequently Asked Questions
What is an archive in Borg?
An archive represents a particular backed-up file selection and state within the repository. Selecting the correct archive is essential when recovering content from a specific point in the backup history.
How does deduplication reduce storage?
Deduplication allows repeated data chunks to be stored once and referenced by multiple archived contents. It changes the storage representation while preserving the logical files available through the relevant archive.
Does encryption decide which files are included?
Encryption protects stored data under its configured mechanism, while file selection determines backup coverage. An encrypted repository can still omit important files if the backup's inclusion and exclusion choices are unsuitable.
Why review retention against actual recovery needs?
Retention removes historical states according to defined rules. Those rules should preserve the periods needed for recovery, because reducing storage use can also eliminate the version required after a delayed discovery.
What should a restore check compare?
Compare recovered content and relevant file properties with the expected state from the selected archive. Merely seeing a file at the destination does not establish its correct version or usability.