add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

33
pages.zh/common/borg.md Normal file
View File

@@ -0,0 +1,33 @@
# borg
> 去重备份工具。
> 创建可作为文件系统挂载的本地或远程备份。
> 更多信息:<https://borgbackup.readthedocs.io/en/stable/usage/general.html>。
- 初始化一个(本地)库:
`borg init {{path/to/repo_directory}}`
- 将一个目录备份到库中创建一个名为“Monday”的档案
`borg create --progress {{path/to/repo_directory}}::{{Monday}} {{path/to/source_directory}}`
- 列出库中的所有档案:
`borg list {{path/to/repo_directory}}`
- 从远程库中的“Monday”档案中提取特定目录排除所有 `*.ext` 文件:
`borg extract {{user}}@{{host}}:{{path/to/repo_directory}}::{{Monday}} {{path/to/target_directory}} --exclude '{{*.ext}}'`
- 通过删除所有超过7天的档案来修剪库并列出变更
`borg prune --keep-within {{7d}} --list {{path/to/repo_directory}}`
- 将库挂载为FUSE文件系统
`borg mount {{path/to/repo_directory}}::{{Monday}} {{path/to/mountpoint}}`
- 显示有关创建档案的帮助:
`borg create --help`