Page MenuHomePhabricator

Can I populate a new wikibase-docker container with a previous populated wikibase instance?
Closed, ResolvedPublic

Description

I was able to successfully launch the docker image. See: http://185.54.115.189:8181/wiki/Main_Page and http://185.54.115.189:8282/

Now I want to load that empty stack with the contents of a pre-existing wikibase instance, maintaining the order of properties (Pxx) and items (Qxx).
Is this possible and if so, how should I proceed?

Event Timeline

maintaining the order of properties (Pxx) and items (Qxx).

Do you mean to say only the order, or do you want exact mappings / the same IDs on the old instance and the new instance?

the same IDs on the old instance and the new instance. Some Wikibase instances can have mappings to external IRIs or vice versa, that is external resources containing mappings to the old Wikibase instance, which you don't want to loose upon migration to a new instance.

So, https://github.com/filbertkm/WikibaseImport is probably a good place to start.

We will try to incorporate this soon / document & fix this up

This should be possible to do when T192080 is merged

WikibaseImport is now merged.

Some docs can be found @ https://github.com/filbertkm/WikibaseImport/blob/master/README.md

I'll close this for now as this task should now be technically possible.

If you run into any issues let us know.

Addshore claimed this task.