Vlasta
New member
So here is what my thought process tells me....
I have a bona fide license. I host the forum on a cloud server that I set up myself. My forum is up and running and is working just fine. However, I know it's only a matter of time until I install or change something that will mess stuff up.
What I have setup is the following:
I have my webroot as /var/www/my-domain/site-1. I also have a directory setup as /var/www/my-domain/site-2
I already set up Apache to point to the correct web root located in /var/www/my-domain/site-1
What I want to do is make a copy of site-1 into site-2 - just copy the files over from the command line. THEN I want to setup the files in site-2 and configs in site-2 to point to a copy of the DB (I can also copy the live DB easily in mysql), in effect making a direct copy of the live site but in another directory. In this way I can test and stage upgrades and when they work correctly I simply need to change the apache config files to point towards the correct webroot.
Is this a sensible approach? Any gotchas that folks have already come across?
I have a bona fide license. I host the forum on a cloud server that I set up myself. My forum is up and running and is working just fine. However, I know it's only a matter of time until I install or change something that will mess stuff up.
What I have setup is the following:
I have my webroot as /var/www/my-domain/site-1. I also have a directory setup as /var/www/my-domain/site-2
I already set up Apache to point to the correct web root located in /var/www/my-domain/site-1
What I want to do is make a copy of site-1 into site-2 - just copy the files over from the command line. THEN I want to setup the files in site-2 and configs in site-2 to point to a copy of the DB (I can also copy the live DB easily in mysql), in effect making a direct copy of the live site but in another directory. In this way I can test and stage upgrades and when they work correctly I simply need to change the apache config files to point towards the correct webroot.
Is this a sensible approach? Any gotchas that folks have already come across?