terom@7: what: terom@7: rsync-based backups. terom@7: terom@7: scripts: terom@7: rsync-wrapper: terom@7: Provides an rsync wrapper binary (scripts/pvlbackup-rsync-wrapper) intended to be used via ~/.ssh/authorized_keys: terom@7: terom@7: command="/usr/local/bin/pvlbackup-rsync-wrapper --readonly --restrict-path=/foo" ssh-rsa ... terom@7: terom@7: XXX: the current implementation is not exactly security-audited, the restrictions serve more to avoid mistakes, and do not protect against terom@7: determined misuse of your ssh key.. terom@7: terom@7: LVM Snapshots: terom@7: terom@7: As an additional feature, rsync-wrapper provides support for reading LVM volumes as snapshots: terom@7: terom@7: rsync -ax foohost:lvm:vg00:lv00 /media/backup/foohost-lv00 terom@7: terom@7: This will transparently create a snapshot, mount it (read-only), and run the server-side rsync from within the mounted snapshot. terom@7: terom@7: TODO: terom@7: * fsck? terom@7: terom@12: rsync-snapshot: terom@12: Manage hardlinked snapshots stored for configureable intervals. terom@12: terom@12: Uses rsync --link-dest.