⚠️ This repository is deprecated. The Wikibase.Cloud team used it to migrate users from wbstack.com to wikibase.cloud between 2022-2023. This code shouldn't be used anymore - it's archived as a reference to what was done and how.
Repository containing code enabling migration from wbstack.com to wikibase.cloud
- Look in migration sheet for a user to migrate
- Enter the date in the migration started column
- Download all their private wiki zips from the shared drive
- Unzip them in the same folder as there is a copy of putData.sh
- Execute putData.sh
$ ./putData.sh potato.wiki.opencura.com wikibase.cloud
- Remove the triple dump date from the queryservice using the following script
queryservice-delete-dump-timestamp-in-namespace from the wbaas-deploy repo.
This is so that the queryservice updater does not use the triple dump date created during migration.
- Create a file containing the wiki namespace, say
namespace.txt
. In the api backend application runWiki::where(['domain' => '<my-domain-here>'])->first()->wikiQueryserviceNamespace;
to get the wiki namespace. - Forward the query service port to the host machine
kubectl port-forward deployment/queryservice 9999:9999
. - Run the
queryservice-delete-dump-timestamp-in-namespace
script and passnamespace.txt
as an argument.
- Create a file containing the wiki namespace, say
- Confirm migration appears to have worked by opening the following links on your browser.
- Check that the migrated wiki potato.wikibase.cloud works.
- Check that Query Service works.
- Check that Cradle works.
- Check that QuickStatement works.
- Enter the date in the Migration finished column
- Let the team know
- Delete your local files containing the data