How to synchronize WordPress dumps with live sites

In a recent post, we showed you how to easily set up a WordPress dump site in cheap hosting. Following the steps I described, you can set up a staging site to test site updates without paying an expensive hosting fee that includes staging options. However, how do you manage the dump site so that it is as close to the real-time site as possible? Finally, if you test the update at the dump site, and the two sites are different, implementing the update at the live site won’t help much. In this speech, I will tell you that method. The
We’ll show you how to easily create using the snapshot Pro plug-in. My goal is to ensure that this process is not too complicated, and that anyone can follow it regardless of the level of trusteeship and experience. Note that this method can only be executed on the v.3 of the plug-in. If v.4 is installed, v.3 can be ed from the change log. Note: advanced web developers can make changes locally, store GitHub in the same version control system as GitHub, distribute GitHub repository to dump and real-time sites, and keep the database synchronized, such as vagrant. If so, it is best to follow this guideline. But if you start, read on! The
First, let’s start with what it contains. Male snapshot Pro is designed for backup, but can also be used to keep sites synchronized. To do this, you need two conditions to keep the synchronization. For file (upload, plug-in, topic, etc.) databases, the method to be adopted varies according to the initial addition location. If new synchronization content is added to the dump in real time from the synchronization process, the database will be continuously updated on the real-time site. Therefore, the database content must be synchronized from real-time to static. The
In addition, content is added every time a media file is uploaded and attached to a post or page, so the upload folder must be synchronized from real-time to dump. Dumping to a live synchronous dump site tests plug-ins, topics, and settings, so if you confirm that you are testing and running it, you must synchronize it with the live site. These include plug-ins and theme files, word press itself, and WP options database tables. Synchronize and test the process so that whenever your site needs to test anything, it provides a three-phase process. The
Synchronize database content and uploads from the live site to the dump site. The site will synchronize. Test new or updated plug-ins or themes and WordPress updates at the dump site. Test for changes to settings, constructs, custom programs, and so on. Assume you have no test problems and synchronize settings and files (except themes, plug-ins, core files – uploads) to the live site. If you are testing everything, it might be better to run the update on a live site. In particular, WordPress updates are faster than copying all files. I will introduce you to this process. That is, snapshots must be created at each site. The
Snapshot of the database on the real-time site and upload the contents of the folder. Dump a snapshot of the WP options folder and all theme and plug-in files on the site. Is that right. Good! Let’s go. Important: it only works when all tests and updates are performed on the dump site and all content generation is performed on the live site. Don’t be tempted to bypass the system! Before starting, I assume that you are working on a new dump site, so the files have been synchronized. Since the dump site was created, between live broadcasts
T’s settings were not changed. If so, you must edit the dump site or redo the dump site creation process to ensure that everything is synchronized. The
The snapshot plug-in must be installed at both sites. The first thing to do to set up a snapshot is to set it from real-time to dump snapshot. Suppose that two sites have installed snapshots, navigate to the snapshot, and click add new. First, specify a title and a useful description for the snapshot. Overview of two stages of snapshot Pro site. Scroll down to select a folder that contains only the uploaded folder. Male snapshot Pro is the live broadcast in the static file. Now scroll down and select all the database tables. The
Male snapshot Pro on-site reprint database. Now specify where to save the snapshot. This is not a full backup, you can simply store it on a local server. Click create snapshot to complete. Snapshots on live sites now contain the following snapshots: Male snapshot Pro is set up on the site website. Creating a snapshot of the dump site can now be repeated with several adjustments for the dump site. Please re specify a useful title and description. Select a theme and plug-in folder instead of an upload folder. Please reselect all database tables. Now that you have set up two snapshots, you can use them. The
Now it’s time to run synchronization. Before synchronizing the active site to the dump site, you must synchronize the upload and database of the active site to the dump site. Navigate to the snapshot screen of the live site and browse to the snapshot that is being synchronized. Click Run now to run now. Wait for the snapshot to run. When finished, click the view link in the archive column next to the snapshot name. A list of backups for this snapshot is displayed. Male snapshot archive. Under last Archive (must be within the last few minutes), click the link. The file will be ed to your computer. The
The ed zip file must be copied to the dump website. Open the FTP client and copy the ed snapshot zip file to the WP content \/ uploads \/ snapshots folder of the dump site. Now open the dump site and go to snapshot > import. Click the scan \/ import snapshot button. The plug-in finds all snapshots in the snapshots folder and tells you what is available. Brought a snapshot. Take a new snapshot for recovery. We will now go to the dump site’s all snapshots screen. A snapshot of the static website. Snapshots created at the site and imported from the site are listed for resynchronization to the live site. It is important to specify a unique title for both snapshots in order to know which is which. The
Before taking a snapshot from a live site, quickly back up the dump site. To back up the entire site, you have created (are you sure you have?) Run the snapshot. Just in case. If you have not set it, please set it. It is now time to import the database and upload it from the live site. In the live site synchronization snapshot (snapshot – sync from live site to staging), click the restore link. Use this snapshot (that is, the snapshot you just imported) to move to the most recent archive. Obtain archived documents. Make sure the date is correct (you must have today and the past few minutes), and then click the restore link under the archive file name. Then navigate to another screen for configuration tuning. Keep everything, then scroll down to select the topic you want to activate
Please. Restore the theme option. Finally, click the restore snapshot button and wait for the plug-in to work like magic. When complete, a success message is displayed. Male snapshot succeeded! Executing your test now has a dump site synchronized with the live site. It’s time for the test. Perform all tests required to update, create themes, and edit plug-ins. Etc. Make sure everything is OK before proceeding to the next step. If the test contains an update test of word press itself, word press must be updated at the site before synchronization. If the update results in no error at the dump site, follow the normal method. To complete the synchronization of the dump site on the real-time site, you must resynchronize the updated or edited plug-ins or topics with the WP options table to the real-time site. Note: if you change content or upload images, you must create additional snapshots on the dump site to include all database tables, upload folders, plug-ins, and theme folders. Then, instead of snapshots, use snapshots to perform the following steps in the same way: This is almost the same process as resynchronizing to a live site, so let’s summarize. Run a synchronized snapshot on the preparation site. Use this snapshot to find and the most recent archive file. Upload the zip file to the WP content \/ uploads \/ snapshots folder of the live site. Navigate to snapshot > Import and click Scan \/ import snapshot to import the snapshot. Navigate to all snapshots and run a snapshot that backs up the entire real-time site (this is more important for real-time sites and should not be skipped). Now perform a restore on the imported snapshot. All completed! You will now have the latest live site, which contains all the tests performed on the dump site. Provide final confirmation to the site to ensure that everything is running and completed properly. If the dump site is synchronized with the live site, the test will be more accurate. You can now synchronize the site and the dump site to ensure that tests are being performed on the dump site that correctly reflects the site. If you don’t, the two sites will be different, so something can run on the preparation site, but it may not run on the real-time site. Test as follows: Is there a site ready to develop WordPress? How to synchronize dump site and real-time site? Have you ever used snapshot pro? Please share your thoughts on site synchronization in the comments below. Label: develop snapshot dump environment

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *