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

[linux-lvm] Integrating LVM sna[pshots with rsnapshot (rsync based backup tool)



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?


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