Configuring Staging Site to Push Live
I recently created a staged site for my blog/website. Over the past week, on my staging site I did the following:
-added a couple of pages
-put some custom css to a few existing pages
-rearranged some widgets
-updated plugins
-updated WP
All looks fine on the staged site.
Prior to pushing "Live" I obviously want to push these changes over, but I'd like to be sure I am not writing over all the posts & comments made by users this past week. I am not quite sure how to customize the "Push to Live" settings to make this happen, and would rather not try by trial and error.
Looks like:
Default Setting--overwrites all, so I WOULD lose all recent posts, comments, etc.
Customize Settings:
Files/Folders--Would this be all that's needed to push over all changes mentioned above?
Push Full Database -- Again, if selected looks like I would lose all recent user posts, etc.
Choose Changes in Table-- 12 selections are listed. I am unsure what if anything, selecting (or not) any of these items
would have.
Does anyone have a good idea of WHAT and what not I should select to push live to incorporate the mentioned changes, while not losing recent posts/comments?
Thanks
Nope, no other changes to live site other than new posts and comments.
Below is the (15) configuration page selections when going to push a staged site live in Softaculous:
____________________________________________________________________________
Overwrite Files/Folders
Push Full Database
Choose Database Changes
____________________________________________________________________________
Again, on my staged site I changed/edit:
--added a couple of new pages
-put some custom css to a few existing pages
-rearranged some widgets
-updated plugins
-updated WP
I want to push all those over changes over, but not overwrite any new posts or comments on the live site.
I know I do not want to "Push Full Database"
Actually, I have 2 direct Questions, if you know--great, please answer. if you are unsure that's ok too--just tell me.
1. Will selecting ONLY "Overwite Files/Folders" push over all changes (as listed above) from staged site
to live?
2. If not, which DB table items do I also need to select to push over to include all changes but main-
tain all new user posts and comments on live site.
I DO have back-ups of everything--home directories and DB. If I do happen to overwrite the DB or whack something out I can "hopefully" recover, so it wouldn't (maybe) be the end of the world.
I would love to have a better understanding of the above questions though.so that we can confidently utilize site staging to experiment with our changes and updates etc before pushing live.
First things first, I'd advise taking backups of the live site and the staging site, just in case you need to restore either one. The pages you added to the staging site are in the staging site database. There is no single best way to approach this kind of workflow, it depends on personal preference. Some people only do style changes in the staging site but don't add new content, this way they can migrate over the files only and not the database. In your case, first take backups, then consider doing a migration (files only) and building those new pages on the live site.