Albert
Albert

Reputation: 3689

Subversion: How to export *all* projects in a repository?

I have a subversion repository with 40-50 individual projects stored in it. How can I export all these projects/trees/(or whatever you call them) so I can migrate them to another machine? Bonus points if I don't have to do each one individually :)

Upvotes: 2

Views: 391

Answers (1)

Jeanne Boyarsky
Jeanne Boyarsky

Reputation: 12266

I'd use svnadmin dump and svnadmin load as then you don't have to worry about file system level compatibility.

Note that SVN stores everything on the repository level and not the project level. A repository is like blobs of data. If you wanted to separate the projects into different repositories, you'd have a big job on your hands. To merely migrate the whole repository together is easy! Just make sure nobody is writing to the repository while you are taking the dump.

Upvotes: 3

Related Questions