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

RE: Can I copy a repo with a simple 'cp -r'?

From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-09-29 17:26:37 CEST

Matt,

You can do this as long as it's on the same machine. The only issue is how ppl have been accessing the repo.

If via Apache, shut it down, move the repo, change the config file, then restart apache. Same procedure via svnserve.

Dale

-----Original Message-----
From: Matt England [mailto:mengland@mengland.net]
Sent: Thursday, September 29, 2005 6:48 AM
To: SVN Users email list
Cc: mengland@mengland.net
Subject: Can I copy a repo with a simple 'cp -r'?

I want to copy (and not move) an existing repo to another directory on a
Linux system so I can execute some test procedures on this "test" copy
without disturbing the original, production one.

Can I do this with a simple 'cp -r'? Does it depend if any other
transactions are currently executing at the time of the recursive
copy...and/or anything else? Or do I need to execute a dump/load procedure?

This assumes that I'm using a consistent Subversion software (client and
server) revision for all procedures.

-Matt

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 29 18:43:42 2005

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.