Article 53B64 rsync restore backup to new drive.

rsync restore backup to new drive.

by
toxine
from LinuxQuestions.org on (#53B64)
Hello,

I have made a backup copy of my centos 7 using:
Code:rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/
all folders restores fine except when restoring etc folder I start having issues after reboot. I have edited /etc/fstab so the new disc can be mounted and everything is smooth. the only issue I'm currently having is that I cannot login using root password if I restore all content of /mnt/etc/ to /etc/

how could I fix this? any folders to avoid?

Please note I have done a fresh install then restoring files from rsync.

.latest?d=yIl2AUoC8zA latest?i=P22nGc1ayx4:5hxDmJAGDOQ:F7zBnMy latest?i=P22nGc1ayx4:5hxDmJAGDOQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=P22nGc1ayx4:5hxDmJAGDOQ:gIN9vFwP22nGc1ayx4
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