WP Toolkit - Clone except tables xxx, but I want to clone pages

Desmondo

Registered
Sep 12, 2023
2
0
1
UK
cPanel Access Level
Root Administrator
Hi,

Coming across an issue and I can't quite understand why this route was taken during design.

When I clone a staging site I'm given the option to clone tables "Except: jV3QiBj_postmeta, jV3QiBj_posts, jV3QiBj_usermeta, jV3QiBj_users"
But this also includes Pages....the main thing I'd have thought plenty of Wordpress users would want to be changing and updating.

At first I thought the clone tool was totally broken until I realised it was this setting causing the issue.

If I'm working on a staging site I totally get why I might not want users and posts overwritten from the staging site as it's out of date data.
But my Pages, the information I've actually been updating....that's what I want to update back to my live site.

Should these not be separate options on what information I want to update?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,539
2,608
363
cPanel Access Level
Root Administrator
I've heard back from the WPT team, and they said this is due to the limitation of how WordPress stores data in the "_posts" table. There isn't an easy or automated way to split out posts and pages there. Apparently, you're the first person to mention this, so it doesn't seem like it's been a popular use case.
 

Desmondo

Registered
Sep 12, 2023
2
0
1
UK
cPanel Access Level
Root Administrator
OK, thanks for getting back to me.

I find it strange I'm the first to mention it. I know we all use Wordpress in different ways but I can't be the only person updating pages to then push to a live site :)