Subject: Re: "DUMP: The ENTIRE dump is aborted."
To: None <netbsd-help@NetBSD.org>
From: Henry Nelson <netb@yuba.ne.jp>
List: netbsd-help
Date: 06/18/2006 08:30:19
On Sat, Jun 17, 2006 at 09:29:43AM -0400, Chuck Swiger wrote:
> Henry Nelson wrote:
> [ ... ]
> > DUMP: Date of this level 0 dump: Sat Jun 17 21:57:25 2006
> > DUMP: Date this dump completed: Sat Jun 17 21:57:27 2006
> > DUMP: Average transfer rate: 2772 KB/s
> > DUMP: Broken pipe
> > DUMP: The ENTIRE dump is aborted.
> >
> > Why those last two lines?
>
> That implies that the restore process closed the pipe before dump expected it
> to, or possibly that the restore process exitted uncleanly with an error...?
>
> Perhaps try:
>
> dump -f - /var | (cd /mnt; restore -rf - && sleep 5 \
> || echo "somethings wrong with restore!"; true)
>
> ...to see what's going on?
>
> (If adding just the sleep fixes the problem, someone should change the SIGPIPE
Sleep fixed the problem. Do you think I should send a pr? That message
"The ENTIRE dump is aborted." gives the impression, to me anyway, that the
operation failed, and therefore the dumped data is incomplete or unreliable.
> > Is there some tool for checking the backup?
>
> diff -r
That worked great! ("Only in /backup/xxx: restoresymtable")
Thanks a lot.
--
henry nelson
WWW_HOME=http://yuba.ne.jp/~home/