You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joakim Simonsson <jo...@autosim.no> on 2005/02/09 14:37:34 UTC
Convert from bdb to fsfs
Can I convert my database from dbd to fsfs?
I've read the FAQ, but did not find any answer on this question?
/Joakim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Convert from bdb to fsfs
Posted by Bryan Donlan <bd...@hikari.afraid.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joakim Simonsson wrote:
|
| Can I convert my database from dbd to fsfs?
|
| I've read the FAQ, but did not find any answer on this question?
Yes, it's simple:
svnadmin create --fs-type=fsfs fsfs-repo
svnadmin dump repo | svnadmin load fsfs-repo
mv repo backup-repo
mv fsfs-repo repo
Of course it goes without saying not to commit anything while doing this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCCpdh+hz2VlChukwRAhZ4AJ9sdRAR+aBHFZ79/9+BCU1dF6c38ACeMDol
IOfUOZd8rSYgKQrDUtzVLSU=
=7JbJ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Convert from bdb to fsfs
Posted by Marc Haisenko <ha...@webport.de>.
On Wednesday 09 February 2005 15:37, Joakim Simonsson wrote:
> Can I convert my database from dbd to fsfs?
>
> I've read the FAQ, but did not find any answer on this question?
>
> /Joakim
Not directly. You need to dump your current repository, create a new
repository with FSFS and then load your dump into this repository and move it
to the location of your old repository (move that one away, don't just delete
it).
C'ya,
Marc
--
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Convert from bdb to fsfs
Posted by Helge Jensen <he...@slog.dk>.
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