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)

Reply via email to