All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Integrating LVM sna[pshots with rsnapshot (rsync based backup tool)
@ 2014-01-17 14:35 Tanstaafl
  0 siblings, 0 replies; only message in thread
From: Tanstaafl @ 2014-01-17 14:35 UTC (permalink / raw)
  To: LVM List

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-17 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 14:35 [linux-lvm] Integrating LVM sna[pshots with rsnapshot (rsync based backup tool) Tanstaafl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.