From owner-freebsd-questions Tue Jan 21 8:26:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4C1537B401 for ; Tue, 21 Jan 2003 08:26:49 -0800 (PST) Received: from mail.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3858143F7C for ; Tue, 21 Jan 2003 08:26:40 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by mail.adelphia.net (8.12.3/8.12.3) with ESMTP id h0LGS0ko001324; Tue, 21 Jan 2003 11:28:00 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E2D74A7.8090807@potentialtech.com> Date: Tue, 21 Jan 2003 11:26:15 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kenzo Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dump question References: 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 Kenzo wrote: > I was wondering if anyone could tell me what would get backed up when I > issue this command. > dump -0u -f /NT/FreeBSD/012103 / > > basically I want to do a full backup of everything in the root dir to > /NT/FreeBSD/012103 which is a mounted drive. > > so does this backup everyting on the comp? > like when I do cd / and ls > I see bin, boot, dev, etc, home , etc..... > does all this get backed up? Probably not, but it depends on your partition scheme. dump backs up filesytems, it does not traverse mount points. So if you have your partitions split up in the default manner that sysinstall uses, you probably are only backing up /, /root, /etc, and maybe a few others. /usr, /var, /tmp, and /home are usually on different partitions, so you'll need additional commands to back those up. Of course, if you made your whole drive one big partition, then the dump command above _will_ back up the whole hard drive. Or you could use tar, which does cross mountpoints. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message