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

Re: Another svnadmin dump question

From: Patricia A Moss <pmoss4_at_csc.com>
Date: Tue, 7 Jul 2009 06:41:13 -0400

>How are you calling "svnadmin dump"?
>
>If you do "svnadmin dump repo > file" then you are overwriting file, not
appending to it.

I am calling svnadmin dump, and as specified above. I spoke with our OPS
team. They are going to increase the capacity on their end to accommodate
my growing dump files. Thanks.

PATI MOSS
System Engineer Sr. Professional
CSC

Ryan Schmidt <subversion-2009b_at_ryandesign.com>
07/06/2009 08:31 PM

To
Patricia A Moss/GIS/CSC_at_CSC
cc
users_at_subversion.tigris.org
Subject
Re: Another svnadmin dump question

On Jul 6, 2009, at 07:59, Patricia A Moss wrote:

> I am using svnadmin dump as a partial backup of my subversion
> repositories. I dump them all to a specific directory and then our
> OPS
> team backs that directory up as part of the nightly server backup
> rotation.
>
> I have noticed that the dump files seem to be growing. This is
> causing
> issues with the server backup.
> Is there a way to do an overwrite of the dump file rather than, what
> appears to be, an append?
> If I archive the current dump files can I simply clear each dump
> file to
> set the file size to zero and begin the dump again, without causing
> any
> data loss?

How are you calling "svnadmin dump"?

If you do "svnadmin dump repo > file" then you are overwriting file,
not appending to it.

Note that dump files will of course only get bigger as time goes on
and your repository gets used and itself gets bigger.

Another possibility would be to do an incremental dump of only the
changes that have occurred since the last dump, instead of doing a
full dump each time. Maybe clear these out and do a full dump on some
slower schedule, maybe monthly or weekly. If you allow people to
change past revisions' properties via a pre-revprop-change hook,
you'll have to consider how critical it is if these changes don't get
backed up until the next full dump.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368599

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368727

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-07 12:43:06 CEST

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.