Re: Mirror Server

From: Michael DeMan (michael_at_staff.openaccess.org)
Date: 06/02/03

  • Next message: Wolfpaw - Dale Corse: "RE: Mirror Server"
    Date: Mon, 02 Jun 2003 09:20:44 -0700
    To: Wolfpaw - Dale Corse <admin-lists@wolfpaw.net>, Thomas Dwyer <tom@dwyers.ca>, <freebsd-isp@freebsd.org>
    
    

    What is your performance with this? I've seen awful performance with rsync
    and big file systems. We've thought of adding the flag to only check the
    file modification date to help reduce this.

    - mike

    On 6/2/03 8:33 AM, "Wolfpaw - Dale Corse" <admin-lists@wolfpaw.net> wrote:

    > 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"
    >>
    >
    > _______________________________________________
    > 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"
    >

    Michael F. DeMan
    Director of Technology
    OpenAccess Internet Services
    1305 11th St., 3rd Floor
    Bellingham, WA 98225
    Tel 360-647-0785 x204
    Fax 360-738-9785
    michael@staff.openaccess.org

    _______________________________________________
    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"


  • Next message: Wolfpaw - Dale Corse: "RE: Mirror Server"

    Relevant Pages

    • Re: Rsync
      ... =A0One is a web/mail server and the other is a backup ... MySQL databases and use SCP to send them to the backup server. ... What about database file with holes, ... Is it save to rsync them? ...
      (comp.os.linux.networking)
    • Re: Looking for advice on rsync
      ... > etc.) you can have inconsistent versions on the backup media. ... Rsync can't do any better than a backup for that. ... client backups with rsync and FreeBSD". ... copy onf a FreeBSD server. ...
      (comp.os.linux.misc)
    • Re: Rsync
      ... =A0One is a web/mail server and the other is a backup ... MySQL databases and use SCP to send them to the backup server. ... What about database file with holes, ... Is it save to rsync them? ...
      (comp.os.linux.networking)
    • Re: Seeking Wisdom Concerning Backups
      ... I have a small server on which I need to backup the /home partition. ... tarballs get truncated at an apparent 2GB limit when using tar. ... effort into learning tar and rsync to make them work (I thought! ...
      (Debian-User)
    • Seeking Wisdom Concerning Backups
      ... I have a Barracuda Terastation Pro backup server sitting right next to it, ... I had put enough effort into learning tar and rsync to make them work (I thought! ...
      (Debian-User)