Few months ago our Visual SVN repositories got created, multiple repositories are exists under a single root, the structure looks as below:
Repository is located at C:\Repositories\root
root
-branches
-tags
-trunk
--repo1
---folder1
---folder2
--repo2
---folder1
---folder2
I was able to iterate thru repo1, repo2 folders using svn list commands (svn list file:///c:/Repositories/root/trunk/repo1
) now I would like to back up repo1 and repo2.
I could do backup at root level, whereas backup file size is too large, would like to backup at repositories level.
I tried to use as svnadmin dump file:///c:/Repositories/root/trunk/repo1 > D:\repo1-backup.db
throws an error saying "svnadmin: file:///c:/Repositories/root/trunk/repo1
' is an URL when it should be a path". Error makes sense that I used URL instead of file system paths.
I went thru help and found that I can use, have not tried yet!
1) backup the entire root svnadmin dump C:\Repositories\root > repos-dumpfile 2) use svndumpfilter to include repo1 svndumpfilter include repo1 < repos-dumpfile > repo1-dumpfile
I worry about step1, it leads to huge file on my disk. Would like to know is there any other way to backup my repositories.
suggest me your thoughts
Thanks -AK