Thu 15 Dec 2016

Rsync

You can run an rsyncd and connect to it using rsync://machine/share.

-r is recursive

-v is verbose

-a is archive (recursive plus modification times, users, groups and symlinks).

Incremental Backups

http://www.mikerubel.org/computers/rsync_snapshots/ http://webgnuru.com/linux/rsync_incremental.php

Use the --link-dest flag to specify a place to diff against.

Rsync will automatically hard-link to files in here if they are the same as the source.

Since it uses hard links, it's ok to delete older versions. The files will stick around if they are needed. Hard links effectively use reference counting.