Monday, March 25, 2013

How to sync the contents of your old Linux server to your new one

Make sure that both systems are running the same version of the same Linux distribution. Shutdown any processes that are not necessary on both servers(everything but SSH). Then run this command as root on the new server:

rsync / -av --exclude '/proc/' --exclude '/etc/hosts' --exclude '/etc/fstab' --exclude '/etc/mtab' --exclude '/etc/network/' --exclude '/dev/' --exclude '/sys/' --exclude '/var/run/utmp' --delete

Note: This will erase anything on the new server that doesn't exist on the old one. Also note that I have only tested this method with Debian and Ubuntu.

1 comment:

zefferinohaberberger said...

However, there are some standards that point to slot machines as having a reliable likelihood of successful at play free slot machines, properly as|in addition to} high RTP, bonuses, and so on. You’ll learn how to to|learn to} pick the most effective on-line on line casino slots on this review. If the wagering necessities are fair, then on line casino bonuses are fully legit and often value taking. It is probably greatest to not claim deposit bonus codes from 1xbet on-line casinos if the playthrough necessities are exceptionally high.