Skip to content

Restore WP1 from a backup

benoit74 edited this page Sep 30, 2024 · 17 revisions

Aside from a Zimfarm instance which is not covered in this documentation, WP1 relies on a compute instance (mwcurator) and a Trove DB.

This documentation details the procedure to restore both components.

Recreate mwcurator cloud VPS instance and database (if necessary)

You may need to request additional quota for these steps if the original machines are still running.

  1. Go to https://horizon.wikimedia.org/
  2. Select mwoffliner as your project (you must be an admin of mwoffliner)
  3. Under Compute -> Instances
    1. Select “Launch Instance”
    2. Under “Source” use debian-11-bullseye
    3. Under “Flavor” choose an appropriate number of vCPUs, RAM and disk
  4. Under Database -> Instances
    1. Select “Launch Instance”
    2. Under “Volume Size”, choose an appropriate number of GB to handle the size of the database (60 GB at the time of writing)
    3. Under “Datastore”, choose mariadb
    4. Under “Flavor” choose an appropriate number of vCPUs, RAM and disk (the original database server was g4.cores2.ram4.disk20 | 4GB RAM).
    5. Under “Initialize Databases”
      1. Initial Databases: enwp10_prod
      2. Initial Admin User: wp1
      3. Password:
  5. Under “Advanced”
    1. Configuration Group: wp1-db-import (will make the db import faster)

Clone this wiki locally