Ivan Vernot
Ivan Vernot

Reputation: 31

How to recreate the SVN 'format' file in a Repository?

We have been happily creating automated FAULTY backups of SVN repositories!! It turns out that we were not backing up the file 'format' in each of the repositories.

Is there a way of recreating the file (and hence our repository and history) I think (hope!) that this is the only file missing.

TIA Ivan Vernot

Upvotes: 3

Views: 3836

Answers (1)

Dean Harding
Dean Harding

Reputation: 72668

You can just create a blank repository and copy the format file from there (assuming you have the same Subversion version as in your backup). The format file just has the repository version number in it.

Also, I would suggest you use a tool like hot-backup.py to do backups in the future :)

Upvotes: 3

Related Questions