From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 21:18:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5630E16A41F for ; Wed, 21 Sep 2005 21:18:09 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from zhonka1.zhonka.net (zhonka1.zhonka.net [66.228.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04FA843D45 for ; Wed, 21 Sep 2005 21:18:08 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com ([66.228.196.74]) by zhonka1.zhonka.net (Post.Office MTA v3.5.3 release 223 ID# 0-58414U4500L450S0V35) with ESMTP id net; Wed, 21 Sep 2005 14:18:08 -0700 Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 8CD465857; Wed, 21 Sep 2005 14:18:04 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90508-02; Wed, 21 Sep 2005 14:18:04 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id 52BDD5856; Wed, 21 Sep 2005 14:18:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 4C8E05823; Wed, 21 Sep 2005 14:18:04 -0700 (PDT) Date: Wed, 21 Sep 2005 14:18:04 -0700 (PDT) From: Philip Hallstrom To: Cody Holland In-Reply-To: <4B3EE484EEA4F344BBB62F831648998646715E@corpsrv.RedMoon.local> Message-ID: <20050921141722.V89976@wolf.pjkh.com> References: <4B3EE484EEA4F344BBB62F831648998646715E@corpsrv.RedMoon.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at pjkh.com Cc: freebsd-questions@freebsd.org Subject: Re: Restore System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 21:18:09 -0000 > I did a full backup of a server with tar using the following command: > tar cpzf servername`date +%m%d%y`.tgz / > > I'm trying to restore it on another server with the following command: > tar -xzpf /path to backup file > > The problem I'm running into is that the original system is has an IDE > harddrive, and the new system is SCSI. I'm getting the following > errors: > dev/ad0: Can't restore device node: No such file or directory > dev/ad0s1: Can't restore device node: No such file or directory > dev/ad0s1a: Can't restore device node: No such file or directory > dev/ad0s1b: Can't restore device node: No such file or directory > dev/ad0s1c: Can't restore device node: No such file or directory > dev/ad0s1d: Can't restore device node: No such file or directory > dev/ad0s1e: Can't restore device node: No such file or directory > > Is there an easy way around this? Any help would greatly be > appreciated. Look into the --exclude option for tar... --exclude pattern Exclude files matching the pattern (don't extract them, don't add them, don't list them). just skip everything beneath /dev/ -philip