Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C771318B9F for ; Mon, 3 Aug 2015 17:19:22 +0000 (UTC) Received: (qmail 83096 invoked by uid 500); 3 Aug 2015 17:19:22 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 83062 invoked by uid 500); 3 Aug 2015 17:19:22 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 83052 invoked by uid 99); 3 Aug 2015 17:19:21 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 17:19:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4F186C072B for ; Mon, 3 Aug 2015 17:19:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.979 X-Spam-Level: X-Spam-Status: No, score=0.979 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GsW2n2_smDUS for ; Mon, 3 Aug 2015 17:19:19 +0000 (UTC) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.29.23]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 68F3224E13 for ; Mon, 3 Aug 2015 17:19:19 +0000 (UTC) Received: from [67.198.113.253] (helo=poppins.internal.rootmac.net) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1ZMJOK-0002K7-Nz; Mon, 03 Aug 2015 19:19:12 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: SVN Recovery from raw db files From: Ryan Schmidt In-Reply-To: Date: Mon, 3 Aug 2015 12:19:10 -0500 Cc: Subversion Users Content-Transfer-Encoding: quoted-printable Message-Id: <404ABC92-8F96-4E16-ADB2-91C61D2AE9E4@ryandesign.com> References: To: Tim Tornid X-Mailer: Apple Mail (2.2104) X-Df-Sender: MzY4ODE4 On Aug 2, 2015, at 9:10 PM, Tim Tornid wrote: > I had a catastrophic Subversion server loss, and I'm having some = troubles recovering. The server was using VisualSVN 3.2.3 which is = Apache Subversion 1.8.13. >=20 > I have a full exact duplicate of the repositories directory, but it's = giving me 'invalid name for 'fsfs' when I copy them back in. I realize = the automation going on should have been utilizing dumps or svnadmin = hotcopy. >=20 > I have tried copying the /rev and /revops folders into a new = repository but I'm getting an error: "Can't get the author of r1: = Serialized hash malformed". I've tried fsfsverify, svnadmin recover, and = even the Oracle Berkeley db_recover tool. >=20 > After I added the rev/ and revops/ files to a new repository, and = modified the db/current file to the latest revision, I =E2=80=93can- = actually see the files. I just can't see the author nor date of the = revision in the web. When I try to checkout I get "Found malformed = header 'P ' in revision file. When I run =E2=80=9Csvnadmin verify=E2=80=9D= I get: ' in revision file Found malformed header 'P. >=20 > Does anyone have any idea of how I can recover these repositories? I = can package them and send them out if you believe you can help. Perhaps the developers more familiar with Subversion's internals will = have another viewpoint, but I would refrain from attempting to shoehorn = files from the internals of one repository into another repository. In = my years on this list I've never heard of anybody trying that. It's not = meant to be done. There are too many variations in the way the internals = of the repository could be arranged and formatted.=20 I'd start from the error you mentioned: "invalid name for 'fsfs'". I = can't find such an error message in Subversion. I found an error = "Invalid name for FS type '%s'"; is that what you saw? When exactly did = you see the error: what commands had you run?