Re: migrate node data to new node

Steve Dougherty <steve-kVTqj8yhOEv2eFz/[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
On 01/03/2015 10:38 AM, Евгения Карпова wrote:
> Hello, I have and old node and it seems to be broken/misconfigured (I see
> too few peers, comparing to a fresh node install on the next box, though
> all security configs are the same, and also it suffered from strange
> reindex/db loss sometimes).

I am sorry to hear you're running into trouble. purge-db4o should solve
these problems and is continuing to make progress toward release, but I
don't have a timeframe for it yet. There are testing versions of it out,
but it's not ready for a stable release yet.

> I want to stay on new node, but also migrate all data from old node to new
> one to not break network and to not loose others's people data.

Thanks for that!

> Is it possible, and is it is, which files/keys/dbases should i copy to a
> fresh node?

You should be able to copy enough to keep your node's datastore
configuration and its contents.

Two options come to mind, and it depends on whether your want the new
node to get the old darknet reference. In either case, replace the
"/datastore/" directory of the new node with that of the old one.

If you want to keep the same reference, copy the "node-<darknet port
number>" file to the new node. Then replace the
"node.opennet.listenPort" and "node.listenPort" lines in the new
freenet.ini with those in the old. I do not recommend running both nodes
after doing this because I expect them to conflict with one another.

If you do not want to keep the same reference, replace the "location"
line in the new "node-<darknet port number>" with that from the old.

- Steve

_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUrJgjAAoJECLJP19KqmFuH5UP/3+811d3FtcPhQBS87gFJvuA
bKm7/fyNtUuS++Ojp4FJwrSYfHGm/JYDr1MDDBt4T8NxdSQ10JOYkDuKTLi3cj9o
pgqZSkB21eAmm3WzPDh6mQVUSkwiMUIa9mqGy+rvF56xXjt7vGuf1bvoVwEHsFip
YnOys8gd8RZ/wtvuD9mD/krKVUYExhg9DS3xZUsKJFOMQ6Y3GssO1vUFgIwnOyyS
zIZ7UQ3pnCInpQcDtPxpx8vf1paa51ACdGSWDsv63YUW/2/lErmKDeMDTPiHZYXH
664+JVQr8QQvDqahzQ1C2kCssINsYzBc/hZcrkLS7Bj8+CzT2n7YIxj5dFI290Nd
ku+60pCcDrfbTgYNXsEwWBDGyEcxLvbojQSW2cRB8CV+hfGfBhSNlNkTfsQMmuRg
Xco2rDslzwTRZWf/BeDK02tfyCZYGE591tHjgebP/4QKRs1/jHw7C7vAPbWlIGfa
G7w64BNqc7ABhzZza6pYpz6+esaXtqlO93r4Q50v64YzVRpLZ2Zmi654kC/bhUgQ
pNnychFFon2c36MxSuVCNx9emVMMEaIiEdUdPcmI5l2kaPTRsTELTrS6xwfdCgV3
/82yGdgKrmkWIoMfQiGongtMD5mpBf4G+W8qz7s9tgxrXsoQ1u8J7Hen7zodUlMc
mMQ89mCXxmunyhyLv0fm
=poBJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.