README
author Tero Marttila <terom@paivola.fi>
Tue, 14 Feb 2012 19:17:12 +0200
changeset 7 e0d6e5d9275e
child 12 fbfdde7326f4
permissions -rw-r--r--
README
what:
    rsync-based backups.

scripts:
    rsync-wrapper:
        Provides an rsync wrapper binary (scripts/pvlbackup-rsync-wrapper) intended to be used via ~/.ssh/authorized_keys:

            command="/usr/local/bin/pvlbackup-rsync-wrapper --readonly --restrict-path=/foo" ssh-rsa ...

        XXX: the current implementation is not exactly security-audited, the restrictions serve more to avoid mistakes, and do not protect against
             determined misuse of your ssh key..
        
        LVM Snapshots:

            As an additional feature, rsync-wrapper provides support for reading LVM volumes as snapshots:

                rsync -ax foohost:lvm:vg00:lv00 /media/backup/foohost-lv00

            This will transparently create a snapshot, mount it (read-only), and run the server-side rsync from within the mounted snapshot.

            TODO:
                * fsck?