From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 14:48:04 2005 Return-Path: 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 D4B6B16A4CE for ; Fri, 21 Jan 2005 14:48:04 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 321CC43D4C for ; Fri, 21 Jan 2005 14:48:04 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id j0LEorZ1077884; Fri, 21 Jan 2005 15:50:53 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id j0LEoq1k077883; Fri, 21 Jan 2005 15:50:52 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Fri, 21 Jan 2005 15:50:52 +0100 From: Ruben de Groot To: "Roger 'Rocky' Vetterberg" Message-ID: <20050121145052.GB77707@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Roger 'Rocky' Vetterberg , FreeBSD Questions References: <41EBB986.7080402@401.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EBB986.7080402@401.cx> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on ei.bzerk.org cc: FreeBSD Questions Subject: Re: running restore non-interactive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 14:48:04 -0000 On Mon, Jan 17, 2005 at 02:11:34PM +0100, Roger 'Rocky' Vetterberg typed: > Hi list. > > Im trying to setup a machine to mirror its entire drive using > dump/restore to a secondary drive. > The dump works fine, but at the end of each session, restore always > asks "set owner/mode for '.'"?. This makes it impossible to automate > the task, which is what I would to accomplish. What exact commands are you using? I have scripts doing cd /mnt/drive2/partitionX dump 0aLf - /partitionX | restore rf - without being asked anything. > I have read the man-page, browsed the internet and searched trough > mailinglist archives, but nowhere have I found a way to make restore > assume that the answer to the question should be 'yes'. I have come > across a few patches floating around that is supposed to fix this, > but I would prefer not to use patches against the base system. > > I know that there are other utilities available that could > probably do this, but Ive been teached that you should always use > dump when doing full backups of the root filesystem, and Im also > comfortable using dump and restore so I would like to continue to do > so if possible. > > Any ideas or suggestions? > > -- > R > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"