Backup & Restore ubuntudebiancentos intermediate

rsync Incremental Backup

Incremental sync directory to remote

Overview

Incremental sync directory to remote

Commands

rsync -avz --progress {source_dir} {user}@{host}:{dest_dir}

Use Cases

Website file sync, database cold backup transfer.

Prerequisites

The target server must have rsync installed and SSH passwordless login configured.

  • Generate SSH Key Pair