From owner-freebsd-questions Fri May 10 6:29:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 959AA37B404 for ; Fri, 10 May 2002 06:29:47 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g4ADTkU08231; Fri, 10 May 2002 09:29:46 -0400 Message-ID: <3CDBCC7F.3040904@potentialtech.com> Date: Fri, 10 May 2002 09:34:55 -0400 From: Bill Moran Organization: Potential Technologies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Len Zettel Cc: questions@FreeBSD.org Subject: Re: using dump References: <3CD5EC00.25D0C2@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Len Zettel wrote: > It's not like I really know what I am doing or anything--- > > My first priority in setting up FreeBSD 4.5 was to get my > printer going well enough that I could get hard copy of > things like file listings and man pages. That is going > satisfactorily. > > Next priority is system backup. Per the handbook I am trying to > use dump, but not to tape - I don't have a decent tape drive. > However, I *do* have my system set up with mounting frames so > that I can freely swap hard drives. Figure that ought to > do reasonably well. (Anybody got any pointers/experience on > hot swapping hard drives under FreeBSD?) > > At the moment my system is on a 6 GB hard drive. I seem to have > succeeded in formatting a 40 GB hard drive as the slave on the > same controller. > > So we do > mount /dev/ad1s1e /mnt > and it's there. > > Then we do > dump -0u -f /mnt/usr/backup0 /usr Use the -a flag to dump in addition to your other flags, that way dump won't prompt to switch volumes. Otherwise it tries to pre- caclulate how much data it can fit per tape. This isn't really apropriate when you're dumping to another HDD. > > and get > > DUMP: Date of this level 0 dump: Sun May 5 21:52:36 2002 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping /dev/ad0s1g (/usr) to mnt/usr/backup0 > DUMP: mapping (Pass 1)[regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 746212 tape blocks on 19.16 tape(s). > DUMP: dumping (Pass III) [directories] > DUMP: Closing /mnt/usr/backup > DUMP: Change Volumes: Mount volume #2 > DUMP: Is the new volume mounted and ready to go? ("yes" or "no") no > DUMP: Do you want to abort? ("yes" or "no") yes > DUMP: THe ENTIRE dump is aborted. > > then > ls -l /mnt/usr > -rw-r--r-- 1 root wheel 39260160 May 5 21:53 backup 0 > > So: How far did I get? What is a good way to check what is or > is not in backup0? > > What should I be doing to get the backup I want (preferably > without novice-confusing error messages)? > > Should I be doing something else entirely? > > Any advice would be appreciated. > -LenZ- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message