FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-01-2012, 05:50 PM
Matt
 
Default Updating/Backing Up Server

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.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-01-2012, 06:20 PM
Frank Cox
 
Default Updating/Backing Up Server

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?

--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-01-2012, 06:30 PM
Ken godee
 
Default Updating/Backing Up Server

> 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.




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-01-2012, 07:16 PM
Les Mikesell
 
Default Updating/Backing Up Server

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.

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-01-2012, 11:25 PM
Matt
 
Default Updating/Backing Up Server

>> 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.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org