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

Re: svnadmin dump of hot repository

From: Greg Loscombe <greg_at_eutechnyx.com>
Date: 2005-03-04 15:08:16 CET

I wrote a little backup script in Python using svnadmin --dump -
basically a way to do an incremental backup on several repos. nightly
(or whenever)

http://www.svnforum.org/forum/viewtopic.php?t=183

I'm not really a programmer (just the SVN admin) - so it might look a
little nasty, but it seems to do the trick =)

Any improvements or feedback would be great.

(I've improved it a little since, so I might update the forum post when
I get a second)

Greg

Garrett Rooney wrote:

> Ronny Schuetz wrote:
>
>>> It's safe to do it even when it's in use, that's why it's called a
>>> "hot" copy ;-)
>>
>>
>>
>> thanks for the reply, but I meant something different. Currently I
>> need two steps to perform backups of repositories:
>>
>> 1. hot-copy original repository, which is currently accessed by users
>> 2. generate a dump of the just copied version
>>
>> The question was basically, if it is safe to skip step 1 and generate
>> a dump of the active repository directly.
>
>
> Yeah, that's safe, dump just reads from the repository, so it's
> perfectly safe to do while someone is writing to it. Otherwise you
> wouldn't be able to do an 'svn checkout' while someone was committing,
> they're using the same mechanism for reading the underlying repository.
>
> -garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> _____________________________________________________________________
> This e-mail is confidential and may be privileged. It may be read,
> copied and used only by the intended recipient. No communication sent
> by e-mail to or from Eutechnyx is intended to give rise to contractual
> or other legal liability, apart from liability which cannot be
> excluded under English law.
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Control Centre.
> www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322
>

_____________________________________________________________________
This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law.

This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.

www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 4 15:12:33 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.