Here is a copy of pxadmin_create_mirror.sql which doesn't build on Mac currently