From owner-freebsd-questions Sun Dec 3 19:12:15 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 3 19:12:13 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (cm-24-246-28-166.toney.mediacom.ispchannel.com [24.246.28.166]) by hub.freebsd.org (Postfix) with ESMTP id 7168137B400 for ; Sun, 3 Dec 2000 19:12:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id eB43BuS08421; Sun, 3 Dec 2000 21:11:57 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200012040311.eB43BuS08421@grumpy.dyndns.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "Allan Dib" Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: tape drive commands In-reply-to: Message from "Allan Dib" of "Mon, 04 Dec 2000 12:20:24 +1000." <00e001c05d98$c4cf8380$10354d0a@admin1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 03 Dec 2000 21:11:56 -0600 Sender: dkelly@grumpy.dyndns.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Allan Dib" writes: > Hiya all, > > What commands are ther available for tape drives (especially backups) on a > FreeBSD 4.1.1 system. I have used "tar" but it hasn't been 100% successful. > I think I need to first format a tape. What commands are there to format > tapes / retension etc...\ % man mt Can't help much more as you don't really give us much to go on. Such as what kind of tape is it? Tape drive? Interface? Are you sure FreeBSD recognizes the device? If so, what device name did you try with tar? And what about tar was less than 100% successful? Was it 95%? Or 0%? And what are you trying to backup? User files? Or the whole enchilada? DDS (DAT), 8mm, and others, do not need or have a "format" required before their use. In addition to tar there are two other utilities commonly used for backup, dump and pax. If you want the best possible backup of your system then I recommend using dump from single user mode. In single user mode you'd do something like this: # mt -t /dev/nsa0 rewind # dump 0af /dev/nsa0 / # mount -ro /var # dump 0af /dev/nsa0 /var # mount -ro /usr # dump 0af /dev/nsa0 /usr ... Having a backup/dump of the entire system is nice to have. However a backup of /etc, /var, and /home, results in most all of the important stuff which is not on the CDROM. These filesystems (or directories) archive with tar very easily. A snapshot on a running system is usually perfectly satisfactory. But first you have to figure out what your other problem is. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message