Export SVN repository
At first it seems quite forward to do this, but I have ran into the issue of encoding problems. And trying to get a huge (40G) dumpfile into the container.
What did work for me:
1. Have a bind path in your container, to manage the large file
2. Use the container and dump the file into this path
svnrdump dump -r0:HEAD [URL_TO_YOUR_REPO] > Your_dumpfile.dmp
This will show the progress as follows:
What didn't work for me:
This is the official documentation : dump your SVN
svnadmin dump /path/to/your/old/repo > backup.dump
svnadmin load /path/to/your/new/repo < backup.dump.dmp
If you redirect the input to your host, it circumvents the large file in the docker.
cd /tmp
docker exec -it edf77623c9207 svnadmin dump /home/svn/YourRepository > YourRepository_svn.dmp
But importing it back, an error is produced:
' into a number04: Could not convert ' 2