I currently have a couple of sites running Umbraco and I'd like to get them running locally so that changes are much easier to make without destroying the site. I'm still quite new to ASP.NET and SQL Server so I'm not too sure on how I would export a website and place it elsewhere on another machine. One of our old sysadmins was able to do this effortlessly within the space of ten minutes, so hopefully it won't be too hard for me to do this.
So, if I have a production website how would I clone it and get it on a Umbraco install on my computer or a test server?
Quite easy: make a backup of your production umbraco db and root folder of the site, restore db on your local machine's sql server, point iis to the folder of your local copy of the site and you're set. Always good to republish the entire site using /umbraco/dialogs/republish.aspx?xml=true (it shouldn't be required, but in case the site doesn't fire up nicely, this is the way to go)
Darren Ferguson has an excellent package for backing up websites & database and restoring them, Dirk has pretty much explained what the scripts in the package do, you can find it at:
Cloning a site from a production server
I currently have a couple of sites running Umbraco and I'd like to get them running locally so that changes are much easier to make without destroying the site. I'm still quite new to ASP.NET and SQL Server so I'm not too sure on how I would export a website and place it elsewhere on another machine. One of our old sysadmins was able to do this effortlessly within the space of ten minutes, so hopefully it won't be too hard for me to do this.
So, if I have a production website how would I clone it and get it on a Umbraco install on my computer or a test server?
AlexT,
Quite easy: make a backup of your production umbraco db and root folder of the site, restore db on your local machine's sql server, point iis to the folder of your local copy of the site and you're set. Always good to republish the entire site using /umbraco/dialogs/republish.aspx?xml=true (it shouldn't be required, but in case the site doesn't fire up nicely, this is the way to go)
Hope this helps.
Regards,
/Dirk
Hi,
You also need to copy the Media folder from Production to the destination environment.
Regards
Pedro
Darren Ferguson has an excellent package for backing up websites & database and restoring them, Dirk has pretty much explained what the scripts in the package do, you can find it at:
http://our.umbraco.org/projects/developer-tools/nant-backup-and-restore
is working on a reply...