Zfs-Extended Roman's Backup System Thingy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
GNUmakefile
LICENSE
README.md
default.nix
lsbackup
zerbst-permfilelist
zerbst-suck-gettar
zerbst-suck-rsync
zerbst-suck-rsync.cfg
zerbst-suck-zfssendrecv
zerbst-suck-zfssendrecv.cfg
zerbst-zfs2newestsnapdir
zerbst-zfssnap2filelist
zfssendrecv

README.md

zerbst

Zfs-Extended Roman's Backup System Thingy

Overview

  • configurable via config files
  • syncs data from remote hosts via
    • rsync or
    • zfs send | zfs recv
  • makes snapshots (via zfSnap) before and after sync
  • generates lists of deleted or modified files for archiving on tape via tar

Requirements

  • bash
  • rsync
  • ssh
  • GNU coreutils (df --output=fstype,source)
  • zfs / zfsonlinux
  • zfSnap

tested on Debian (Jessie (8) and Stretch (9))

Quick Start

cd /backup || exit 1
zerbst-suck-rsync /etc/zerbst-suck-rsync.cfg
zerbst-suck-zfssendrecv /etc/zerbst-suck-zfssendrecv.cfg
zerbst-mkpermfilelist|tapeinchunks

For zerbst-suck-zfssendrecv, zfSnap has to be present on the remote host, and the destination zfs must exist on the local (receiving) side.