Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
cd /opt/svn-data
sudo chown -R www-data:subversion hamsters
sudo chmod -R g+rws hamsters

Backup and Restore

Checking the revision numbers Checks the number of revisions in a repository

Code Block
languagebash
svnlook info hamsters

...

Dumps all revisions of the repository into a file in this case hamstersdumpfile

Code Block
languagebash
svnadmin dump hamsters -r # > rev.#.dumpfile
svnadmin dump hamsters -r 50:100 > revs.50-100.dumpfile

Dumps a revision # that you decide. The other command dumps a range of revisions that you choose.

References

http://svnbook.red-bean.com/en/1.4/svn.intro.whatis.html
http://www.howtoforge.com/debian_subversion_websvn - Debian instructions more straight forward
http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Subversion - Integrating with Crowd
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.maint.migrate - Indepth explanation on migrating repositories