You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matt England <me...@mengland.net> on 2005/09/29 13:47:58 UTC
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
Re: Can I copy a repo with a simple 'cp -r'?
Posted by Oliver Pajonk <ol...@gmail.com>.
Use svnadmin hotcopy for this. Using this command you wont have problems
with concurrent access to the repository while copying.
2005/9/29, Matt England <me...@mengland.net>:
>
> 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
>
>
--
Oliver Pajonk
Re: Can I copy a repo with a simple 'cp -r'?
Posted by Hari Kodungallur <hk...@gmail.com>.
On 9/29/05, Matt England <me...@mengland.net> wrote:
> 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.
>
$ svnadmin hotcopy <repository-path> <test-repository-path>
no need to worry about whether a transaction is in progress.
--
rgds,
-Hari
SpikeSource Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org