Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | dereckson | T372 Migrate Wolfplex and Zed Phabricator to acquisitariat / nasqueron/phabricator | |||
Resolved | dereckson | T374 Migrate zed_code data to acquisitariat |
Event Timeline
Comment Actions
Operations log
$ docker run --name tmp-zed-code-mysql -v /data/phabricator-zed/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=`openssl rand -hex 21` $ docker run -dt --link tmp-zed-code-mysql:mysql -v /data/phabricator-zed/repo:/var/repo -v /data/phabricator-zed/conf/:/opt/phabricator/conf -p 36080:80 -e PHABRICATOR_URL="http://code.zed.dereckson.be" --name zed-code nasqueron/phabricator bd1d45eb1f14 $ docker exec -it tmp-zed-code-mysql # Reset root access, as it were a folder for localhost MySQL access $ docker exec -it zed-code $ bin/storage upgrade --force $ bin/storage dump > /tmp/zed.sql $ bin/storage renamespace --in /tmp/zed.sql --from phabricator --to zedphab > /tmp/zedphab.sql $ logout $ docker cp bd1d45eb1f14:/tmp/zedphab.sql /tmp/zedphab.sql $ docker cp /tmp/zedphab.sql acquisitariat:/tmp/zedphab.sql $ docker rm -f zed-code $ docker rm -f tmp-zed-code-mysql $ docker exec -it acquisitariat bash $ mysql -uroot -p$MYSQL_ROOT_PASSWORD < /tmp/zedphab.sql