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

Re: moving a repository

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-10 13:22:22 CEST

>> Hi,
>>
>> I need to move a repository from a corrupt harddrive to my new one. Is
>> this as simple as copying the repository folder, or is there more to it?

Assuming you can still actually read the files at all, just copy it.

Samay wrote:
> If its a corrupt HDD, then you cant really ensure that copy is free of
> data
> corruption! also copying Repo folder will also depend what backend type u
> use? BDB or FSFS. All my repos are FSFS only, to ensure archiving and
> backups/restores are easy.
>
> I suggest a "svnadmin dump" on the failing machine, but store it on a
> different HDD and then "svnadmin load" on ur new HDD to populate the repo.
> that will also ensure that ur repository is free of corruption.
>
> of course, if i m in correct above, please feel free to correct.

There is a grain of truth in the above, in that if you copy the repos to a
different machine, and it is BDB, it would greatly simplify things to have
the same BDB version.
But I wouldn't suggest stuggling to svnadmin dump something on a doomed HD.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 10 13:25:50 2005

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.