Integrating LVM sna[pshots with rsnapshot (rsync based backup tool)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Just wanted to ask here for confirmation of something.

Rsnapshot is a perl utility, and can be configured to create LVM snapshots for performing backups (ie, for backing up email stores, etc).

man rsnapshot contains the following:

linux_lvm_vgpath         /dev
  Path to the LVM Volume Groups.

Considering that my LVM volumes specified in fstab are:

# LVM command paths
#
linux_lvm_cmd_lvcreate  /sbin/lvcreate
linux_lvm_cmd_lvremove  /sbin/lvremove
linux_lvm_snapshotsize  3G
linux_lvm_snapshotname  lvm-snap-host1
linux_lvm_vgpath        /dev/vg
linux_lvm_mountpath     /mnt/lvm-rsnap-host1
linux_lvm_cmd_mount     /bin/mount
linux_lvm_cmd_umount    /bin/umount

So, my question is, what should I use in my rsnapshot config?

/dev

or

/dev/vg

There is obviously a ton of stuff in /dev that has nothing to do with LVM, so it seems more logical to me that I would use /dev/vg, but maybe LVM is smarter than I give it credit for?

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux