i'm having trouble migrating repositories old server running ubuntu 12.04 new server running freenas 9.3 (bsd-based) using svnadmin dump , load commands. when try load repositories, e200029 errors not being able open rep-cache database or perform atomic initilization, shown in screenshot, , nothing populates repository. have read through svn-book manual , researched solutions online, re-dumped repository, tried doing both root , subversion:subversion accounts, , populated repository empty directories, haven't been able figure out problem yet.
my setup multi-project repository subfolders individual projects using tag/branch/trunk structure under project's folder (given project number), looks following.
$ svn list file:///var/svn/multi-project-repo project-a/ project-b/ $ svn list file:///var/svn/multi-project-repo/project-a trunk/ branches/ tags/ $
there 30 project folders. current ubuntu server using svnadmin --version 1.6.17 while new freenas server using svnadmin --version 1.8.13. if problem, i'm not sure how resolve these differences since ubuntu doesn't have more recent version in package repository.
i used following command create dump file of entire repository, without particular flags or filtering. i'm trying replicate same structure on new server. run root in cron job on ubuntu server.
svnadmin dump --quiet /home/svn/repos/projects > /home/svn/migrate/projects.dmp
then, installed subversion in freenas server bsd jail (pkg install subversion) , created "projects" repository. initially, empty repository, failed load, since there 30 subdirectories tried populating repository empty project directories including branch/tag/truck subdirectories using svn client on windows box , trying load repository dump through shell freenas jail, root. failed load, too, same error.
svnadmin load /var/svn/repos/projects < /var/svn/dump/projects.dmp
should absolute paths of original , new repositories same? ideas else can try or might causing issues?
thanks.
note: in research, did cross-post question in subversion-specific forum, haven't gotten responses.
i figured out errors stemmed incorrectly linked library. using following when creating repositories corrected problem , allowed me load repositories fine.
# svnadmin create --pre-1.6-compatible /path/to/repos
Comments
Post a Comment