Backups with rsync [Was: Is my root partition dying?]

Russell Coker russell at
Fri Dec 18 02:57:00 AEDT 2015

On Thu, 17 Dec 2015 11:06:10 PM Erik Christiansen via luv-main wrote:
> On 17.12.15 21:33, Russell Coker via luv-main wrote:
> > There are a variety of backup systems that start with rsync and manage
> > trees of links.  It's not difficult to write your own, rsync the
> > files, run "cp -al" to make a copy with hard links and use today's
> > date in the directory name, and then delete backup directories that
> > are too old.
> I'm not grokking the benefit of doing the rsync _and_ a "cp -al". I just
> include -aH in my rsync options, the -H to preserve hard links. Seems to
> work.

rsync copies all the files.

Then you do something like the following to preserve a version of that tree 
before you do the next rsync.
cp -al current 2015-12-18

My Main Blog
My Documents Blog

More information about the luv-main mailing list