You need to Register for free and Login to post a message in the forum.

Forum

Subject: Automate DNN Website/Database Transfer
Prev Next
You are not authorized to post a reply.

Author Messages
omorgan
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

02 Sep 2008 9:05 AM  

Hi there,

I have a situation with the setup of our DNN Database that I need to have some good advice on. Currently due to versioning, administration, and moderation issues I have had to create two DNN websites. These are identical to each other, one is an Update (dev) site, where my users can update documents/text/etc. The other is the Live site where I have to manually "push" the updates to.

The current process I use is to copy all the content from the Update DNN directory, to the Live DNN directory manually. Then I have to backup both databases, and restore the old one to the new one.

I would like to come up with some way to automate this so I can run it on a scheduled task. We have a crude batch file but since it is flakey I've taken to doing the updates myself. The batch file runs and does the copy of the files from one directory to the other, but then we have to manually execute the SQL script to backup and then copy 1 database to the other.

I was thinking about using something like robocopy to synchronize the files, but I wasn't sure what the best way would be to have the database execute? We've also run into a situation where we have to stop the IIS App Pool to "release" the locked files in the directory when we do a file copy. Do you know of a way to further automate this process to take out the human intervention?

Thanks,
Owen - http://www.fdwsnetworks.com

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

04 Sep 2008 3:16 AM  
hello,

Have you had a look at any of the red gate SQL tools?

I covered the SQL compare software in this tutorial How to synchronize local and live DotNetNuke installations which may help, thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
omorgan
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

04 Sep 2008 7:21 AM  
Thanks Lee! I hadn't heard of Red Gate and guess I missed the tutorial. I will download it here shortly and watch it. Thanks for your hard work.

Owen
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > Automate DNN Website/Database Transfer



ActiveForums 3.7

Latest Forum Posts

DNN Intranet Localhost by amine97
Hi, I would like to start an Intranet for my division (65 users) but only 10 users will have the ed...
RE: Menu's, menu's, and more menu's! by roadshow41
Well, I've purchased the Snapsis CSSMenu.  Installing it is turning out to be more complicated than ...
RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
DotNetNuke Modules
RSS Feeds