You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Patricia A Moss <pm...@csc.com> on 2009/07/06 12:59:13 UTC

Another svnadmin dump question

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?


PATI MOSS
System Engineer Sr. Professional
CSC

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

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

Re: Another svnadmin dump question

Posted by Patricia A Moss <pm...@csc.com>.
>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 <su...@ryandesign.com> 
07/06/2009 08:31 PM

To
Patricia A Moss/GIS/CSC@CSC
cc
users@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@subversion.tigris.org].

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

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

Re: Another svnadmin dump question

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org].