Synchronizing Development and Production Sites and Databases
What's involved in synchronizing a production site and a development site? I think I understand what needs to be copied in the file system (e.g., masterpages). But I'm unsure of what tables need to be updated or, in fact, if that's something that can be done manually or with a script.
If I'm reading things right I think that's what Courier and Concierge do (plus more, I'm sure). But I'm just getting my feet wet with Umbraco, and the site I'm looking to synchronize is actually pretty simple.
Deployment of pretty simple sites can be done (especially when moving for first time - ie production site not yet live):
-Backup db on dev server
-Restore db on live server
-Copy all files from dev server to live server
-Change web.config to point to new live database.
-Browse to the site (admin backend), log in
-Make sure host headers are fine (if set) and republish the entire site (Freshen up the xml content by republishing the entire site from the context menu on the 'Content' top level node).
Should do the trick. If not, let us know if you run into some specific error.
Synchronizing Development and Production Sites and Databases
What's involved in synchronizing a production site and a development site? I think I understand what needs to be copied in the file system (e.g., masterpages). But I'm unsure of what tables need to be updated or, in fact, if that's something that can be done manually or with a script.
If I'm reading things right I think that's what Courier and Concierge do (plus more, I'm sure). But I'm just getting my feet wet with Umbraco, and the site I'm looking to synchronize is actually pretty simple.
- Mark
Hi Mark,
Deployment of pretty simple sites can be done (especially when moving for first time - ie production site not yet live):
-Backup db on dev server
-Restore db on live server
-Copy all files from dev server to live server
-Change web.config to point to new live database.
-Browse to the site (admin backend), log in
-Make sure host headers are fine (if set) and republish the entire site (Freshen up the xml content by republishing the entire site from the context menu on the 'Content' top level node).
Should do the trick. If not, let us know if you run into some specific error.
Cheers,
/Dirk
Hello Dirk
This procedure is still up these days on the current Umbraco version ?
If I use the umbraco for multiple websites, it won't be a good approach restoring databases, because some projects might not be ready to publish.
Is there a new way to publish a stage website from one development server to a production server without doing it throught backup?
There are a couple of packages available to allow you to keep stuff in sync
Converge (I use this myself and have found it very good) and uSync
Great ! Thank you.
I'm going to check it out right now.
is working on a reply...