--- rsnapshot.conf 2010-05-12 08:50:09.000000000 +0200 +++ rsnapshot-new.conf 2011-02-05 03:24:23.572851019 +0100 @@ -80,6 +80,14 @@ # #cmd_postexec /path/to/postexec/script +# Paths to lvcreate, lvremove, mount and umount commands, for use with +# Linux LVMs. +# +linux_lvm_cmd_lvcreate /sbin/lvcreate +linux_lvm_cmd_lvremove /sbin/lvremove +linux_lvm_cmd_mount /bin/mount +linux_lvm_cmd_umount /bin/umount + ######################################### # BACKUP INTERVALS # # Must be unique and in ascending order # @@ -188,6 +196,22 @@ # #rsync_numtries 0 +# LVM snapshot(s) size (lvcreate --size option). +# +#linux_lvm_snapshotsize 2G + +# Name to be used when creating the LVM logical volume snapshot(s). +# +#linux_lvm_snapshotname rsnapshot + +# Path to the LVM Volume Groups. +# +#linux_lvm_vgpath /dev + +# Mount point to use to temporarily mount the snapshot(s). +# +#linux_lvm_mountpath /mnt/lvm-snapshot + ############################### ### BACKUP POINTS / SCRIPTS ### ############################### @@ -209,6 +233,7 @@ #backup_script ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql" unused2 #backup root@example.com:/var/db/dump/ example.com/ #backup_script /bin/date "+ backup of example.com ended at %c" unused9 +#backup lvm://vg0/xen-home/ lvm-vg0/xen-home/ # CVS.SOURCEFORGE.NET #backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/