# 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

[![image.png](https://wiki.sophior.com/uploads/images/gallery/2024-10/scaled-1680-/RKaimage.png)](https://wiki.sophior.com/uploads/images/gallery/2024-10/RKaimage.png)

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:

[![image.png](https://wiki.sophior.com/uploads/images/gallery/2024-10/scaled-1680-/MK0image.png)](https://wiki.sophior.com/uploads/images/gallery/2024-10/MK0image.png)

svnadmin load /path/yourrepo &lt; /path/your/dum.dmp

[![image.png](https://wiki.sophior.com/uploads/images/gallery/2024-10/scaled-1680-/oOAimage.png)](https://wiki.sophior.com/uploads/images/gallery/2024-10/oOAimage.png)

#####   
**What didn't work for me:**

This is the official documentation : [dump your SVN ](https://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html)

```
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
```