Page MenuHomePhabricator

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


I was able to successfully launch the docker image. See: and

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 10 2017, 11:59 AM

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.

Gstupp added a subscriber: Gstupp.Nov 18 2017, 1:32 AM
K4-713 added a subscriber: K4-713.Mar 26 2018, 9:20 PM

So, is probably a good place to start.

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

Addshore moved this task from Features to Misc on the Wikibase-Containers board.Apr 25 2018, 2:01 PM
Tarrow added a subscriber: Tarrow.May 15 2018, 1:00 PM

This should be possible to do when T192080 is merged

WikibaseImport is now merged.

Some docs can be found @

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

If you run into any issues let us know.

Addshore closed this task as Resolved.May 28 2018, 5:09 PM
Addshore claimed this task.
Restricted Application added a project: User-Addshore. · View Herald TranscriptMay 28 2018, 5:09 PM