AddToAny

Want your TV Series Automatically Downloaded?

Its now more easier than ever before. With this step by step guide using Sickbeard , Plex and SABnzb Want your TV Series Automatically Downloaded?
Powered by Blogger.

Thursday, February 2, 2017

The Simplest way to Backup DHCP Automatically over the network

Posted By: The Funky Tech Guy - 8:09:00 AM


As most of you know, and probably the reason why you are here, is because Windows Server doesn’t have a builtin, automated dhcp backups solution to backup the DHCP Server database over the network.
However, did you know that by default DHCP does already backup the database automatically every 60 minutes? Only problem is it does it locally to C:\Windows\System32\dhcp\backup . Thats not going to help if anything happens to the server.

The Problem

You want to be able to do automatic DHCP backups to your backup server or any other networked location

Solution 1

  1. Create a Batch file with the below code or get a copy HERE and store it on the server e.g c:\scripts
  2. Modify the script by simply changing SERVERNAME to your backup , file server or wherever you want to store the backup.
  3. Create a new scheduled task and configure it as follows

    Automatically Backup DHCP

    I’ve set mine schedule to create backups every 2 hours for 8 hours starting at 8am but you can do it once a day depending on your needs. Mine is 20MB small so you don't have to worry about space issues. The script also creates the destination folder based on the current date and time e.g DHCP_20170202_1738

    Automatically Backup DHCP Over the Network



    Backup DHCP Automatically

    How to Backup DHCP Automatically

    The rest of the settings are defaults
  4. Test by running your scheduled task manually and voila!!
I hope this has been informative for you. If you have any questions do leave them in the comments section below and don’t forget to like and share Winking smile
button_download-script

Copyright © 2013 The Funky Tech Guy ™ is a registered trademark.

Designed by Templateism . Built with Blogger Templates .