Discussion:
I get Unknown FS type 'fsfs' after restoring repository
Dean Schulze
2007-05-25 18:01:15 UTC
Permalink
I restored my svn repository from backup after a hard drive crash. I just installed TortoiseSVN 1.4.3 and when I try to check out from the restored repository I get

Error: Unable to open an ra_local session to URL
Error: Unable to open repository 'file:///C:/dean/svn.repositories/src.repos'
Unknown FS type 'fsfs'

I get the same messages when I try to import the repository.

I believe the repository was created with svn version 1.2.

Do I have to do something like creating a new repository and then restoring the backup into the new repository?

Thanks.



---------------------------------
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
Stefan Küng
2007-05-27 10:12:46 UTC
Permalink
Post by Dean Schulze
I restored my svn repository from backup after a hard drive crash. I
just installed TortoiseSVN 1.4.3 and when I try to check out from the
restored repository I get
Error: Unable to open an ra_local session to URL
Error: Unable to open repository
'file:///C:/dean/svn.repositories/src.repos'
Unknown FS type 'fsfs'
I get the same messages when I try to import the repository.
I believe the repository was created with svn version 1.2.
Do I have to do something like creating a new repository and then
restoring the backup into the new repository?
Get the Subversion command line client. Then, type
svnadmin dump path/to/repository > repo.dmp
(this of course still with the version 1.2 client)
then, with the 1.4.3 client, type
svnadmin create newrepository
svnadmin load path/to/newrepository < repo.dmp

if that doesn't work, it could be that your backup is corrupt too.
If you create a backup of a repository, I would do that by dumping it
(svnadmin dump) and not just backup the repository files.

Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Dean Schulze
2007-05-27 16:01:05 UTC
Permalink
I found the problem.

My backup was made with one version of cygwin tar. I was attempting to restore the backup with a different version of cygwin tar, and somewhere one of the two corrupted something that svn is sensitive to. I moved the archive to computer with a third version of cygwin tar and was able to untar it and move it back.

Since cygwin doesn't version their software I have no idea what two versions of cygwin tar are involved, however.

If I tar and untar with the same version of cygwin then everything is OK. I also noticed that if I archive with cygwin tar and restore with WinZip that the same problem occurs. That makes me suspect that the version of cygwin tar I used to archive caused the problem.

I had no problem when just copying the repository around unarchived, but I guess I should be using svn dump / load to backup and restore instead.


Dean Schulze <dean_w_schulze-/***@public.gmane.org> wrote:
I restored my svn repository from backup after a hard drive crash. I just installed TortoiseSVN 1.4.3 and when I try to check out from the restored repository I get

Error: Unable to open an ra_local session to URL
Error: Unable to open repository 'file:///C:/dean/svn.repositories/src.repos'
Unknown FS type 'fsfs'

I get the same messages when I try to import the repository.

I believe the repository was created with svn version 1.2.

Do I have to do something like creating a new repository and then restoring the backup into the new repository?

Thanks.


---------------------------------
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.


---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
Loading...