GithubHelp home page GithubHelp logo

windows-server-automated-backup-script's Introduction

Ainsey11 Windows Server Backup Script

This script runs windows server bacup to create a system state backup and e-mail you upon finish

Features

  • E-mail Notification
  • No 3rd party tools used
  • Magic

Configuration

Set the variables within the script to match your infrastructure.

  • $source = location to save the backup
  • $logfile = location to save the logfile to, also used to e-mail the results
  • $smtpserver = mail server
  • $smtpport = mail server port
  • $fromemail = e-mail address notification is sent from
  • $toemail = e-mail address notification is sent to

Installation

Place the backup.ps1 file into C:\Backup (if folder does not exist, create it) Open Task scheduler on the server / device to be backed up Right click and select Import browse to the "Scheduled Task Settings.xml" File Adjust as required right click and run for a trial

Disclaimer

I have created this script to aid people to take backups of systems. I will not be held responsible for any data loss or damage caused by this script.Always test scrips in a non-production environment and make sure that you're happy before running on a live system. This is a standard disclaimer I use on all my code.

Thanks!!

Ainsey11

windows-server-automated-backup-script's People

Contributors

ainsey11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

avalonnyc

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.