Repository Hosting

Repository Hosting: Unlimited Subversion, Git, Mercurial, and Trac Projects

Rh
VCS Hosting

Frequently Asked Questions

How do I export my repository or Trac data?

To export the data for a project, simply request a backup of it. The backup contains everything you would need to recreate your project somewhere else, including a dump of the repository with the full history, the Trac data, plus a copy of the contents of the shared drive.

To request a backup, go to the Project Settings page, click on the Backups tab, and then click on the "Request a backup of this project right now" link. We will generate the backup for you and then notify you via email when it is complete. You can either download it from our site, or specify an S3 bucket you would like it sent to.

The backup file is compressed as a .tar.gz file. Within it, the /trac directory contains the results of a "trac-admin hotcopy". The /webdav directory contains a copy of all the files on the shared drive. Finally, there is a dump file of your Git, Mercurial, or Subversion repository, created with "git fast-export --all", "hg bundle -a" or "svnadmin dump", respectively.

You may recreate your repository using the following commands:

# git repository
git init
cat git.fast-export.gz | gzip -d | git fast-import
git reset --hard

# mercurial repository
hg init
hg unbundle hg.bundle
hg update

# subversion repository
svnadmin create repo
svnadmin load repo/ < subversion.dump	

Note for projects that are greater than 5GB:

Dumps of large repositories can take a very long time for us to generate. As a result, we bundle the repositories of these large projects in their original binary form, rather than as a dump file. Dump files are portable, but the binary version must be used with specific platforms and client versions.

We have created a simple method for you to extract a portable dump file from the binary version, using Docker. The backup will contain a Dockerfile, with instructions of how to use it as comments at the top of the file.

Of course, if you have any questions about how to do this, please contact us at support@repositoryhosting.com.