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

RE: New subversion version on new server?

From: Peter Hartlén <peter.hartlen_at_sib.se>
Date: 2006-08-10 10:27:24 CEST

Greetings Andreas, thanks for your reply!

Unfortunately we used a simple rsync to "backup" the svn repository files,
this will ofc change in the new server with help from the information you
provided.

The bad thing is that we only kept a 2 week backup of the backupfiles, and
the error ofc happened during vacation, which was longer than 2 weeks. My
best guess is that the oldest backup is a rsync of the repository with the
corrupt file(s), meaning these file(s) are missing as the blocks the reside
in cannot be read.

1. What happens if I do a "svnadmin dump" on a rsync copy of a real
repository?

2. As one of the repositories has a corrupt file block within atleast one of
the db log files (possibly other files as well), is there anything we can do
to solve this?

3. Would a good "backup" solution be to run a svn dump on all repositories
on a daily basis? We'll also keep the backups for several months now :)

 / Peter

-----Original Message-----
From: Andreas Schweigstill [mailto:andreas@schweigstill.de]
Sent: Wednesday, August 09, 2006 11:44 AM
To: users@subversion.tigris.org
Subject: Re: New subversion version on new server?

Dear Peter!

Peter Hartlén schrieb:
>> Would there be any problems with copying the repositories from the old
>> machines backup to the new machine with the new version of SubVersion
>> (1.3.2)?

>Yes, especially if you use BDB for the repository. It is very important to
perform a "svn >dump" with the old BDB version. If your database is
corrupted you should try to fix it on >the old system before doing an
upgrade.

The output from "svn dump" can be loaded afterwards by any kind of database
backend. So you can perform a "svn load" also on a FSFS based repository.
Only "svn sync" (on Subversion 1.4 and above) assumes that the same
repository type is used on all mirrors.

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 10 10:28:48 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.