Skip to main content

Export SVN repository

It's quite straightforward to dump your SVN  and import it back 

svnadmin dump /path/to/your/old/repo > backup.dump
svnadmin load /path/to/your/new/repo < backup.dump.dmp

If you are in a docker, it might be that you do not have enough space in your docker. It will be possible using redirects the output.

First position  yourself in the folder you want the dump to end up.
Then dump the file to your .dmp file.

cd /tmp
docker exec -it edf77623c9207 svnadmin dump /home/svn/YourRepository > YourRepository_svn.dmp