Btrfs/snapshots

Btrfs
Btrfs is a copy-on-write (CoW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Jointly developed at Oracle, Red Hat, Fujitsu, Intel, SUSE, STRATO and many others, Btrfs is licensed under the GPL and open for contribution from anyone.

Automatic snapshots
This scripts uses Btrfs  function to create snapshots only when files have changed, which is used to create fewer snapshots.


 * - mountpoint for btrfs root volume
 * - user homes volume
 * - symlink to latest snapshot
 * - latest snapshot of home

It is recommended you schedule to run the  with cron.

For more detailed information on btrfs subvolumes and snapshots see the btrfs wiki.