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

Re: svnadmin dump on live repository

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-09-26 17:08:10 CEST

Jan Evert van Grootheest <j.grootheest@euronext.nl> writes:

> Hello,
>
> I've been checking the book and the manual pages, but couldn't find this...
>
> Is it safe to use 'svnadmin dump' on a live repository (it is served
> through apache)?
> Would it generate a consistent dump in the case the dump starts when a
> transaction is in progress or when a transaction is started during the
> dump? I won't expect (nor need) the dump to contain that
> transaction.

Yes. The first line of real code in svn_repos_dump_fs() is a query
for the current youngest revision, and that becomes an upper bound for
the whole operation.

> I'm currently considering this to make full backups in the
> evening. Simply make a full dump into a file, gzip it and back it up
> to tape or whatever our sysadmin decided to backup to.

I would suggest using incremental dumps, starting at "last night's
dump revision", and concatenated onto "last night's dumpfile". Save
yourself some process time (you'll only be dumping that day's data).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 26 17:09:38 2003

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.