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

Re: Convert from bdb to fsfs

From: Helge Jensen <helge.jensen_at_slog.dk>
Date: 2005-02-09 15:52:45 CET

Joakim Simonsson wrote:
>
> Can I convert my database from dbd to fsfs?

Not directly, but you can use dump/load (almost .sh script):

#===>
# Make a new repo using fsfs
svnadmin create --fstype fsfs repo
# Examine for last committed rev
LAST=`svnlook youngest repo`
# Do actual dump/load
svnadmin dump 0:$LAST repo | svnadmin load repo.new

# replace old repo with new
mv repo repo.old
mv repo.new repo
svnlook youngest repo.old
#<====

if the last svnlook youngest is equal to $LAST, you're done. Otherwise
you need to restore the commits that made it into repo.old before your
conversion.

-- 
Helge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 9 15:55:32 2005

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.