Re: fastest way to duplicate production server?
From: Freddie Cash (fcash_at_ocis.net)
Date: 07/13/05
- Previous message: lars: "Re: fastest way to duplicate production server?"
- In reply to: RC: "fastest way to duplicate production server?"
- Next in thread: Darren Pilgrim: "RE: fastest way to duplicate production server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-isp@freebsd.org Date: Tue, 12 Jul 2005 15:06:11 -0700
On July 12, 2005 02:45 pm, RC wrote:
> We have a production FreeBSD 4.10 server running old versions of
> Apache/MySQL/PHP from ports. We'd like to upgrade Apache/MySQL/PHP
> to the latest versions. Before upgrading we'd like to test on a
> test box.
> What's the fastest way of duplicating the existing Apache/MySQL/PHP
> (including user databases)? (The production server cannot go down
> for more than a few seconds.)
1. dump / restore (probably not feasible on 4.x since there's no
snapshots)
2. do a minimal install on the new box and rsync everything over from the
live box
3. use bsdtar and an ssh tunnel to copy everything over from the old box
4. install dar and use that to archive everything, transfer the archive
over to the new box and restore it there
5. buy a harddrive cloner (only feasible if the box can be done for a
while)
6. dd over an ssh tunnel may also work
I've used a variations of 3 (giant tarball of the whole drive burned to CD)
and 4 (giant dar archive of the whole drive copied around the network)
with great success.
-- Freddie Cash fcash@ocis.net _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: lars: "Re: fastest way to duplicate production server?"
- In reply to: RC: "fastest way to duplicate production server?"
- Next in thread: Darren Pilgrim: "RE: fastest way to duplicate production server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]