Go Back   Hosting Playground Inc. Forums > SVNRepository.com > Using SVNRepository.com, Subversion, and Trac > Frequently Asked Questions On Using SVNRepository

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2008, 06:07 PM
jclarke jclarke is offline
Hosting Playground Inc. Executive Staff
 
Join Date: Jan 2008
Location: Myrtle Beach, SC
Posts: 1,398
Default How to import an existing repository

To import an existing subversion repository, you will first need to create a dump using the svnadmin dump command, e.g.

Code:
svnadmin dump /path/to/repos > repos.dump
Next, create a repository for this to be imported into using the SVN Control Panel.

if you are a RailsPlayground customer, upload your dump file to your home directory. If you are not a RailsPlayground customer, upload your dump file to a ftp/http location that we can then in turn download the dump from.

Next, open a support ticket and let us know were your dump file is located and what repository we should import this into.
__________________
Joe Clarke
Hosting Playground Inc.
RailsPlayground.com
Reply With Quote
  #2  
Old 07-30-2008, 12:17 PM
nmaves nmaves is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default

Is there a way to do this a bit more securely? I would hate to get caught with our hole repository online available to anyone.
Reply With Quote
  #3  
Old 07-30-2008, 01:11 PM
jclarke jclarke is offline
Hosting Playground Inc. Executive Staff
 
Join Date: Jan 2008
Location: Myrtle Beach, SC
Posts: 1,398
Default

You can password protect the directory on your webserver or you can put your repository dump in a password protected ftp/sftp space and give us the login and password to download the dump file.
__________________
Joe Clarke
Hosting Playground Inc.
RailsPlayground.com
Reply With Quote
  #4  
Old 11-10-2008, 03:41 PM
yumileroy yumileroy is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Default Exporting Remote SVN to .dump file

Heres how to export a remote SVN to .dump file if you do not have access to the local file system using a Linux system.

Go to a shell and type in these commands and substitute as necessary


Code:
MYREPO=/home/me/someplace
svnadmin create $MYREPO
echo '#!/bin/sh' >$MYREPO/hooks/pre-revprop-change
chmod +x $MYREPO/hooks/pre-revprop-change
svnsync init file://$MYREPO http://SVN.remote.url.goes.here/
svnsync sync file://$MYREPO
Code:
svnadmin dump $MYREPO > repos.dump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.