Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Automate DNN Website/Database TransferAutomate DNN Website/Database Transfer
Previous
 
Next
New Post
9/2/2008 10:03 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

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Automate DNN Website/Database TransferAutomate DNN Website/Database Transfer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out