$
학습 Linux 안내서
ko
XP:0
퀘스트 129Synchronizer
+220 XP

Incremental Sync with rsync

이 퀘스트를 위한 인터랙티브 터미널 시작→설치 불필요 • 브라우저에서 바로 실행

개념 및 개요

While cp blindly copies entire files every time, rsync (remote sync) uses a delta-transfer algorithm to copy only files and bytes that have changed. It is the gold standard for server migrations, incremental directory backups, and continuous mirroring.

- -a (archive): Preserves timestamps, symlinks, permissions, and operates recursively.
- -v (verbose): Shows which files are being copied.
- -z (compress): Compresses file data during transmission.
- Notice trailing slashes: rsync -avz src/ backup/ copies the contents of src/ inside backup/.

Let's run an incremental directory sync. Mirror the contents of the src/ directory into backup/ with archive mode: run rsync -avz src/ backup/ (or rsync -av src/ backup/).

명령어 구문 참조

Command / SyntaxDescription
rsync -avz src/ backup/Sync directory contents preserving file permissions and timestamps
rsync -av src/ backup/Archive copy directory without compression

검증 목표

  • ○
    Run rsync with archive mode
  • ○
    Sync files into backup directory

퀘스트를 완료할 준비가 되셨나요? 129?