From owner-freebsd-isp@FreeBSD.ORG Mon Jun 2 08:18:41 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD6737B43A for ; Mon, 2 Jun 2003 08:18:41 -0700 (PDT) Received: from alcatraz.wolfpaw.net (alcatraz.wolfpaw.net [204.209.44.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 94D1643FA3 for ; Mon, 2 Jun 2003 08:18:37 -0700 (PDT) (envelope-from admin-lists@wolfpaw.net) Received: (qmail 26094 invoked by uid 0); 2 Jun 2003 15:18:35 -0000 Received: from unknown (HELO wolf) (216.123.201.128) by 0 with SMTP; 2 Jun 2003 15:18:35 -0000 From: "Wolfpaw - Dale Corse" To: "Thomas Dwyer" , Date: Mon, 2 Jun 2003 09:33:06 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <000a01c3290f$61ef0b10$020010ac@protechnologies> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Subject: RE: Mirror Server X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:18:41 -0000 Hi Tom, I use this to mirror one of our servers to another disk in the same machine. How we did it was we installed FreeBSD on that disk in another machine, and then put it in the main server.. now we just run this script periodically, and we have a backup solution :) Hope it helps :) D. #!/bin/sh # Rsync Backup Script export PATH=/usr/local/bin:/usr/bin:/bin LIST="bin dev etc lib mnt sbin usr boot dbu home root tmp var" echo "Copying files.." #Loop thru the list for d in $LIST; do echo -n "... COPYING: /$d/" /usr/local/bin/rsync --delete -ax /$d/ /disk2/mirror/$d/ echo " " done echo "Backup Complete .. Exiting." -------------------------------- Dale Corse System Administrator Wolfpaw Services Inc. http://www.wolfpaw.net (780) 474-4095 > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Thomas Dwyer > Sent: Monday, June 02, 2003 8:01 AM > To: freebsd-isp@freebsd.org > Subject: Mirror Server > > > Hello; > > I would like to setup a backup server to replace the main > server should a disaster occur. I have experimented abit > with rsync and it looks like it would do the job. > > My question is; what files or binaries should not, or > cannot be replicated? Obviously the kernel should be separate. > > I want to be able to take the backup, plug it in where the > primary was, change the IP and everything would be as it > was up until the point of the last rsync. > > Thanks > Tom > _______________________________________________ > 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" >