# Get selective when pushing staged environments

**URL:** https://community.kinsta.com/t/get-selective-when-pushing-staged-environments/3420
**Category:** News and Announcements
**Created:** [May 9, 2024, 9:54am UTC](https://community.kinsta.com/t/get-selective-when-pushing-staged-environments/3420 "2024-05-09T09:54:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeff](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jeff/32/16_2.png) [@jeff](https://community.kinsta.com/u/jeff)
#### Post date: [May 9, 2024, 9:54am UTC](https://community.kinsta.com/t/get-selective-when-pushing-staged-environments/3420/1 "2024-05-09T09:54:29Z")

</div>

An upgraded **Push environment** tool in the MyKinsta dashboard is giving [Managed WordPress Hosting](https://kinsta.com/wordpress-hosting/) customers dramatically more power when publishing from [staged environments](https://kinsta.com/docs/wordpress-hosting/staging-environment/).

New [selective push](https://kinsta.com/docs/wordpress-hosting/staging-environment/#push-staging-to-live-with-selective-push) functionality means customers can now deploy anything from entire sites to individual files or database tables from staging, allowing MyKinsta to support more development workflows.

## How to use Selective Push in MyKinsta

Whether you have a free or [premium add-on](https://kinsta.com/add-ons/) staging environment, the **Push environment** option is available any time a staged site is chosen from the WordPress sites list or from MyKinsta’s **Jump to or search** dialog, invoked by pressing `CTRL + /` (and also `CMD + /` on macOS):

 ![Screenshot showing WordPress environments at the top of the Jump to/Search dialog in MyKinsta.](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/d/da6f172500cc51bff1c6254dbd2588876a3b4e4f.png)Choosing a live or staged environment in MyKinsta’s Jump to/Search dialog.

The website pictured above has a **Live** environment and two staged environments — named **Staging** and **Development**.

In the image below, the staged environment named **Development** has been selected, and the **Push environment** button located above the site details shows that we have the option, in this case, to push to **Live** or the other staged environment:

 ![Screenshot showing the selector for choosing a push target in MyKinsta.](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/2/23003fb27d9fddc1bd2ab1ade561eb033f156c58.png)Selecting a target for the **Push environment** action.

After selecting a target environment, you can choose which file and database assets you want to push.

Files:

- All files and folders
- Specific files and folders
- (No files or folders)

Databases:

- All database tables
- Specific database tables
- (No database tables)

 ![Screenshot showing the selection of assets to be pushed from a staged environment.](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6516a5e2338ecd67d5baadb0cd2ca73baad625d7.png)Selecting file and database assets to push from staged.

Above, we’ve chosen to push to **Live** only the folder containing our **acme** theme and the option to push any database content has been deselected.

To enable the push, the site name is entered in the confirmation field.

Below, a selective push of the database will send only the **wp\_postmeta** and **wp\_posts** tables to the target environment:

 ![Screenshot showing the selection of database tables to be pushed from a staged environment.](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/e/e6fe1fdb0e4b5b01f91af6d4db32bd5d850c6108.png)Selecting individual database tables to push from staged.

When pushing database tables, you can enable an automatic search-and-replace that will swap any references to the staged environment’s domain with that of the target environment.

Finally, below, a selective push of files and folders will deploy just a single CSS style sheet and the folder named **assets** from within our **acme** theme folder:

 ![Screenshot showing the specification of a single file and a single folder to push from a staged environment.](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/78a9daa25b7cc7856b8edd066e400c23ab3f105a.png)Specifying individual files or folders to push from staged.

Whatever selections you make when pushing from one environment to another, we’ll make an automatic backup of the target environment before beginning the action.

### Info

We recommend reading the [important notes](https://kinsta.com/docs/wordpress-hosting/staging-environment/#important-notes) in our **Push environment** documentation before deploying staged files or databases.

## WordPress made easy (and fast)

As an industry-leading managed WordPress host, Kinsta is dedicated to engineering new ways to make WordPress migration and [maintenance processes](https://kinsta.com/blog/wordpress-maintenance/) simpler than ever before.

If you’re looking for a [blazing fast](https://kinsta.com/blog/migrate-to-kinsta/) and [secure](https://kinsta.com/wordpress-hosting/security/) hosting provider, make sure to check out [Kinsta’s plans](https://kinsta.com/wordpress-hosting/pricing/) to find the one that fits you best.

The post [Get selective when pushing staged environments](https://kinsta.com/changelog/selective-push-environment/) appeared first on [Kinsta®](https://kinsta.com).

* * *
This is a companion discussion topic for the original entry at [https://kinsta.com/changelog/selective-push-environment/](https://kinsta.com/changelog/selective-push-environment/)
