Re: Copying/duplicating files from ServerA to ServerB

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

 



On Fri, 2 Feb 2018 08:36:25 -0500
bruce <badouglas@xxxxxxxxx> wrote:

> Looking to completely duplicate/replicate one server to
> another.Running Centos/Fed. I've seen a number of different
> articles/etc on different ways of doing this.
> 
> Assuming I'm not using chef/puppet/ansible/etc can anyone give
> thoughts on best approaches for this. Articles are cool as well.
> 
> Key Items:
> -Need to Maintain same users/passwds
> -Need to maintain all dirs/files heirarchy
> -Need all system/3rd party processes/apps running
> -All config/cron files
> -All port/db/ssh functions..
> 
> I'm testing the process to do this on cheap cloud vms so I can screw
> up as I figure out best approach for this.
> 
> Thoughts/comments?

I would use
# rsync -C -x -u -a -v -A -X / /[new mount point without a trailing /]

You will have to clean up /boot and /etc/fstab so it will boot properly.

You can read the rsync docs to see what it is doing.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux