[mythtv-users] Mirroring root partition on SSD to a hard drive -- bad idea?

mythtv at phipps-hutton.freeserve.co.uk mythtv at phipps-hutton.freeserve.co.uk
Fri Jan 15 07:18:02 UTC 2016


Quoting Calvin Dodge <caldodge at gmail.com>:

> For backups I do something like this, because it lets me keep multiple
> old version of files.
>
> 1) designate an archive location
> 2) Every day, make a copy of files in that location with "cp -al" (the
> -l means "make hard links of files, rather than copying them) to a new
> directory (my script creates on named YYYYMMDD). For me the location
> is /backups, with the rsync directory (see step 3) being
> /backups/latest, with daily directories like /backups/20160101,
> /backups/20160102, etc.
> 3) rsync -a --delete source to destination. Since any files will be
> deleted and replaced, rather than changed, the old versions of such
> files will be safe in those daily directories.
>
> Calvin

I think you just reinvented rsnaphot





More information about the mythtv-users mailing list