1 Wizbackup is a minimalistic backup system based on rsync and hardlinked
4 Its main feature is that each backup snapshot is a plain filesystem tree, identical to the
5 original. Theere's no need for a tool to restore and manage backups.
7 There are a few downsides to this simple structure:
8 - Backups are uncompressed (unless the underlying filesystem supports transparent complression)
9 - Large files which change every day, such as logs and databases, are duplicated in each snapshot,
10 wasting space. Reflinks (aka COW-links) would solve this.
16 List the hosts to be backed up:
19 mkdir -p /backup/HOSTS
20 cat >/backup/HOSTS/example <<__EOF__
26 Optionally, specify paths to be excluded from backups:
29 mkdir -p /backup/EXCLUDE
30 cat >/backup/EXCLUDE/ALWAYS <<__EOF__
39 You can also specify host-specific excludes:
42 cat >/backup/EXCLUDE/host1.example.com <<__EOF__
47 Install the wizbackup cronjob:
50 cat >/etc/cron.daily/wizbackup <<__EOF__
52 wizbackup-driver /backup/HOSTS/example /backup
56 Create an ssh keypair for each host:
59 mkdir -p /etc/wizbackup
60 ssh-keygen -N '' -c "wizbackup@example.com" -f /etc/wizbackup/ssh_id
61 ssh-copy-id -f /etc/wizbackup/ssh_id.pub root@host1.example.com
62 ssh-copy-id -f /etc/wizbackup/ssh_id.pub root@host2.example.com