Rsync LVM Snapshot Mount

12 views
Skip to first unread message

Joshua Pettus

unread,
Aug 3, 2022, 1:33:13 PM8/3/22
to elkarbackup-users
Hi,

I finally got around to moving my home server on to an LVM volume.   One of the many reasons I figured was the ability to do LVM snapshot, which would allow me to make a more complete rsync backup of the root folder among other things.  Works great!  And I don't have to worry about random failures of files being deleted during the rsync despite me excluding half the filesystem... Just a better way to go about the problem.

One annoying issue with elkarbackup however is now my backup includes the mountpoint of the lvm snapshot starting from the actual root folder /.  (e.g. /mnt/root/whatever) which interferes with my ability to restore from the interface (the mount point and snapshot doesn't exist once the backup is done).   Is there a way for rsync to treat the source folder as the new root?    I thought that's how it behaves normally, but that doesn't seem to be the case with elkar.
Reply all
Reply to author
Forward
0 new messages