Article 5776B Clone LVM --> rsync - gut check

Clone LVM --> rsync - gut check

by
ziphem
from LinuxQuestions.org on (#5776B)
Hello,

I'm having issues cloning my SSD for backup purposes (laptop SSD to backup external SSD); my Fedora 31 system uses an LVM partition and Clonezilla doesn't seem to like that. To note, these SSDs should be the exact same (model, size, etc).

To try to take the easiest (and mess-up proof) approach I can, what I am thinking of doing is to install Fedora 31 on the new SSD (both SSDs will have the same version). Then I will boot a Fedora Live CD, and rsync the old SSD to the new SSD, using something like:

Code:sudo rsync -aAXv --delete --dry-run --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude="swapfile" --exclude="lost+found" --exclude=".cache" --exclude="/etc/fstab" --exclude="/etc/mtab" --exclude="/var/tmp/*" SOURCE DESTI wanted to get a quick gut check - would this work? Any reasons to avoid this approach, and any suggestions if this method would work? If there are any alternatives that are easy and straightforward, I'd appreciate that guidance, too.

Thank you very much!latest?d=yIl2AUoC8zA latest?i=ZgE-vVCwk8E:f7z45mdtPMU:F7zBnMy latest?i=ZgE-vVCwk8E:f7z45mdtPMU:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZgE-vVCwk8E:f7z45mdtPMU:gIN9vFwZgE-vVCwk8E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments