Auto-sync: 2026-04-16 20:05
This commit is contained in:
30
wiki/entities/rsync.md
Normal file
30
wiki/entities/rsync.md
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: "rsync"
|
||||
type: entity
|
||||
tags: [backup, linux, sync]
|
||||
date: 2026-04-16
|
||||
---
|
||||
|
||||
## Aliases
|
||||
- Rsync
|
||||
- Remote Sync
|
||||
|
||||
## Definition
|
||||
rsync(Remote Sync)是 Linux/Unix 系统上的增量同步工具,支持本地和远程同步。它通过只传输源端与目标端之间差异的部分(Delta Transfer),实现高效的数据备份。
|
||||
|
||||
## Key Features
|
||||
- 增量传输:仅传输变化的文件内容,减少网络带宽和时间消耗
|
||||
- 保留权限:支持保留文件权限、所有者、时间戳等属性
|
||||
- 压缩传输:支持 gzip 压缩传输,减少网络流量
|
||||
- 不关机运行:可在系统运行时执行,不影响业务
|
||||
|
||||
## Usage Example
|
||||
```bash
|
||||
rsync -azR --delete /source/ /destination/
|
||||
```
|
||||
|
||||
## Related
|
||||
- [[NFS]]:rsync 常用作 NFS 存储的备份同步工具
|
||||
- [[增量备份]]:rsync 是实现增量备份的核心工具
|
||||
- [[Docker卷备份]]:rsync 常用于 Docker 卷数据的备份
|
||||
|
||||
Reference in New Issue
Block a user