Mirror directories efficiently across disks or over the network with a single command. 28.04.2026 | reading time: 2 min When files must be copied reliably and fast, `rsync` is the Swiss Army knife that synchronizes local and remote directories while transferring only changed data and preserving metadata. Practical example Command: `rsync -avz --progress /var/www/ backup@192.0.2.10:/backups/www/` Output: `sending incremental file list ... index.html 100% 1.2K 5.8kB/s 00:00 file2.css 100% 3.4K 7.1kB/s 00:00 sent 1,234 bytes received 56 bytes 2,580.00 bytes/sec total size is 12,345 speedup is 9.80`. Important options `-a` for archive mode preserves permissions, timestamps and symlinks; `-v` shows progress; `-z` compresses during transfer; `-P` is shorthand for `--partial --progress`; `--delete` prunes removed files on the destination; `--link-dest` enables space-efficient incremental snapshots. Advanced workflows Run `rsync` over SSH with `-e ssh` or use the daemon mode `rsyncd` for many clients; combine `--checksum` for content checks, `--dry-run` to test, `--files-from` to target lists, and run from `cron` or systemd timers for scheduled backups. Related tools in practice For different needs use `scp` for simple secure copies, `rclone` for cloud storage syncs, `tar` or `borg` for archive-based backups, and `rsnapshot` for automated snapshot rotation when space and history matter. Final note Start experimenting with small directories, then scale to remote hosts and scheduled jobs; deepen skills with hands-on practice and consider formalizing knowledge with certifications like CompTIA Linux+ or LPIC-1 and intensive exam preparation at bitsandbytes.academy. Join Bits & Bytes Academy First class LINUX exam preparation. backup network utilities storage scripting