Currently s51306__copyright_p database is on enwiki.labsdb. The database is used by:
- eranbot tool (running plagiabot) - writes suspected copyright violations to copyright_diffs
- copypatrol tool - read suspected copyright violations. (Possibly maintains wikiprojects table?)
AFAIK:
- it will not be allowed to have user tables there by December. (see parent task)
- There is no real use of being on labsdb.enwiki rather than any other DB host, except that it is useful for ad-hock analytics.
Preparations:
- Copy s51306__copyright_p from enwiki.labsdb to tools.labsdb (data is up to Oct 28 07:00)
- make sure both tools (eranbot and copypatrol) have access to this DB. (may require DBA, see T134392 for request on the current DB)
Migrate:
- re-replicate if needed (was not possible due to hardware failure - https://lists.wikimedia.org/pipermail/cloud-announce/2017-November/000007.html )
- Change .env configuration on CopyPatrol and restart the service
- Change reporter_db_host in dbsettings of plagiabot and restart the service