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

Re: Repository Size

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-02-27 16:45:52 CET

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,

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

> (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.


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
Received on Tue Feb 27 16:46:35 2007

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.