On 04/20/2015 07:35 PM, 'Carlos de la Guardia' via substanced-users wrote:
> There is currently no script or tool that will do this. It seems like it
> can be generally useful, so feel free to add a feature request to the
> tracker.
It can currently only be done via code:
from substanced.dump import load
load(yamldir, root)
- C
>
> Thanks,
>
> Carlos de la Guardia
>
> ------------------------------------------------------------------------
> *From:* Maxym Shalenyi <
supa...@gmail.com>
> *To:*
substanc...@googlegroups.com
> *Sent:* Sunday, April 19, 2015 6:04 AM
> *Subject:* Is there any tool/script to load results of sd_dump into
> DB (aka sd_load)?
>
> Hello,
>
> I'm trying to migrate ZODB from python2 to python3, and seems like
> the easiest way to do it is to dump all contend from old DB and then
> load it into the new DB.
> The sd_dump script works perfectly fine for my content but in
> documentation I can't find any references to how to load dumped
> content back into SubstanceD. Is there any tool for that purpose?
>
> Thanks in advance,
> Max
> --
> You received this message because you are subscribed to the Google
> Groups "substanced-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
substanced-use...@googlegroups.com
> <mailto:
substanced-use...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "substanced-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
substanced-use...@googlegroups.com
> <mailto:
substanced-use...@googlegroups.com>.