LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-13-2008, 01:58 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Moving Server Data >> New Server


I am migrating some files and folder data to our new email server and was wondering what the best way to do this would be. I know there are several options and they all have they're advantages but I wanted to ask here and see what everyone recommended.

I have a directory called:

/var/lib/mailman/lists/ and there are many sub directories in lists/ so I want take everything that is /var/lib/mailman/lists on server_old and mirror the identical directory (already exist) on server_new.

I was told I should simply tar cvjfp /tmp/lists.tar.bz2 from the lists directory on server_old and then scp over to server_new and extract. Is this the best or can I simply use rsync or something like that?

Thanks for any suggestions!
 
Old 06-13-2008, 02:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
In my opinion, rsync simplifies the process and eliminates the extra step of creating the tarball and then copying it over. You simply sync it up with the rsync command.
 
Old 06-13-2008, 03:55 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Will rsync also retain permissions from server_old to server_new?
 
Old 06-13-2008, 09:51 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Carlwill View Post
Will rsync also retain permissions from server_old to server_new?
Yup, you have that option with rsync.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync Server Data to Another Server carlosinfl Linux - Server 3 05-02-2008 08:47 AM
Moving a server to another part of network and still keeping it as a server paolopunzalan Linux - Networking 6 09-26-2007 09:13 PM
Moving a server rtcary Linux - General 4 05-10-2005 08:31 PM
copying/moving stalls when moving a lot of data to a usb stick =X¥®µ§= Linux - Hardware 10 07-30-2004 05:29 AM
Moving from Server to Server Question Amaris4GOW Linux - General 8 07-20-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration