You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Listman <li...@bluejeantime.com> on 2013/12/26 21:42:26 UTC

svn hotcopy

I am using svn 1.5.5 and I backup with hotcopy.  I am starting to see that my repository which 50G is backing up as 48G with hotcopy.  I can’t figure it out and my friend google is not helping at all.  Does any one have a clue?


TIA,


LM

Re: svn hotcopy

Posted by Ivan Zhakov <iv...@visualsvn.com>.
On 27 December 2013 00:42, Listman <li...@bluejeantime.com> wrote:
> I am using svn 1.5.5 and I backup with hotcopy.  I am starting to see that my repository which 50G is backing up as 48G with hotcopy.  I can’t figure it out and my friend google is not helping at all.  Does any one have a clue?
>
>
As far I remember 'svnadmin hotcopy' doesn't copy uncommitted
transactions. They are stored in db\transactions folder in repository.
You may get several uncommitted and not properly aborted transactions
for long lived repositories.


-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com

Re: svn hotcopy

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Listman,
am Donnerstag, 26. Dezember 2013 um 21:42 schrieben Sie:

> I am using svn 1.5.5 and I backup with hotcopy.  I am starting to
> see that my repository which 50G is backing up as 48G with hotcopy. 
> I can’t figure it out and my friend google is not helping at all.  Does any one have a clue?

Two thoughts: Version 1.5. is very old and unsupported these days, you
won't get any version specific help anymore.

The other thing is, what's the output of svnadmin verify or dump for
your backup? If there are no errors printed, your backup seems finde.
The difference in size may be because of abandoned transactions and
such.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: svn hotcopy

Posted by Thomas Harold <th...@nybeta.com>.
On 12/26/2013 3:42 PM, Listman wrote:
> I am using svn 1.5.5 and I backup with hotcopy.  I am starting to see
> that my repository which 50G is backing up as 48G with hotcopy.  I
> can’t figure it out and my friend google is not helping at all.  Does
> any one have a clue?
>

I agree with Thorsten.  There may be leftover cruft in your repository 
directory, which gets ignored during the hotcopy process.  Use "svnadmin 
verify" on the repository to check for errors.  (You should probably be 
running "svnadmin verify" on a weekly or monthly basis anyway.)

Also, upgrading to 1.8 is a very good idea.  Since you are using 1.5, I 
recommend a full "svnadmin dump" / "svnadmin load" cycle to put it into 
1.8 format.  Because of the changes in the repository format between 1.5 
and 1.8, you might even seen 5-20% space reduction in the size of your 
repository.

(We averaged about 15% size reduction going from 1.6 to 1.8, plus a huge 
reduction in the number of individual files due to revision and revprop 
packing.  YMMV.)