Copied to clipboard

Flag this post as spam?

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


  • Udi Ron 2 posts 22 karma points
    Aug 12, 2009 @ 17:00
    Udi Ron
    0

    Recreating an existing Umbraco site locally

    Hi,

    I'm new to Umbraco. I was given the task of recreating an existing umbraco (4.0) site locally (on my own windows xp pc, using IIS and Microsoft SQL Server). The existing site was developed by some 3rd party that is no longer cooperative. My questions are:

    1. In Umbraco, what gets stored in the database and what on the file system? 

    2. Specifically for images, are they stored in the database or on the file system?

    Thanks,

    Udi

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 12, 2009 @ 17:10
    Dirk De Grave
    0

    Hi Udi,

     

    Process of recreating on your local machine is quite simple:

     

    • Create a new website on your local machine from IIS. (If you're using vista, win2003, win2008, consider using the web pi)
    • Restore a backup of the db on your local machine (If you've created the site using web pi, which can create the db for you, make sure to use that one)
    • Restore a complete backup of the file system (remove the existing files that have been copied on your machine if you were using the web pi)
    • Make sure sql users are set correctly, web.config adapted so it points to the correct db.

     

    Additionally, you may want to republish the complete site so the umbraco.config (holding all published content) gets recreated.

    Feel free to ask more questions if stull unclear.

     

    Cheers,

    /Dirk

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 12, 2009 @ 17:10
    Douglas Robar
    0

    Umbraco stores information in both the database and the filesystem. You need both.

    The simple approach for moving a site is:

    1. backup the database and zip the website files from the server.

    2. Copy to your local machine.

    3. Create a new iis website and unzip the files.

    4. Restore the database backup to your local database server

    5. update the web.config file's database connection string for your local database

     

    That's it.

    cheers,
    doug.

  • Sjors Pals 617 posts 270 karma points
    Aug 12, 2009 @ 17:25
    Sjors Pals
    0

    Also don't forget to set the right permissions on the folders, i am ususally a bit lazy on my dev machine and set full rights to everyone on the root folder of my application ;) (Baaaaaaaaaaaaad)

  • Udi Ron 2 posts 22 karma points
    Aug 12, 2009 @ 17:30
    Udi Ron
    0

    Excellent, thanks for your prompt and informational replies.

  • Sjors Pals 617 posts 270 karma points
    Aug 12, 2009 @ 17:34
    Sjors Pals
    0

    Oh and make sure Ajax.Net is installed.

Please Sign in or register to post replies

Write your reply to:

Draft