replace into mirror.wp_posts select * from wordpress.wp_posts where ID = 12345 or post_parent = 12345;
replace into mirror.wp_postmeta (select * from wordpress.wp_postmeta where post_id = 12345);
replace into mirror.wp_posts select * from wordpress.wp_posts where ID = 12345 or post_parent = 12345;
replace into mirror.wp_postmeta (select * from wordpress.wp_postmeta where post_id = 12345);