Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 15:50:52 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        "Roger 'Rocky' Vetterberg" <listsub@401.cx>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: running restore non-interactive
Message-ID:  <20050121145052.GB77707@ei.bzerk.org>
In-Reply-To: <41EBB986.7080402@401.cx>
References:  <41EBB986.7080402@401.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121145052.GB77707>