migrate server

Hi all,

I need to reinstall FreeBSD v10 on my VPS. If I order a second VPS, install v10 on that, and then rsync the entire file structure from the first to the second, shutting down all daemons first of course, would that work? Should I explicitly exclude any source files from rsync?

Thanks in advance for helping me not shoot myself in the foot ;)
 
Yes, that should work. But I would only transfer the data, not the OS or any of the applications. There's probably a reason for the re-install so only copying the data will make sure you're not also copying all the stuff that triggered the re-install in the first place.
 
OK. So just these then?
Code:
/etc
/var
/usr/local/etc
/usr/local/var
/usr/local/www
/home
/root
 
That depends on the services you are running and where your data is stored.
 
Back
Top