You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Staflin <ro...@staflin.com> on 2007/02/22 15:42:28 UTC
Format file misbehavior
When backing up with svnadmin hotcopy, I get the message "svnadmin:
Can't open the file "File-path\format": The search path cannot be found"
The file is there, and have the exact same contents ("5") as a
repository that works fine on the same machine... Can I delete the
misbehaving file and make my own format file? ...or is there an
obvious explanation for this? Why can't the file be found, when it's
there?
If I dump the repository with svnadmin I can't import it afterwards
(it can't find the format file again)...
Thanks for any input.
/Robert Staflin
==================================================
KRS Consulting Robert Staflin
Stocksunds skola 503 B Tel: +46 (176) 236111
S-761 73 NORRTĂ„LJE Mobile: +46 (709) 582290
SWEDEN
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Format file misbehavior
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 22, 2007, at 09:42, Robert Staflin wrote:
> When backing up with svnadmin hotcopy, I get the message "svnadmin:
> Can't open the file "File-path\format": The search path cannot be
> found"
>
> The file is there, and have the exact same contents ("5") as a
> repository that works fine on the same machine... Can I delete the
> misbehaving file and make my own format file? ...or is there an
> obvious explanation for this? Why can't the file be found, when
> it's there?
I don't know, and I would have suggested you dump and reload, but:
> If I dump the repository with svnadmin I can't import it afterwards
> (it can't find the format file again)...
You can dump the repo, but not reload it into a new empty repository?
That's odd. Or are you saying you dump the repo, then try to load it
back into the same (non-empty) repo? If so, then that's not how you
would usually use the load command... You should:
svnadmin dump /path/to/repo > /tmp/repo.dump
mv /path/to/repo /path/to/repo-old
svnadmin create /path/to/repo
svnadmin load /path/to/repo < /tmp/repo.dump
rm /tmp/repo.dump
Um... the above would be the commands for a Unix-like OS and I see
now you're on Windows, so you'll have to adapt that to the usual
Windows shell commands, and pick the correct tmp directory, and so
forth.
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org