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

Re: Does fsfs revprop packing no longer allow usage of traditional backup software?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 30 Jun 2011 19:48:25 +0100

kmradke_at_rockwellcollins.com writes:

> What I don't know is if the revprop SQLite db in 1.7
> is essential to the operation of the repo.

Yes.

> If it can't
> be deleted and recreated like the rep-cache.db file above, I would
> consider it a single point of failure for the entire fsfs repository.
> That new single point of failure would make me uneasy about
> enabling revprop packing in 1.7...

You can copy a revprop.db from an empty repository and then populate it:

 for i in $(seq 0 $(svnlook youngest repo)) ; do
  sqlite3 repo/db/revprops/revprops.db "insert into revprop values ($i, '()'"
 done

You lose all revprops including svn:date, svn:log, etc.

-- 
Philip
Received on 2011-06-30 20:49:04 CEST

This is an archived mail posted to the Subversion Dev mailing list.