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

Re: svnadmin - 'Dump' and 'HotCopy'

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-05-12 13:47:20 CEST

Hughes, Trystan wrote:
> My question: What really is the difference between 'svnadmin dump' and
> 'svnadmin hotcopy'? The 'dump' command is able to take a snapshot of the
> repository whilst it is still in use, so what really is the benefit of the
> 'hotcopy' command?

You can't simply 'cp -r' a repository because there could be lockfiles inside,
and a concurrent commit might change things in the middle of your copying so
that the result is a mixture between two revisions. 'hotcopy' knows in what
order to copy things and and how to ensure data integrity - other than that
it is not much more than a filecopy.

'svnadmin dump' on the other hand dumps the content of the repository in a
standardised and portable format (remember, BDB databases are not portable
between platforms and versions!) suitable for backup.

One big difference is also that 'hotcopy' creates a complete repository,
including e.g. conffiles for the svnserve process while 'dump' only extracts
the revision data.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 12 13:51:08 2005

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.