Website Development and Migration - What to use?

A place For General Chit Chat Etc
User avatar
Posts: 2408
Joined: Thu May 17, 2012 8:53 pm
Location: WA

Website Development and Migration - What to use?

Postby Tazzi » Thu Apr 01, 2021 11:54 am

This is something I have struggled finding much information on, or at least I must be searching incorrectly.

Basically I want to be able to have an identical clone of my own website running either on a subdomain or even on my local computer while I do a full website overhaul and then reload this onto the live site.

Where it starts to get a bit hazy, is re-uploading the website back to the live site.
My issue is that if people were to make purchases during this time, this would be wiped out when the beta site gets uploaded to the live site. My only thought is to possibly put the website on hold while doing this, but that then rushes the process which I am trying to avoid.

Is there a smarter way around this? :wtf:
Your Local Aussie Reverse Engineer
Site:www.envyouscustoms.com
Mob:+61406 140 726
Image

Site Admin
User avatar
Posts: 6548
Joined: Sat Feb 28, 2009 8:34 pm

Re: Website Development and Migration - What to use?

Postby antus » Thu Apr 01, 2021 2:00 pm

What I would do, is backup the web content and the database like normal, then restore that on to your own computer. Then do the update locally. Document the process. Then schedule your own outage in production, at a low usage time. Shut down the site, then do the backup, then do the update live and turn it on again. You should be able to get it done in about 30 mins when you have a known good process and your own step by step instructions to run through. If you have problems you didnt see in your test, you can attempt to work through them and if it goes too pear shaped you can restore your initial backup while you think about it and plan to try again later.

depending on how your website works you might be able to put up a downtime page, or a different index.html with just an image and a notice of when the site will be back while you do the update in the background. that page wont need the db, so you should be able to run the update in the background.
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

User avatar
Posts: 2408
Joined: Thu May 17, 2012 8:53 pm
Location: WA

Re: Website Development and Migration - What to use?

Postby Tazzi » Thu Apr 01, 2021 8:04 pm

antus wrote:What I would do, is backup the web content and the database like normal, then restore that on to your own computer. Then do the update locally. Document the process. Then schedule your own outage in production, at a low usage time. Shut down the site, then do the backup, then do the update live and turn it on again. You should be able to get it done in about 30 mins when you have a known good process and your own step by step instructions to run through. If you have problems you didnt see in your test, you can attempt to work through them and if it goes too pear shaped you can restore your initial backup while you think about it and plan to try again later.

depending on how your website works you might be able to put up a downtime page, or a different index.html with just an image and a notice of when the site will be back while you do the update in the background. that page wont need the db, so you should be able to run the update in the background.


Ok not a bad idea, so write out everything that gets done on the beta site, and then do it all to the live site all in one hit which 'should' be pretty quite.

Oh this is gonna be one hell of shit storm :lol:
Your Local Aussie Reverse Engineer
Site:www.envyouscustoms.com
Mob:+61406 140 726
Image

User avatar
Posts: 999
Joined: Sat Dec 15, 2018 7:38 am

Re: Website Development and Migration - What to use?

Postby Gampy » Fri Apr 02, 2021 4:40 am

IMNSHO That is the ONLY way to do it!

Don't forget (be prepared) to adjust/account for hardware differences between systems if necessary.
Windows 10 is like an off idle flat spot ... It stumbles when it's time to go!

User avatar
Posts: 2408
Joined: Thu May 17, 2012 8:53 pm
Location: WA

Re: Website Development and Migration - What to use?

Postby Tazzi » Sat Apr 03, 2021 12:02 pm

Its all going to be running on the same server again, its more the fact I wanted to make as many changes as possible in the shortest time frame so the website is not down.

I have been researching some more, and I 'think' I can save/update the ecommerce database tables separately to that of the main wordpress tables. So I should be able to update the beta site with any new orders to keep it up to date until I move it to the live site. Then fingers crossed it all works straight away!
Your Local Aussie Reverse Engineer
Site:www.envyouscustoms.com
Mob:+61406 140 726
Image

User avatar
Posts: 999
Joined: Sat Dec 15, 2018 7:38 am

Re: Website Development and Migration - What to use?

Postby Gampy » Sun Apr 04, 2021 8:03 am

The 7 P's of success ... Proper Prior Planning Prevents Piss Poor Performance!

Do it over and over and over till you get it down, then and only then you do the live system ...

You may still possibly have issues, however the more you did it over and over the more prepared you are, thus the faster you'll recover.

Love doing that crap, did it for a long time.
Windows 10 is like an off idle flat spot ... It stumbles when it's time to go!

User avatar
Posts: 2408
Joined: Thu May 17, 2012 8:53 pm
Location: WA

Re: Website Development and Migration - What to use?

Postby Tazzi » Tue Apr 06, 2021 11:06 am

Last time I did a massive overhaul.. I waited till around middnight.. and did all the changes live on the site. Didnt sleep until 6am... pretty sure I still have PTSD from that traumatic night.

What could go wrong... did go wrong. Hopefully this will be a hell of a lot less pain.
Your Local Aussie Reverse Engineer
Site:www.envyouscustoms.com
Mob:+61406 140 726
Image

User avatar
Posts: 999
Joined: Sat Dec 15, 2018 7:38 am

Re: Website Development and Migration - What to use?

Postby Gampy » Thu Apr 08, 2021 5:31 am

Oh gawd I hate those nights! Feel for ya ... Been there done that!

Not only is working in a panic traumatizing, it returns poor results, you will invariably miss some important bit.
Windows 10 is like an off idle flat spot ... It stumbles when it's time to go!

Return to Off Topic

Who is online

Users browsing this forum: No registered users and 8 guests