Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Common Usage

Introduction

Besides for standard sync and backup, use rsync to,

  1. Copy over network and measure speed.
  2. Copy and resume large directory backups

Backup and Syc

Most used to perform normal backup and shows,

...

Code Block
languagebash
rsync --recursive --delete --sparse --compress --verbose --itemize-changes --human-readable --progress /home/tempadmin/tmp/source /home/tempadmin/tmp/destination

On desktop machines consider using with a keep alive,

Code Block
languagebash
caffeinate rsync [...]

Straight Copy

Simple straight copy and can be used to resume (still need to modify for resume),

Code Block
languagebash
 rsync --archive --sparse --compress --verbose --itemize-changes --human-readable --progress /home/tempadmin/tmp/source /home/tempadmin/tmp/destination

...