I would like to make large changes to our wordpress site but need to get approval before going live. My initial aim was to download the php and mysql files, replaicate it locally and then upload it to the web once approved. However I see downloading the database / files isnt possible. Do you have any other suggestions of how we could work in parallel wihtout harming the running VM / environment.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya, @nickthorley
You can use plugins like WP Staging or Duplicator make it easy to clone your site.
staging.yoursite.com
) or a local directory.Once the staging environment is done you can use a plugin like All-in-One WP Migration to export your site (including the database) and then import it to your dev site.
Hope that this helps!
Hey Nick,
In addition to what @alexdo suggested, you can also create a copy of the entire Droplet. This way, you can replicate your environment, including all files and the database, without touching the live site.
Here’s how to clone your Droplet:
This approach will allow you to work in an exact copy of your live environment, giving you peace of mind when making large changes.
Hope this helps!
- Bobby
Heya,
Another way is to use the Snapshot feature. Snapshots are on-demand disk images of DigitalOcean Droplets and volumes saved to your account. Use them to create new Droplets and volumes with the same contents
https://docs.digitalocean.com/products/snapshots/