You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by 19...@web.de on 2007/02/26 12:48:53 UTC
Repository Size
Hi,
i've created a dumpfile from my cvs repository with cvs2svn.
the size of the
- dumpfile 64 MB
- svn repository 6 MB
- svn checkout folder 160 MB
my question is: can that be or is there an issue? because the sizes are differing so much i cant believe that everything went
right during the convertion.
Sebastian
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository Size
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Tuesday 27 February 2007 13:46, vanessa@dicampus.com wrote:
> If I want to do security backups, what it's the right thing to do, make a
> dumpfile or copy directly the svn repository?.
Use 'hotcopy' to clone the repository on-system and then 'svnadmin dump' to
create a dumpfile. The first is to keep the time the repository is locked low
and it also is the right way to create a copy from a live repository, i.e. it
knows which files to copy and which not (e.g. lockfiles). The second is
necessary because the dumpfile format is the format that is portable between
different platforms and SVN versions. If your server blows up you might want
to replace it with a different machine and use the chance to upgrade SVN,
too.
In order to get a backup online quickly, there is also the recently
released 'svnsync', which allows you to sync a repository to a master and in
case of failure have it already working.
> If I copy the svn repository and I restore one of that copies I can't go
> back to a before revision, isn't?
I'm not sure what you mean. In general, the repository contains the whole
history.
> (Sorry for my bad english).
If you're not sure, you can always use a different language or two languages
(English and your own) to mail here. I at least wouldn't mind.
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Ronald Boers Steuernummer: 02/892/02900
Amtsgericht Hamburg HR B62 932 USt-Id.Nr.: DE183047360
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository Size
Posted by va...@dicampus.com.
I have two cuestions in relation with this subject.
If I want to do security backups, what it's the right thing to do, make a
dumpfile or copy directly the svn repository?.
If I copy the svn repository and I restore one of that copies I can't go
back to a before revision, isn't?.
(Sorry for my bad english).
Vanessa
> On Monday 26 February 2007 13:48, 1984seb@web.de wrote:
>> i've created a dumpfile from my cvs repository with cvs2svn.
>> the size of the
>>
>> - dumpfile 64 MB
>> - svn repository 6 MB
>> - svn checkout folder 160 MB
>>
>> my question is: can that be or is there an issue? because the sizes are
>> differing so much i cant believe that everything went right during the
>> convertion.
>
> Examples:
> 1. If your repository contains a file and that file is continually changed
> but
> its size remains constant, the repository size and dumpfile size will grow
> but the checkout size will remain constant.
>
> 2. If your repository contains a file and you copy it to different paths
> within the repository, the repository size will only grow a little while
> the
> checkout size will grow according to the filesize.
>
> 3. If you continually copy and delete a file within the repository, the
> dumpfile size will grow according to that file's size (because it always
> contains full content of the revision) but the repository itself will
> remain
> small because it performs optimised copying.
>
> Uli
>
> --
> ML: http://subversion.tigris.org/mailing-list-guidelines.html
> FAQ: http://subversion.tigris.org/faq.html
> Docs: http://svnbook.red-bean.com/
>
> Sator Laser GmbH
> Geschäftsführer: Ronald Boers Steuernummer: 02/892/02900
> Amtsgericht Hamburg HR B62 932 USt-Id.Nr.: DE183047360
>
> **************************************************************************************
> Visit our website at <http://www.satorlaser.de/>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
> bestimmt und kann vertrauliche Informationen enthalten. Bitte
> benachrichtigen Sie den Absender umgehend, falls Sie nicht der
> beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu
> löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder
> anderweitig benutzt werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie
> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> Folgen nicht verantwortlich.
>
> **************************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository Size
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Monday 26 February 2007 13:48, 1984seb@web.de wrote:
> i've created a dumpfile from my cvs repository with cvs2svn.
> the size of the
>
> - dumpfile 64 MB
> - svn repository 6 MB
> - svn checkout folder 160 MB
>
> my question is: can that be or is there an issue? because the sizes are
> differing so much i cant believe that everything went right during the
> convertion.
Examples:
1. If your repository contains a file and that file is continually changed but
its size remains constant, the repository size and dumpfile size will grow
but the checkout size will remain constant.
2. If your repository contains a file and you copy it to different paths
within the repository, the repository size will only grow a little while the
checkout size will grow according to the filesize.
3. If you continually copy and delete a file within the repository, the
dumpfile size will grow according to that file's size (because it always
contains full content of the revision) but the repository itself will remain
small because it performs optimised copying.
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Ronald Boers Steuernummer: 02/892/02900
Amtsgericht Hamburg HR B62 932 USt-Id.Nr.: DE183047360
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository Size
Posted by "B. Smith-Mannschott" <be...@gmail.com>.
On Feb 26, 2007, at 13:48, 1984seb@web.de wrote:
> Hi,
>
> i've created a dumpfile from my cvs repository with cvs2svn.
> the size of the
>
> - dumpfile 64 MB
> - svn repository 6 MB
> - svn checkout folder 160 MB
>
> my question is: can that be or is there an issue? because the sizes
> are differing so much i cant believe that everything went
> right during the convertion.
svnadmin dump includes the *full text* (not just the changes) of each
revision by default. This means a lot of duplicated information. To
prevent this use the --deltas option:
svnadmin dump REPOS_PATH --deltas
(The default dump format is independent of any details of the svn's
delta format, so it should be portable across svn versions even if
that changed.)
// Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository Size
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 26, 2007, at 06:48, Sebastian wrote:
> i've created a dumpfile from my cvs repository with cvs2svn.
> the size of the
>
> - dumpfile 64 MB
> - svn repository 6 MB
> - svn checkout folder 160 MB
>
> my question is: can that be or is there an issue? because the sizes
> are differing so much i cant believe that everything went
> right during the convertion.
Sebastian,
That sounds like it could be ok.
Like Ben said, the dumpfile includes each file, so it'll be big. But
the repository itself stores deltas, and compressed deltas at that, I
believe, so it should be much smaller, especially if you have many
tags or branches. In the repository, tags and branches are
implemented as cheap copies, so they don't take much space at all,
but in the dumpfile they do.
If you checked out your entire repository, including all tags and
branches (which would be an unusual thing to do, but possible), then
you would also get complete copies of each tag and branch, which
would take up space. And since Subversion stores two copies of each
file on disk -- once in a pristine form and once in a form that you
can edit -- that could explain why the checkout is so much bigger.
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org