Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > "Content Staging" in free edition View modes: 
User avatar
Member
Member
pbs-dativa - 3/26/2010 9:43:12 AM
   
"Content Staging" in free edition
Hi,

Content Staging is not included in the free edition, so what is best practices regarding deployment of document changes (both design and content) from a development server to a live server?

“When importing into an existing site, only new documents can be imported. Modified documents that are already present on the target server will not be overwritten.”

Should I manually delete the documents in production (in CMS desk) and then do the import?

Per

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 3/31/2010 8:14:09 PM
   
RE:"Content Staging" in free edition
Hi,

yes, the approach you describe is one of the options. If you delete the documents and then do the import, modified documents will be imported as well.

Other way would be using database backup -- restore it on the target DB server... In case you don't need to transfer any codefiles which are referenced by global objects, this could be the way too.

Regards,
Zdenek C.

User avatar
Member
Member
pbs-dativa - 4/1/2010 1:06:20 AM
   
RE:"Content Staging" in free edition
Hi Zdenek,

Wont a DB restore delete all the new users, forum entries ect.?

Per

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 4/1/2010 3:41:34 PM
   
RE:"Content Staging" in free edition
Hi Per,

Yes, you're right, that's a good point. Full DB restore is certainly not suitable for sites that are already running online in the production phase. If you're adding modified documents to the live site that already has a "traffic" like newly registered users, forum posts, comments, statistics, all this would be reset. This approach can be used only for sites in development.

You may also write your own code that would update the document in the target database... however this is not very easy task, processing all the details that have to be considered. Some info can be found in Developer's Guide / API section: Updating a document and maybe also Using API and CMS Controls outside CMS project.

The approach with deleting the document and importing the new version looks easier when these changes are not frequent.

Best regards,
Zdenek C.