[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Copying a Live Subversion Repo

From: Tony Harverson <tony.harverson_at_iglu.com>
Date: Tue, 27 May 2008 17:18:14 +0100

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_at_tssg.org]
Sent: Tuesday, May 27, 2008 6:01 PM
To: users_at_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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-27 18:18:41 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.