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

Re: SVN dump/load Question

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-03-30 20:08:50 CEST

On 3/30/07, Maxim Veksler <hq4ever@gmail.com> wrote:
> On 3/30/07, Andy Levy <andy.levy@gmail.com> wrote:
> > On 3/30/07, Maxim Veksler <hq4ever@gmail.com> wrote:
> > > On 3/30/07, Andy Levy <andy.levy@gmail.com> wrote:
> > > > On 3/30/07, Frank Facciola <frank.facciola@sknt.com> wrote:
> > > > >
> > > > >
> > > > >
> > > > > Can I take a svndump from a BDB database running SVN v1.08 and load it into
> > > > > a new repository on a different server that is running SVN v1.3.2, but has
> > > > > been compiled without BDB and is using the FSFS?
> > > >
> > > > Yes, this is one of the reasons for having the dumpfile functionality.
> > > > SVN dumps are platform- and backend-agnostic and are one of the the
> > > > safest ways to move repositories across Subversion versions (and the
> > > > only way to change back-ends, AFAIK).
> > > >
> > >
> > > And on an OT note: Dumps are also better for backups, because the
> > > software (if it's smart enough) can make incremental backup of the
> > > dumped file.
> >
> > Or you could keep track of when you last dumped, and use svnadmin dump
> > --incremental to only dump the changes since the last dump.
> >
>
> Good tip! Thanks.
>
> Can I make svnadmin dump each revision as a separate file?

Yes. See:
http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.dump.html
http://svnbook.red-bean.com/en/1.2/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate

> Will I be able to make off line modifications to the dumped content
> and have a pain free import in case of need (NOT - if I make
> collusion. but what if I don't?)

IIRC there's a checksum in the dumpfile, so fiddling with the contents
can be tricky or maybe even not possible. I know it's been discussed
on the list but I don't recall the details.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 30 20:09:11 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.