====== BorgBackup ====== [[https://borgbackup.readthedocs.io/en/stable/|BorgBackup]] (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption. ===== Usage ===== Initialize a Borg repository: borg init -e repokey Add backup file to the repo: borg create --stats :: /path/to/file [/path/to/other-file] ==== List ==== List all archives in this repo: borg list List contents in one archive: borg list :: ==== Restore ==== Restore the archive by extracting the files relative to the current directory borg extract :: ==== Delete ==== Delete specify archive: borg delete :: ===== Reference ===== * [[https://borgbackup.readthedocs.io/en/stable/|Borg Documentation]] * [[https://wzyboy.im/post/1106.html|BorgBackup —— 增量备份方案]]