07/17: SVN (Subversion) backup restore
Category: Web dev
Posted by: hajime osako
ArchWiki :: Subversion backup and restore - ArchWiki
svnadmin dump /path/to/reponame > /tmp/reponame.dump
svnadmin create /path/to/reponame
svnadmin load /path/to/reponame < /tmp/repo1.dump
Notes on installing cygwin subversion as a service on Windows 2003
Use cygrunsrv to install svnserve.exe as a service
I ran this from a cygwin shell window
cygrunsrv \
--install SvnServe \
--chdir D:\\SvnRepo \
--path C:\\cygwin\\lib\\subversion\\bin\\svnserve.exe \
--args "--foreground --daemon --root=/cygdrive/d/SvnRepo" \
--desc "Subversion for D:\\SvnRepo" \
--neverexits
svnadmin dump /path/to/reponame > /tmp/reponame.dump
svnadmin create /path/to/reponame
svnadmin load /path/to/reponame < /tmp/repo1.dump
Notes on installing cygwin subversion as a service on Windows 2003
Use cygrunsrv to install svnserve.exe as a service
I ran this from a cygwin shell window
cygrunsrv \
--install SvnServe \
--chdir D:\\SvnRepo \
--path C:\\cygwin\\lib\\subversion\\bin\\svnserve.exe \
--args "--foreground --daemon --root=/cygdrive/d/SvnRepo" \
--desc "Subversion for D:\\SvnRepo" \
--neverexits