You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Troy Bull <tr...@gmail.com> on 2007/11/26 17:57:24 UTC

What is the best way to archive a repository

Greetings

I have several old repositories I need to archive and take offline.
What is the best way to do this?  I have done it two different ways
myself.

Method 1 :  make a hotcopy to a temp location, tar up and gzip that
hotcopy, remove original.

Method 2 : copy conf and hooks dir to a temp location, make a dumpfile
of repository, tar up conf, hooks and dump file, gzip the tar file and
remove original

Is there any reason 1 is worse than 2?  My thought is that at some
point in the future (say n years from now), a new version of svn would
be more likely to read the dumpfile than a very old version of the
repository?  Is this not a concern?

Any thoughts appreciated.

Thanks
Troy

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

Re: What is the best way to archive a repository

Posted by Erik Huelsmann <eh...@gmail.com>.
On Nov 26, 2007 6:57 PM, Troy Bull <tr...@gmail.com> wrote:
> Greetings
>
> I have several old repositories I need to archive and take offline.
> What is the best way to do this?  I have done it two different ways
> myself.
>
> Method 1 :  make a hotcopy to a temp location, tar up and gzip that
> hotcopy, remove original.
>
> Method 2 : copy conf and hooks dir to a temp location, make a dumpfile
> of repository, tar up conf, hooks and dump file, gzip the tar file and
> remove original
>
> Is there any reason 1 is worse than 2?  My thought is that at some
> point in the future (say n years from now), a new version of svn would
> be more likely to read the dumpfile than a very old version of the
> repository?  Is this not a concern?

Number 1 might work, but #2 is the really supported way of getting the
job done. I.e. dumpfiles are the officially supported way to transfer
files from one architecture to another. They are the *the* method the
subversion developers support and will keep supporting.


HTH,


Erik.

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