borg
这是本文档旧的修订版!
BorgBackup
BorgBackup (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption.
Usage
Initialize a Borg repository:
borg init -e repokey <repo-name>
Add backup file to the repo:
borg create -C auto,lz4 <repo-name>::<archive-name> /path/to/file [/path/to/other-file]
List
List all archives in this repo:
borg list <repo-name>
List contents in one archive:
borg list <repo-name>::<archive-name>
Restore
Restore the archive by extracting the files relative to the current directory
borg extract <repo>::<archive>
Delete
Delete specify archive:
borg delete <repo>::<archive>
Reference
borg.1513842891.txt.gz · 最后更改: 2023/12/03 10:24 (外部编辑)