User Tools

Site Tools


project:rsnapshot-zfs-helper:rsnapshot-backup-example

This is an old revision of the document!


Example for using rsnapshot-zfs-helper with rsnapshot-backup

CAVEAT : WORK IN PROGRESS

preface

I'm using rsnapshot-backup which is basically a wrapper around rsnapshot.

It uses one setup per system to backup with one config, exclude and script file. There are also individual backup and logging directories. There is a scheduler which parallelizes backup runs and a configuration frontend using template files to create the backup jobs.

There is also an enabling mechnism using symlinks.

A typical backup job configuration (created with rsnapshot-backup-conf) consists of:

/etc/rsnapshot-backup.d/conf.<BACKUP-CLIENT>
/etc/rsnapshot-backup.d/exclude.<BACKUP-CLIENT>
/etc/rsnapshot-backup.d/script.<BACKUP-CLIENT>    # optional
/etc/rsnapshot-backup.d/enabled/conf.<BACKUP-CLIENT> -> ../conf.<BACKUP-CLIENT>

/backup/hosts/<BACKUP-CLIENT>/daily.0/
/backup/hosts/<BACKUP-CLIENT>/zfs-snapshots -> daily.0/.zfs/snapshot

/var/log/rsnapshot-backup/<BACKUP-CLIENT>/

<ZPOOL>/backup/hosts/<BACKUP-CLIENT> # ZFS filesystem mounted on /backup/hosts/<BACKUP-CLIENT>/daily.0/

This example has been created using Debian 9.3 .

project/rsnapshot-zfs-helper/rsnapshot-backup-example.1519313428.txt.gz · Last modified: 2018/02/22 16:30 by 92.75.65.74