Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I currently have a slow old Celery 400Mhz running Redhat 8.0 as my "everything" server (email, web, ftp, etc...). I just purchased a new server (Xeon, 2x 73GB 10K RPM Ultra320 SCSI drives, DDR RAM, gigabit ethernet... etc...) and would like to put Redhat 8.0 on that as well, and move the data over ASAP, so I can get rid of the crappy old server.
How would I go about making a "mirror" of the old server onto the new server?
in /root you will find anaconda-ks.cfg and install.log which will show you how the original box was built. As for the data, it really depends on what you need to bring over. If you can isolate which directories have your data, you can tar them and copy them to the new machine. For example:
tar zcvf ftp.tgz /var/ftp
tar zcvf home.tgz /home
etc...
ftp the tgz files, or scp, or whatever to the new box and untar them in their new home:
tar zxvf ftp.tgz
etc...
I would also grab the /etc directory, since that is where 98% of your config files would be.
Sounds good! I'll try this as soon as I get the new server.
So basically I'm copying all of the data and config files, so when the files are copied over, all the servers will be configured already?
I think I'll plan on making tarballs of /var, /etc, and /home. That seems like it'll move over most of the important stuff.
Sorry if the questions are a little noobish. I've used Linux "passively" for years and years, but haven't had the time until recently to really start learning the OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.