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

Re: svnsync

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Jul 2011 00:11:55 +0300

Ryan Schmidt wrote on Wed, Jul 27, 2011 at 16:07:46 -0500:
> On Jul 27, 2011, at 14:44, Daniel Shahaf wrote:
> > Mark Phippard wrote on Wed, Jul 27, 2011 at 10:16:10 -0400:
> >> If the existing repositories are FSFS, you could actually just move the
> >> repositories to the new server and use them. IOW, just copy the repository
> >> folder to the new server.
> >
> > And make sure /not/ to copy rep-cache.db that way. SQLite doesn't
> > promise that the resulting db will be valid or consistent.
>
> In what way should one copy rep-cache.db, then?

http://www.sqlite.org/backup.html

svn_sqlite__hotcopy()

sqlite3 old.db .dump | sqlite3 new.db
(this creates the new.db from scratch, it needn't (shouldn't?) have the
schema already filled in)
Received on 2011-07-27 23:13:07 CEST

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.