Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vivek Raj 5 posts 25 karma points
    Sep 21, 2014 @ 15:37
    Vivek Raj
    0

    Fresh Umbraco 4.5 Install. Database from backup

    Hi,

    I have a  backup of Umbraco database in .bak format. I have restored it using SQL Server Management Studio.

    What I would like to do is to do a fresh install of Umbraco 4.5 and use this database with that install.

    Help please

    Vic

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Sep 21, 2014 @ 16:11
    Dennis Aaen
    0

    Hi Vic and welcome to Our.

    1. Take a backup of your database, you already done that.
    2. Install the backup on your SQL Server, you already done that too.
    3. Download Umbraco 4.5 beware that  this Umbraco version has a severe security issue, if you choose to install it, make sure to also apply the security patch listed in the downloads!
    4. Unzip the zipfile and move the folders on your server, aftter that you should be able to visit your domain a get the installation wizzard. In there just follow the steps.
    5. On step 2/5: Database configuration you just fill in the information to your database server username password and database (your bak database that you just have installed in your SQL Server)

    I have made a screenshot so it esaier to see what I mean.

    Hope this helps, else don't hesitate to write again.

    /Dennis

  • Vivek Raj 5 posts 25 karma points
    Sep 21, 2014 @ 18:35
    Vivek Raj
    0

    Hi Dennis,

    Thanks for the quick reply. It was really helpful to me.

    I followed the steps and ran into a different problem

     

    The database was the backup of a working Umbraco installation and it had content(It was 4.0.3 though). I have not yet replaced the media folder of the fresh installation with the backup of the old media folder.

    Please help

    Vic

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Sep 21, 2014 @ 19:45
    Dennis Aaen
    0

    Hi Vic,

    Okay tried go to the Umbraco backoffice by this URL www.yourdomain.com/umbraco/login.aspx, then enter the credentials to login into your Umbraco installation. After you are in the backoffice then right click on the home node and choose publish.

    Then after you have choosen publish you should get an dialog like this: Set tick in Publish Forside and all its subpages, and then click publish

    When it´s done then try to visit your domain again, http://www.yourdomain.com and see if you content then is there.

    Since you are coming from a Umbraco 4.0.3 installation, there may be some rewitten of you code if you are using XSLT, In Umbraco 4.5 the XML schema was implented on new, so it´s totally different from the 4.0.3 schema. Here are some documentation about it http://our.umbraco.org/wiki/reference/xslt/45-xml-schema. http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/xslt-examples-updated-to-new-schema

    The good news is that you can set your Umbraco 4.5 installation to use the old XML schema http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/switching-between-old-and-new-schema

    Hope this helps,

    /Dennis

  • Vivek Raj 5 posts 25 karma points
    Sep 24, 2014 @ 06:05
    Vivek Raj
    0

    Thanks Dennis,

    Had a few more hiccups, but worked perfectly. Thanks a lot for the help

    Vic

Please Sign in or register to post replies

Write your reply to:

Draft