From owner-freebsd-questions Fri Sep 19 20:03:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA28409 for questions-outgoing; Fri, 19 Sep 1997 20:03:47 -0700 (PDT) Received: from gdi.uoregon.edu ([128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA28404 for ; Fri, 19 Sep 1997 20:03:43 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id UAA00375; Fri, 19 Sep 1997 20:03:33 -0700 (PDT) Date: Fri, 19 Sep 1997 20:03:33 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: User Al Johnson cc: freebsd-questions@FreeBSD.ORG Subject: Re: Backup alternatives In-Reply-To: <34207F19.B94FE8FF@AJC.State.Net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 17 Sep 1997, User Al Johnson wrote: > I'm in dire need of upgrading one of my systems to 2.2-Stable from > 2.2.2.-RELEASE. > I'm going to attempt a "simple" upgrade process since it would take more > than 20 hours > to compile it from source (486/66 16MB) and I can't afford to have my > nfs, web, ftp, > real video, cuseeme server down for that long. I have a scsi Travan 4 > drive on a remote > system (3.0-SNAP) that I want to back up. What would be the best way to > go about it? > tar? dump? something else? Moving the CD? For periodic backups like this, rdump works pretty well. It's *very* picky about output from login scripts, so pick an account on the 3.0 box and strip out any terminal-based information (or keep to minumum) and make sure the user has access to the tape device and rdump on the destination box. > I've done a backup of the local system to the drive using dump but had > to add some options > to wait until the drive returned eot, otherwise it didn't know the tape > length and kept telling > me I was out of tape after a mere 400MB was written. You'll need to do the same thing here or else you'll end up with the same problem. Use the -B and -b options to specify a tape size way to big for the tape; it'll prompt when it hits end-of-tape. We use this script to dump from our primary web server to a machine with a QIC3020 SCSI tape. We got hung up on rsh and permissions issues tho, and the errors from rdump are quite cryptic. This is set for a 2GB drive, so adjust accordingly. # backup rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 / rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /var rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /usr rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/rst0 /usr1 Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo