[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN Error:"Database Disk image is malformed"

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Thu, 29 Oct 2009 04:55:43 +0300

2009/10/23 Sakshi Kaul <Sakshi.Kaul_at_kpitcummins.com>
>
> Hi,
>
> We are using SVN for Configuration Management and one of our project team is facing an issue while committing to SVN.
>
> Issue: DATABASE DISK IMAGE MALFORMED
>
> Please have a look at screen shot below.
>
> Please help us on this.
>
> Thanks & Regards,
>
> Sakshi Kaul
>

> From: Konstantin Kolinko [mailto:knst.kolinko_at_gmail.com]
> Sent: Friday, October 23, 2009 3:31 PM
>
> 2. It looks like a server-side issue. Please tell us:
> 1) what protocol you are using to connect to the server
> (file:, http:, https:, svn:)
> 2) what software is installed on the server
> (OS, what version of subversion)
> 3) some details of your server repository configuration,
> starting with whether it is using FSFS or BDB repository format.
>
> I think that others will ask further questions.
>

> 2009/10/26 Sakshi Kaul <Sakshi.Kaul_at_kpitcummins.com>:
> Hi,
>
> Please find Below the reply.
>
> 1) what protocol you are using to connect to the server
> (file:, http:, https:, svn:) :-
> We use https
> 2) what software is installed on the server
> (OS, what version of subversion) :-
> OS is windows server 2003.
> the svn version is visualsvn 2.0.7.
> 3) some details of your server repository configuration,
> starting with whether it is using FSFS or BDB repository format .
> I am sure about the repository format.
>
> This is getting critical. Please help us urgently.
>
>
> Thanks & Regards,
> Sakshi Kaul
> Productivity Management Group.
>

I have done some search on what other SQLite users do in such a
case (not Subversion users, but those, who use the SQLite database directly).

The summary is the following:

1) Once you see the "Database disk image malformed" error, your
database is broken and cannot be fully repaired. See e.g.
http://www.sqlite.org/faq.html#q21

2) If you were using SQLite directly, you could recover *some* data
(some tables) from such broken database (using SQLite database dump
and load commands). In your case that is unacceptable, because
subversion cannot use partial data. Full database recovery is still
not possible.

Thus the only way is to create a new subversion repository and restore
it from your backups.

Even if you do not have backups, I think that the current repository
is still readable. You can try to create a copy of it, using svnadmin
dump + load, or svnsync. See the SVN Book for details.

PS: When replying to this list, please explicitly include CC: to
users_at_subversion.tigris.org . Usually that is done by pressing "Reply
to All" in your e-mail program. Otherwise the reply will not reach the
List.

Best regards.
Konstantin Kolinko

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2412354

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-29 02:56:33 CET

This is an archived mail posted to the Subversion Users mailing list.