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

Re: Is it a correct way of backup?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2005-12-04 14:19:32 CET

On 12/4/05, Vijay Gill <vijay.s.gill@gmail.com> wrote:
> Hi,
>
> I used to backup my repositories (all repositories under one base
> directory in my filesystem) by just tar + bzip on the base directory. Then I
> thought of trying another method. Dumping all the repositories using
> "svnadmin dump" into one directory and then tar + bzip on that directory. I
> was amazed that the size of tar.bz2 file in second case was about 65% of the
> tar.bz2 file I used to get in first case.
>
> My question to the svn gurus is, is my method correct? According my
> limited knowledge I see no problems.

Dumping is probably OK, but a slower recovery time. Copying the
repository I think will result in a faster recovery. If you want to
use the copy method, use svnadmin hotcopy to make a hotcopy of the
repository as opposed to just copying the files.

Your BZ2 filesizes don't surprise me. In the first example, you
compressed binary files, in the second you compressed plain text with
a *lot* of repeated characters in it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 4 14:21:40 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.