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 ...Backup and RestoreBackup and Restore
Previous
 
Next
New Post
12/15/2015 12:56 AM
 
Hello :)

I'm building a quick and dirty backup and restore script for a user who maintains the site to use when doing major editing of the site. She has a tendency to break stuff. :)

Here's what I think I can do, but I'd like some assurance that this method will work. I'm using batch files to accomplish this. Here's what I think I can do:

Basic menu:
1 Backup
2 Restore

If 1:

delete last backup (if exists)
robocopy dnn folder to backup folder
use sqlcmd to backup database to a file

If 2:
check to make sure last backup exists
robocopy backup folder to dnn folder
use sqlcmd to restore database from file

Can you see any problems with this? Will file permissions be a problem? Is there a good way to test this without screwing up my install? Anything else you can think of that I should know?

Thanks!

Rick
 
New Post
12/15/2015 1:45 PM
 
unless the user is constantly installing new modules, there is little risk the site get broken by files, i.e. you only need to backup and restore the database.
Have a look at the available backup solutions e.g. from evotiva.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/15/2015 1:48 PM
 
That's actually exactly what this is for, is for the installation of modules. I want a way for her to backup before installing a new module or making a major change to one. Three times in the past few months I've had to scramble to fix a broken site because of questionable modules (or more likely questionable users of modules).
 
New Post
12/15/2015 3:42 PM
 
I would provide a copy of the site instead as staging or test installation.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Backup and RestoreBackup and Restore


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out