WP Staging – DB & File Duplicator & Migration

Beschreibung

This cloning and staging plugin is well tested but still work in progress!
If you find a bug please open a ticket in the support request. Any issues will be fixed asap!

Note: This plugin is not able to push back your changes to the live site at the moment!
Please let us know your most requested feature and use our quick poll. It only takes one minute of your time:
Start the Poll

WP Staging for WordPress Migration

This duplicator plugin allows you to create an staging or development environment in seconds*

It creates a file clone of your website into a subfolder of your current WordPress installation with an entire copy of your database.
This sounds pretty simple and yes it is! All the hard time consumptive database and file copy stuff including url replacements is done in the background.

I created this plugin because all other solutions are way too complex, overloaded with dozens of options or having server requirements which are not available on most shared hosting solutions.
All these reasons prevent user from testing new plugins and updates first before installing them on their live website, so its time to release a plugin which has the potential to be merged into everyone´s wordpress workflow.

* Time of creation depends on size of your database and file size

WP Staging helps you to prevent your website from being broken or unavailable because of installing untested plugin updates!

Main Features

  • Easy: Staging migration applicable for everyone. No configuration needed!
  • Fast: Migration process lasts only a few seconds or minutes, depending on the site’s size and server I/O power
  • Safe: Access to staging site is granted for administrators only.

    More safe:

  • Admin bar reflects that you are working on a staging site
  • Extensive logging if duplication and migration process fails.

What does not work or is not tested when running wordpress migration?

  • WordPress migration of wordpress multisites (not tested)
  • WordPress duplicating process on windows server (not tested but will probably work)
    Edit: Duplication on windows server seems to be working well: Read more

Change your workflow of updating themes and plugins data:

  1. Use WP Staging for migration of a production website to a clone site for staging purposes
  2. Customize theme, configuration and plugins or install new plugins
  3. Test everything on your staging site first
  4. Everything running as expected? You are on the save side for migration of all these modifications to your production site!

Why should i use a staging website?

Plugin updates and theme customizations should be tested on a staging platform first. Its recommended to have the staging platform on the same server where the production website is located.
When you run a plugin update or plan to install a new one, it is a necessary task to check first the modifications on a clone of your production website.
This makes sure that any modifications is working on your website without throwing unexpected errors or preventing your site from loading. (Better known as the wordpress blank page error)

Testing a plugin update before installing it in live environment isn´t done very often by most user because existing staging solutions are too complex and need a lot of time to create a
up-to-date copy of your website.

Some people are also afraid of installing plugins updates because they follow the rule „never touch a running system“ with having in mind that untested updates are increasing the risk of breaking their site.
I totally understand this and i am guilty as well here, but unfortunately this leads to one of the main reasons why WordPress installations are often outdated, not updated at all and unsecure due to this non-update behavior.

I think its time to change this, so i created „WP Staging“ for WordPress migration of staging sites

Can´t i just use my local wordpress development copy for testing like xampp / lampp?

Nope! If your local hardware and software environment is not a 100% exact clone of your production server there is NO guarantee that every aspect
of your local copy is working on your live website exactely as you would expect it.
There are some obvious things like differences in the config of php and the server you are running but even such non obvious settings like the amount of ram or the
the cpu performance can lead to unexpected results on your production website.
There are dozens of other possible cause of failure which can not be handled well when you are testing your changes on a local staging platform.

This is were WP Staging steps in… Site cloning and staging site creation simplified!

I just want to migrate the database from one installation to another

If you want to migrate your local database to a already existing production site you can use a tool like WP Migrate DB.
WP Staging is only for creating a staging site with latest data from your production site. So it goes the opposite way of WP Migrate DB.
Both tools are excellent cooperating eachother.

What are the benefits compared to a plugin like Duplicator?

At first, i love the Duplicator plugin. Duplicator is a great tool for migrating from development site to production one or from production site to development one.
The downside is that Duplicator needs adjustments, manually interventions and prerequirements for this. Duplicator also needs some skills to be able to create a development / staging site, where WP Staging does not need more than a click from you.
However, Duplicator is best placed to be a tool for first-time creation of your production site. This is something where it is very handy and powerful.

So, if you have created a local or webhosted development site and you need to migrate this site the first time to your production domain than you are doing nothing wrong with using
the Duplicator plugin! If you need all you latest production data like posts, updated plugins, theme data and styles in a testing environment than i recommend to use WP Staging instead!

I need you feedback

This plugin has been done in hundreds of hours to work on even the smallest shared webhosting package but i am limited in testing this only on a handful of different server so i need your help:
Please open a support request and describe your problem exactely. In wp-content/wp-staging/logs you find extended logfiles. Have a look at them and let me know the error-thrown lines.

Wichtig

Per default the staging site will have permalinks disabled because the staging site will be cloned into a subfolder and regular permalinks are not working
without doing changes to your .htaccess or nginx.conf.
In the majority of cases this is abolutely fine for a staging platform and you still will be able to test new plugins and do some theme changes on your staging platform.
If you need the same permalink stucture on your staging platform as you have in your prodcution website you have to create a custom .htaccess for apache webserver
or to adjust your nginx.conf.

How to install and setup?

Install it via the admin dashboard and to ‚Plugins‘, click ‚Add New‘ and search the plugins for ‚Staging‘. Install the plugin with ‚Install Now‘.
After installation goto the settings page ‚Staging‘ and do your adjustments there.

Official Site

https://wp-staging.com

Screenshots

  • Step 1. Create new WordPress staging site
  • Step 2. Scanning your website for files and database tables
  • Step 3. WordPress Staging site creation in progress
  • Finish!

Installation

  1. Download the file „wp-staging“ , unzip and place it in your wp-content/plugins/wp-staging folder. You can alternatively upload and install it via the WordPress plugin backend.
  2. Aktiviere das Plugin im Menü ‚Plugins‘ im WordPress Backend.
  3. Start Plugins->Staging

FAQ

Installation Instructions
  1. Download the file „wp-staging“ , unzip and place it in your wp-content/plugins/wp-staging folder. You can alternatively upload and install it via the WordPress plugin backend.
  2. Aktiviere das Plugin im Menü ‚Plugins‘ im WordPress Backend.
  3. Start Plugins->Staging

Rezensionen

Saved my life

A few days ago a Responsive theme update totally crashed my original admin surface, but not the staging. Today I updated to the corrected version of the theme on the staging site, copied the whole Responsive sub-directory to the proper directory of the live site (renaming the original directory earlier) using FTP:, and now everything seems to be working 

Great plugin

Amazingly easy to use I have my instance for customer review before release the site and is an excellent way to work I love it. I had a little problems with memory limit but nothing impossible to fix.

It works!

It created a clone of my site quickly and effectively. It’s good that the admin area is coloured differently so it’s always clear that you’re in the staging version.

Smooth Sailing

The setup was simple and the backups are happening regularly, just as I set them up to. I have not had to use a backup yet (and I hope I won’t have to.)

Lies alle 346 Rezensionen

Mitwirkende & Entwickler

„WP Staging – DB & File Duplicator & Migration“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt.

Mitwirkende

Changelog

2.0.2

  • New: Complete rewrite of the code base
  • New: Batch processing allows to clone even huge sites without any timeouts
  • New: Preparation for WP QUADS PRO with ability to copy file changes back to live site

1.1.6

  • New: Add download link to WP Staging Beta Version 2.0.1

1.1.5

  • Fix: Admin notice is throwing a false positive write permission error
  • New: Move log folder to wp-content/uploads/wp-staging/logs
  • New: Tested up to WP 4.7.3

1.1.4

  • Fix: Fatal error Unsupported operand types

1.1.3

  • New: Tested up to wp 4.7.2
  • Fix: Arrows in drop down for folder selection are distorted
  • Tweak: Show working log as default to make debugging easier

1.1.2

  • Fix: Settings are not deleted when plugin is removed
  • Fix: Staging site is available for non administrators

1.1.1

  • Fix: Change rating url

1.1.0

  • New: Tested up to WP 4.6
  • New: Create a poll and ask what feature is most required

1.0.9

  • Fix: Undefined WPSTG() warning
  • Fix: Change compatibility version to wp 4.5.3

1.0.8

  • Tested up to WP 4.5.2

1.0.7

  • Fix: Activation hook is not fired and staging site is not working properly
  • Performance: Increase default query copy limit to 1000

1.0.6

  • Fix: Uninstalling plugin throwing error
  • Fix: Error permission admin notice although permission issues are correct

1.0.5

  • New: Tested up to WP 4.5
  • Fix: Download system log not working
  • Fix: Click on Optimizer „Select all | none | invert“ links leads to jumping
  • Tweak: Make clear that unselecting a checkbox will exlude table or file from copy process
  • Tweak: Remove unnecessary text
  • Tweak: Change beta notice in dashboard. WP Staging is stable
  • Tweak: Change twitter handle to @wpstg

1.0.3

  • Fix: Missing const MASHFS_VERSION
  • Fix: Remove error „table XY has been created, BUT inserting rows failed.“
  • Fix: Not tested up to 4.4.2 message shown although it’s tested up to WP 4.4.2
  • New: Disable either free or pro version and does not allow to have both version enabled at the same time

1.0.2

  • Tweak: Change setting description of uninstall option
  • Tweak: Lower tags in readme.txt

1.0.1

  • New: Orange colored admin bar on staging site for better visualization and comparision between production live site and staging site
  • Tweak: Remove contact link on multisite notification

1.0.0

  • Fix: Do not follow symlinks during file copy process
  • Fix: css error
  • Fix: Show „not-compatible“ notice only when blog version is higher than plugin tested version.
  • Fix: undefined var $size
  • Fix: Check if $path is null before writing to remaining_files.json
  • Fix: $db_helper undefined message
  • Fix: Skip non utf8 encoded files during copying process

0.9.9

  • Fix: Use back ticks for table names to prevent copy errors when table names are containing hyphens or similar special characters
  • New: Load option to reduce cpu load and to lower the risk of killed ajax calls because of security flooding mechanism (Prevent 405 errors: not allowed)
  • Tweak: Load non minified js file when WPSTG debug mode is enabled

0.9.8

  • New: Tested up to WP 4.4
  • New: New debug mode in settings
  • Tweak: Check if url’s in staging’s wp-config.php needs a replacement and do so.
  • Fix: Prevent fatal error and end of copying process. Make sure files are writable before trying to copy them

0.9.7

  • Fix: Change backend link to https://wordpress.org/plugins/wp-staging/ when using an outdated version of the plugin
  • New: Tested up to WP 4.3.1

0.9.6

  • New: Show notice when there is not enough disk space for a clone
  • Fix: PHP Error on 32bit systems: „disk_free_space(): Value too large for defined data type“
  • Fix: Copying process of larges files gets interupted sometimes due undefined variable
  • Fix: Define width and height for the system info export formular
  • Fix: Cannot redeclare deleteDirectory()

0.9.5

  • Fix: Option for cloning sites which are moved into a subdirectory was not working on several systems
  • New: WordPress Migration tested up to WP 4.3

0.9.4

  • Fix: Large files are copied partly
  • Fix: js error xhr.statusText not defined
  • New: Option for cloning sites which are moved into a subdirectory. Read more: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
  • New: Create an alternative copy method for large files
  • New: Add new author WP-Staging to the readme.txt and to the wordpress repository

0.9.3

  • Fix: Rating container is not shown because of wrong wordpress option name
  • Tweak: Change color of the rating links

0.9.2

  • Fix: A conflict with the plugin WP Migrate DB (Pro)
  • Fix: Limit the staging name to maximum of 16 characters for migration process

0.9.1

  • Fix: Change search and replace function for table wp_options when running migration. This prevented on some sites the moving of serialized theme data

0.9

  • New: Release