Files
nexus/wiki/entities/rsync.md
2026-04-16 20:05:13 +08:00

31 lines
922 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "rsync"
type: entity
tags: [backup, linux, sync]
date: 2026-04-16
---
## Aliases
- Rsync
- Remote Sync
## Definition
rsyncRemote Sync是 Linux/Unix 系统上的增量同步工具支持本地和远程同步。它通过只传输源端与目标端之间差异的部分Delta Transfer实现高效的数据备份。
## Key Features
- 增量传输:仅传输变化的文件内容,减少网络带宽和时间消耗
- 保留权限:支持保留文件权限、所有者、时间戳等属性
- 压缩传输:支持 gzip 压缩传输,减少网络流量
- 不关机运行:可在系统运行时执行,不影响业务
## Usage Example
```bash
rsync -azR --delete /source/ /destination/
```
## Related
- [[NFS]]rsync 常用作 NFS 存储的备份同步工具
- [[增量备份]]rsync 是实现增量备份的核心工具
- [[Docker卷备份]]rsync 常用于 Docker 卷数据的备份