Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-11 Thread Les Mikesell
On Tue, Jul 10, 2012 at 11:59 PM, Emmanuel Noobadmin centos.ad...@gmail.com wrote: On 7/11/12, Les Mikesell lesmikes...@gmail.com wrote: Hours? This should happen in the time it takes to transfer a directory listing and read through it unless you used --ignore-times in the arguments. If you

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread Emmanuel Noobadmin
On 7/9/12, Les Mikesell lesmikes...@gmail.com wrote: One thing that helps is to break it up into separate runs, at least per-filesystem and perhaps some of the larger subdirectories. Depending on the circumstances, you might be able to do an initial run ahead of time when speed doesn't matter

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread Emmanuel Noobadmin
On 7/10/12, aurfalien aurfal...@gmail.com wrote: I do dump/restores fir this sort of thing. Thanks for this, I didn't know there was such a command until now! But it looks like it should work for me since bulk of the data are usually in /home which is a separate fs/mount usually. I can always

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread John R Pierce
On 07/09/12 11:39 PM, Emmanuel Noobadmin wrote: On 7/10/12, aurfalien aurfal...@gmail.com wrote: I do dump/restores fir this sort of thing. Thanks for this, I didn't know there was such a command until now! But it looks like it should work for me since bulk of the data are usually in /home

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread Emmanuel Noobadmin
On 7/10/12, John R Pierce pie...@hogranch.com wrote: dump should not be used on mounted file systems, except / in single user. Aha, thanks for the warning! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread John R Pierce
On 07/10/12 12:06 AM, Emmanuel Noobadmin wrote: On 7/10/12, John R Pierce pie...@hogranch.com wrote: dump should not be used on mounted file systems, except / in single user. Aha, thanks for the warning! IF you're using LVM, you can take a file system snapshot, and dump the snapshot,

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread Les Mikesell
On Tue, Jul 10, 2012 at 1:36 AM, Emmanuel Noobadmin centos.ad...@gmail.com wrote: On 7/9/12, Les Mikesell lesmikes...@gmail.com wrote: One thing that helps is to break it up into separate runs, at least per-filesystem and perhaps some of the larger subdirectories. Depending on the

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-10 Thread Emmanuel Noobadmin
On 7/11/12, Les Mikesell lesmikes...@gmail.com wrote: Hours? This should happen in the time it takes to transfer a directory listing and read through it unless you used --ignore-times in the arguments. If you have many millions of files or not enough RAM to hold the list I suppose it could

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-09 Thread Tilman Schmidt
Phil Savoie wrote: On 07/08/2012 06:48 PM, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. If you need detailed instructions, I can send you that! Yes, please!

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-09 Thread Les Mikesell
On Mon, Jul 9, 2012 at 12:34 AM, Emmanuel Noobadmin centos.ad...@gmail.com wrote: On 7/9/12, Micky mickylmar...@gmail.com wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. The

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-09 Thread aurfalien
On Jul 8, 2012, at 10:34 PM, Emmanuel Noobadmin wrote: On 7/9/12, Micky mickylmar...@gmail.com wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. The problem I found with rsync

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-09 Thread m . roth
aurfalien wrote: On Jul 8, 2012, at 10:34 PM, Emmanuel Noobadmin wrote: On 7/9/12, Micky mickylmar...@gmail.com wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. The problem I

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-09 Thread John Austin
On Mon, 2012-07-09 at 09:00 -0700, aurfalien wrote: On Jul 8, 2012, at 10:34 PM, Emmanuel Noobadmin wrote: On 7/9/12, Micky mickylmar...@gmail.com wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Micky
The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. If you need detailed instructions, I can send you that! On Tue, Jun 19, 2012 at 10:44 AM, Les Mikesell lesmikes...@gmail.comwrote: On

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Phil Savoie
On 07/08/2012 06:48 PM, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. If you need detailed instructions, I can send you that! Yes, please! Could you either post here to

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Joseph Spenner
On Jul 8, 2012, at 6:57 PM, Phil Savoie psavoie1...@rogers.com wrote: On 07/08/2012 06:48 PM, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. If you need detailed

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread John R Pierce
On 07/08/12 7:14 PM, Joseph Spenner wrote: What is running on the server? You might be able to get away with a dd, to build a duplicate disk. This disk can be directly attached or on another server tunneled through ssh. or setup a drbd replica, wait for it to replicate, then stop the

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Phil Savoie
On 07/08/2012 10:14 PM, Joseph Spenner wrote: On Jul 8, 2012, at 6:57 PM, Phil Savoiepsavoie1...@rogers.com wrote: On 07/08/2012 06:48 PM, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread John R Pierce
On 07/08/12 8:20 PM, Phil Savoie wrote: Centos 5.8 and Centos 6.2 servers. A duplicate disk is not what I am after as I cannot always replace with exact drives, i.e., same make, model, size, etc. note that there's a lot of things where file by file, or even sector by sector, duplicates are

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Emmanuel Noobadmin
On 7/9/12, Micky mickylmar...@gmail.com wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. The problem I found with rsync is that it is very slow when there are a lot of small files.

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Emmanuel Noobadmin
On 7/9/12, John R Pierce pie...@hogranch.com wrote: On 07/08/12 7:14 PM, Joseph Spenner wrote: What is running on the server? You might be able to get away with a dd, to build a duplicate disk. This disk can be directly attached or on another server tunneled through ssh. or setup a drbd

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-07-08 Thread Nikolaos Milas
On 9/7/2012 1:48 πμ, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. We are using mondorescue (mondoarchive and mondorestore). Works fine and supports many ways of archiving/restoring, LVM etc. I recommend it. Good

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-19 Thread Cal Sawyer
Subject: Re: [CentOS] Best way to duplicate a live Centos 5 server? To: CentOS mailing list centos@centos.org On Mon, Jun 18, 2012 at 11:21 AM, Cal Sawyer ca...@blue-bolt.com wrote: ReaR has suddenly become very interesting to me, probably explaining why it utterly fails to work properly

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-19 Thread Les Mikesell
On Tue, Jun 19, 2012 at 12:03 PM, Cal Sawyer ca...@blue-bolt.com wrote: You're right - documentation is pretty dire.  Guess i'm not alone in hating doing it. Yes, I really, really wish the stuff they are doing was documented, somewhere, anywhere. Not just how to use the program itself which

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-18 Thread Cal Sawyer
From: Les Mikesell lesmikes...@gmail.com Subject: Re: [CentOS] Best way to duplicate a live Centos 5 server? To: CentOS mailing list centos@centos.org On Fri, Jun 8, 2012 at 12:04 PM, Scott Silva ssi...@sgvwater.com wrote: Am I missing something glaringly obvious here, or is the only way

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-18 Thread Les Mikesell
On Mon, Jun 18, 2012 at 11:21 AM, Cal Sawyer ca...@blue-bolt.com wrote: ReaR has suddenly become very interesting to me, probably explaining why it utterly fails to work properly (for me).I'm using 1.13 to pull a USB-based recovery image, but there's an error in the

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-14 Thread Emmanuel Noobadmin
On 6/14/12, Smithies, Russell russell.smith...@agresearch.co.nz wrote: How about using one of the backup tools to image the server? We use Symantec System Recovery and image all the disks. We then have the option of restoring to different hardware (physical or virtual) which works very well.

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-14 Thread Les Mikesell
On Thu, Jun 14, 2012 at 2:32 AM, Emmanuel Noobadmin centos.ad...@gmail.com wrote: On 6/14/12, Smithies, Russell russell.smith...@agresearch.co.nz wrote: How about using one of the backup tools to image the server? We use Symantec System Recovery and image all the disks. We then have the option

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-13 Thread Tris Hoar
On 08/06/2012 17:33, Emmanuel Noobadmin wrote: I've got a CentOS 5 server that I want to migrate over into a virtualized instance. The problem is I need to minimize downtime so was trying to figure out a way to live clone the original. Initially, I thought I could do this via exporting an

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-13 Thread Emmanuel Noobadmin
I'm using KVM so didn't have the tool. While Les' suggestion looked like it was going to be pretty useful for a variety of backup/restore situations, I didn't know if I had the time to go through the docs and get things working in time. So in the end I went with the repeated rSync method Scott

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-13 Thread Smithies, Russell
/trialware.jsp?pcid=pcat_business_contpvid=1602_1 --Russell -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Emmanuel Noobadmin Sent: Thursday, 14 June 2012 2:36 a.m. To: CentOS mailing list Subject: Re: [CentOS] Best way to duplicate a live

[CentOS] Best way to duplicate a live Centos 5 server?

2012-06-08 Thread Emmanuel Noobadmin
I've got a CentOS 5 server that I want to migrate over into a virtualized instance. The problem is I need to minimize downtime so was trying to figure out a way to live clone the original. Initially, I thought I could do this via exporting an iSCSI target from the virtual host, create a MD raid 1

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-08 Thread Scott Silva
on 6/8/2012 9:33 AM Emmanuel Noobadmin spake the following: I've got a CentOS 5 server that I want to migrate over into a virtualized instance. The problem is I need to minimize downtime so was trying to figure out a way to live clone the original. Initially, I thought I could do this via

Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-08 Thread Les Mikesell
On Fri, Jun 8, 2012 at 12:04 PM, Scott Silva ssi...@sgvwater.com wrote: Am I missing something glaringly obvious here, or is the only way I'm going be able to migrate is to shutdown the C5 server for a few hours while duping the old drives? Would greatly appreciate any pointers how best to do