Todd wrote:
What is a good way to move a datastore into a new installation?

I have an old installation of Freenet, with a beefy datastore.  I've
made a new installation.  I want to take the contents of my old beefy
datastore and make them available to the new installation.  In the
freenet.conf it says that any currently existing files in the datastore
path you specify will be overwritten, and I remember we had that issue
with the irate user who's mp3 collection was nuked.  Does it still do
this?  I tested, and it doesn't seem to, but I'd like to be (relatively)
sure, and anyway it'd be pointless to mv the datastore to the new
location if it were just going to be overwritten.

The way I did it was this: move the old store directory to somewhere safe. Then make a fresh installation. Then move all the old store files (directories and all) to the new location (preserve the same basic directory structure, of course). Then delete the index file. Restart freenet. The index file will be recreated.


Make sure your freenet.conf file provides a large enough size, or else your keys will get deleted due to pcaching.


Also, are there any concerns with the contents of the datastore interacting with the node's specialization? I would think that wouldn't be a problem, that the datastore and the specialization both would evolve to adapt.

There's nothing to worry about there.



-todd


-Martin


_______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to