On Mon, Dec 01, 2003 at 10:14:45AM -0800, 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.

There is no problem. The problem with wiping out the MP3 dir was because
of slightly excessive sanity checking (i.e. deleting files with invalid
filenames).
> 
> 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.

Yes. Your new specialization will likely have little to do with the
contents of your datastore. Therefore most of your cached data will be
of no use.

Theoretically, we could produce a migration tool that reinserted all the
content in your store into the network. It wouldn't be too hard to
write, but it'd take ages and a lot of network resources on a big store.

Does anyone think it would be worth the effort?
> 
> -todd
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to