I have an SVN repo at a hosted SVN service which I need to move to our locally hosted SVN service. The host offers an export feature, which I've used. But how do I take that exported file and import it into a new repository?
EDIT
I tried using svnadmin load, but got an error message:
% svnadmin load . < ~/ss2_14066_rev36
svnadmin: Malformed dumpfile header
The service I'm exporting from is http://beanstalkapp.com, and their help page for export says this exported file can be reimported to another svn server. Is this possibly a server version mismatch?
If the clipboard contains such versioned items, you can then use TortoiseSVN → Paste (note: not the standard Windows Paste) to copy or move those items to the new working copy location. You can copy files and folders from your working copy to another location in the repository using TortoiseSVN → Branch/Tag.
If the export was created using svnadmin dump
you can import it into a new, empty repository using
# cd /path/to/new/repo
# svnadmin load . < /path/to/dumpfile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With