Date: Fri, 19 Sep 1997 20:03:33 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: User Al Johnson <Al.Johnson@AJC.State.Net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Backup alternatives Message-ID: <Pine.BSF.3.96.970919195956.280F-100000@localhost> In-Reply-To: <34207F19.B94FE8FF@AJC.State.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970919195956.280F-100000>