Code Monkey home page Code Monkey logo

webserverbackup's Introduction

WebServerBackup

Auto Backup DNN Website files, data and copy to Azure Storage

What is WebServerBackUp

WebServerBackUp is a console application designed to run from the windows task manager or manually activated. It is designed to backup all the files required by DNN Websites on the server and make a versioned (snapshot) history of these files on Azure Storage.

Functions

#BackupDB(); Creates a backup of ALL user databases in a SQL server instance. And then zips these into a single zip file.

#BackupWebSites(); Searches for any subfolder from the root folder provided, that contains a "Default.aspx" file. All sub-folders containing a "Default.aspx" will be zipped into individual sub-folder named zip files.

#IISSettings(); Makes a copy of all IIS settings and zips them

#IISlogFiles(); Clears all IIS Logs files older than the date given.

#CopyToAzure(); Copies all the backup files to Azure and makes a snapshot.
Any snapshots older than the given retension time will be deleted. The retension time of snapshots made on the 1st of the month is set to 32 days.

#ResultFile(); Sends a results file to the azure container, indicating if the backup was successful, this can be checked to ensure the backup has worked.

Setup

Run the "WebServerBackup.msi" install fie on the server. This will load all required files into the "C:\Program Files (x86)\WebServerBackup" folder.

Edit the "WebServerBackUp.exe.config" file in that folder to activate the options and to set the correct settings. By default all options are set to "false", to actiavte an option set the relative setting in the config file to "true".

Help Links

https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs

** Explorer to deal with snapshot downloads and management. http://www.red-gate.com/products/azure-development/azure-explorer/

.

webserverbackup's People

Contributors

leedavi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.