You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tony Harverson <to...@iglu.com> on 2008/05/27 16:18:14 UTC

RE: Copying a Live Subversion Repo

Good Afternoon, Anthony.

As you've seen, the copy command is intended for copying contents, not repositories.

To copy the repository, you need to use the svnadmin command "hotcopy".

Example:

C:\temp\TestSVN>svnadmin hotcopy RepoTest RepoTest1
Would take a complete copy of RepoTest to RepoTest1.

http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.hotcopy.html for more details.

Tony
 

-----Original Message-----
From: Anthony McGovern [mailto:amcgovern@tssg.org] 
Sent: Tuesday, May 27, 2008 6:01 PM
To: users@subversion.tigris.org
Subject: Copying a Live Subversion Repo

Hi All
      I've had my subversion repo up and running now for the last 2 months thanks to the help i got last time i asked for help so thank you to everyone that helped me last time. I actually have been looking at the svn copy command on the web. I need to take a copy of a subversion repo that is currently being used in a live working server. I tried using the command 

-bash-3.00# svn copy /svn/repos/ict/ /tmp/ict

but got the error: 

svn: '/tmp/ict' is not a working copy

Do you know of any way i can just take a copy of the repo. I only need a duplicate copy of the repo it wont actually be used. I also just tried copying the /repos/ict directory to /tmp/ict but i also got an error about some of the files in the repo having long file names and they wouldnt copy over. 

Any help would be greatly appreciated

Kind Regards
Anthony McGovern 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: RE: Copying a Live Subversion Repo

Posted by Tony Harverson <to...@iglu.com>.
 Oops, line separator didn't work quite properly, I meant..

Example:

C:\temp\TestSVN>svnadmin hotcopy RepoTest RepoTest1 

Would take a complete copy of RepoTest to RepoTest1.

-----Original Message-----
From: Tony Harverson [mailto:tony.harverson@iglu.com] 
Sent: Tuesday, May 27, 2008 5:18 PM
To: Anthony McGovern; users@subversion.tigris.org
Subject: RE: Copying a Live Subversion Repo

Good Afternoon, Anthony.

As you've seen, the copy command is intended for copying contents, not repositories.

To copy the repository, you need to use the svnadmin command "hotcopy".

Example:

C:\temp\TestSVN>svnadmin hotcopy RepoTest RepoTest1 Would take a complete copy of RepoTest to RepoTest1.

http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.hotcopy.html for more details.

Tony
 

-----Original Message-----
From: Anthony McGovern [mailto:amcgovern@tssg.org]
Sent: Tuesday, May 27, 2008 6:01 PM
To: users@subversion.tigris.org
Subject: Copying a Live Subversion Repo

Hi All
      I've had my subversion repo up and running now for the last 2 months thanks to the help i got last time i asked for help so thank you to everyone that helped me last time. I actually have been looking at the svn copy command on the web. I need to take a copy of a subversion repo that is currently being used in a live working server. I tried using the command 

-bash-3.00# svn copy /svn/repos/ict/ /tmp/ict

but got the error: 

svn: '/tmp/ict' is not a working copy

Do you know of any way i can just take a copy of the repo. I only need a duplicate copy of the repo it wont actually be used. I also just tried copying the /repos/ict directory to /tmp/ict but i also got an error about some of the files in the repo having long file names and they wouldnt copy over. 

Any help would be greatly appreciated

Kind Regards
Anthony McGovern 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org