Title: How does it work
Last modified: September 1, 2016

---

# How does it work

 *  Resolved [Trinitech](https://wordpress.org/support/users/trinitech/)
 * (@trinitech)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-does-it-work-55/)
 * Hi,
 * In the description you say that wp-staging doesn’t require a second database…
   
   So when wp-staging copy the production DB, how does it work? Does it create a
   new table in the production DB and dumpt all the content in it?
 * Can wp-staging be use to test wp core update?
 * Thank you
    Fred
 * [https://wordpress.org/plugins/wp-staging/](https://wordpress.org/plugins/wp-staging/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [SVTX](https://wordpress.org/support/users/12ax7/)
 * (@12ax7)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/how-does-it-work-55/#post-7463369)
 * Hi trinitech,
 * this plugin lets you specify a name for your staging environment and then it 
   adds that name as a prefix for all the new database tables, sort of like WP Multisite
   works.
 * Example:
 * Your current DB prefix is: triniwp_
    Your staging site name is: dev1 Your new
   tables are called: dev1.triniwp_
 * The url’s for dev1 are automatically updated and all files are moved to the new(
   dev1) directory so yes, you can test core updates on it.
 * If you delete the staging site, it’ll show you what tables are going to be removed,
   which are the ones with the respective staging site’s prefix.
 * Please mind that I didn’t create the plugin, this only what I understand from
   using it.
 *  Thread Starter [Trinitech](https://wordpress.org/support/users/trinitech/)
 * (@trinitech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-does-it-work-55/#post-7463374)
 * Hi [@svtx](https://wordpress.org/support/users/svtx/),
    Thank you very much for
   taking the time to write me a very good reply 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How does it work’ is closed to new replies.

 * ![](https://ps.w.org/wp-staging/assets/icon-256x256.png?rev=2972932)
 * [WP STAGING - WordPress Backup, Restore, Migration & Clone](https://wordpress.org/plugins/wp-staging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-staging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-staging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-staging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-staging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-staging/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Trinitech](https://wordpress.org/support/users/trinitech/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/how-does-it-work-55/#post-7463374)
 * Status: resolved