Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2015 12:52:36 -0500
From:      Bigby James <bigby.james@dimthoughts.com>
To:        freebsd-questions@freebsd.org
Cc:        Matthias Apitz <guru@unixarea.de>
Subject:   Re: dump aborted due to /etc/dumpdates on read-only file system
Message-ID:  <20150328175236.GA8485@WorkBox.Home>
In-Reply-To: <20150328093220.GA1588@c720-r276659>
References:  <20150328093220.GA1588@c720-r276659>

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




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