+1-888-365-2779
Try Now
More in this section

Forums / Deployment / When does database get updated during an upgrade?

When does database get updated during an upgrade?

3 posts, 1 answered
  1. David
    David avatar
    99 posts
    Registered:
    06 Sep 2012
    28 Mar 2012
    Link to this post
    Scenario
    I upgraded our site from 4.4 to 5.0 & copied our production database to our development server. Thus the upgrade was performed against our development database. After several days of testing I am now ready to deploy to production.

    My problem
    When I ran the upgrade and did all of the testing it was pointing to our development database. I can no longer copy the development database to production because after 3 days of testing they are out synch. If I copy the upgraded 5.0 site to our production server, can I simply modify the data config file and point it to the production Sitefinity 4.4 database? Will it safely & automatically upgrade the database to 5.0? Eventhough I upgraded the Sitefinity files 3 days ago and have been running it against the development database since then?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    02 Apr 2012
    Link to this post
    Hello David,

    If you have ensured that the upgrade process was correctly performed and the development copy of your project is running flawlessly, I would suggest you to copy and replace the contents of the bin folder of your 4.4 project with the contents of a bin folder of a brand new 5.0 project. By copying the 5.0 dlls over the 4.4 dlls, the upgrade scripts will be executed which eventually will upgrade your configuration files and the database.

    Please note that you need to restart the application ( by making a dummy change to the web.config ) after you replace the dlls.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. David
    David avatar
    99 posts
    Registered:
    06 Sep 2012
    02 Apr 2012
    Link to this post
    You're making it way too easy ;)
3 posts, 1 answered