I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most of the data is various test files, perl scripts, etc. scattered all over.
On Wed, 1 Feb 2012 12:50:00 -0600 Matt wrote:
I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most of the data is various test files, perl scripts, etc. scattered all over.
tar?
Matt wrote:
I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most of the data is various test files, perl scripts, etc. scattered all over.
tar?
If possible, save and install old drive into new server and mount when/if you need something.
On Wed, Feb 1, 2012 at 12:50 PM, Matt matt.mailinglists@gmail.com wrote:
I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most of the data is various test files, perl scripts, etc. scattered all over.
Yes, with new machines typically having many orders of magnitudes more storage than old ones it is easier to keep a backup of old stuff online than to sort through it. If both machines are still running, on the old one, cd to /, then rsync -av . new_machine:/path/to/save perhaps using --exclude to avoid the /proc and /sys directories. Rsync will create the last directory in the target path if it doesn't exist, but only the last one.
I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most of the data is various test files, perl scripts, etc. scattered all over.
Yes, with new machines typically having many orders of magnitudes more storage than old ones it is easier to keep a backup of old stuff online than to sort through it. If both machines are still running, on the old one, cd to /, then rsync -av . new_machine:/path/to/save perhaps using --exclude to avoid the /proc and /sys directories. Rsync will create the last directory in the target path if it doesn't exist, but only the last one.
That worked great. Thanks.