From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 18:08:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83B16EFA for ; Sat, 28 Mar 2015 18:08:10 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.163]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F12419C for ; Sat, 28 Mar 2015 18:08:09 +0000 (UTC) Received: from WorkBox.Home (184-100-67-185.mpls.qwest.net [184.100.67.185]) by mx.zohomail.com with SMTPS id 1427565159442571.4502020161091; Sat, 28 Mar 2015 10:52:39 -0700 (PDT) Date: Sat, 28 Mar 2015 12:52:36 -0500 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: dump aborted due to /etc/dumpdates on read-only file system Message-ID: <20150328175236.GA8485@WorkBox.Home> References: <20150328093220.GA1588@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150328093220.GA1588@c720-r276659> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Matthias Apitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 18:08:10 -0000 On 03/28, Matthias Apitz wrote: > > Hello, > > I did a dump of the read-only root fs (in single user mode) and at the > end it said: > > ... > DUMP: finished in 9837 seconds, throughput 3766 KByte/sec > DUMP: cannot rewrite /etc/dumpdates: Read-only file system > DUMP: The ENTIRE dump is aborted. > > I know, I could have specified with -D ... another file, but I did not. > The written dump file looks fine (I can read it with restore -t -f ...). > > My question is: Is the dumpfile fine, despite of the above message. > > Thanks > > matthias The dump file may be fine (I still too new to FreeBSD to say for certain), but you may wish to make another just to be safe. The dumpdates file is used to record when a dump was made and which level was used for the dump, and so is really only important if you want to make incremental backups. You can either specify a different, modifiable dumpdates file with the '-D' flag if you want to perform incremental backups, or just make full backups each time by excluding the '-u' flag and a level specification when making the dump. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams