Subversion

Admin

=Dump Repository=

svnadmin dump /svn/old_repos > ./repository.dump

=Dump a single folder in a Repository=

svnadmin dump /svn/old_repos > ./repository.dump svndumpfilter include path/to/folder --drop-empty-revs --renumber-revs --preserve-revprops < ./repository.dump > ./folder_content_only.dump svnadmin load /svn/new_repos < ./folder_content_only.dump

=Create Repository=

svnadmin create /path/to/new_repos/

or


 * Source-Repository

/srv/svn/repos/svn_create_repos.sh new_repos SRC


 * Doc-Repository

/srv/svn/repos/svn_create_repos.sh new_repos DOC


 * MISC-Repository

/srv/svn/repos/svn_create_repos.sh new_repos MISC

=Restore Repository=

svnadmin load /path/to/new_repos < ./repository.dump

=Restore Repository in Parent Folder=

svnadmin load --parent-dir trunk /path/to/new_repos/ < ./repository.dump