{"id":9127,"date":"2015-11-02T21:59:46","date_gmt":"2015-11-02T21:59:46","guid":{"rendered":"https:\/\/myworldofit.net\/?p=9127"},"modified":"2015-11-10T15:14:10","modified_gmt":"2015-11-10T15:14:10","slug":"automated-backup-for-your-network-switches-with-winscp-and-powershell","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=9127","title":{"rendered":"Automated backup for your network switches with WinSCP and PowerShell"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-9128\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Procurve-5406R-zl2-300x121.png\" alt=\"Procurve 5406R zl2\" width=\"300\" height=\"121\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Procurve-5406R-zl2-300x121.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Procurve-5406R-zl2-1024x413.png 1024w, https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Procurve-5406R-zl2.png 1313w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Although it may not be the most glamorous side of IT every sysadmin will appreciate the value of a rock solid backup system. All too often though these systems do not extend down to the &#8217;embedded&#8217; systems like network switches and firewalls.<\/p>\n<p>However with a little <a href=\"https:\/\/winscp.net\/\">WinSCP<\/a> (and its fantastic .NET assembly automation package) and PowerShell combined its pretty easy to cook up something that is 100% less of the cost of any management solution.<\/p>\n<p>This guide shows how to <strong>setup the backup of a HP ProCurve switch<\/strong> (I&#8217;ve tested it with the ProCurve 8200 series, 5400 series the 2920s, a 2626 and a 2530 all of which were running the most recent firmware) although it should be a simple matter of changing the relevant paths to make it work with other manufacturers kit (e.g. Cisco).<\/p>\n<h2><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-9134\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/1-300x193.png\" alt=\"1\" width=\"300\" height=\"193\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/1-300x193.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/1.png 875w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Download Source Files<\/h2>\n<p>First up grab the source files from the link below and extract the contents to C:\\Network Switch Backup (you can use any other path but will just need to update the paths inside the PowerShell) you should then have a folder which contains a .cmd file, a .ps1,\u00a0a sample .csv and a sub folder called Backups.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/myworldofit.net\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/zip.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/myworldofit.net\/?dl_id=32\">Network Switch Backup<\/a><\/strong> (1.7 KiB, 6,052 hits)<\/p>\n<h2>Getting your Switch ready and filling out the CSV<\/h2>\n<p>Each switch will now need ip ssh and ip ssh filetransfer running on it through the CLI (if its not already setup); be sure to set a manager password (if you haven&#8217;t done so already!) as well. In addition you will need to find the Server host key fingerprint for each switch; the screen shots below show one way of doing this.<\/p>\n<p><!-- default-view.php -->\n<div\n\tclass=\"ngg-galleryoverview default-view\n\t ngg-ajax-pagination-none\t\"\n\tid=\"ngg-gallery-90de5a896c26995eb58c76db7c39af9a-1\"\n\tdata-gallery-id=\"119\">\n\n\t\t<!-- Thumbnails -->\n\t\t\t\t<div id=\"ngg-image-0\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/0.PNG\"\n\t\t\t\ttitle=\"First up you will need to make sure ip ssh and ip ssh filetransfer is setup on your switches; simply run the commands at the CLI to get everything going. Be sure to check that you have a manager password set as well.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/0.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_0.PNG\"\n\t\t\t\tdata-image-id=\"1026\"\n\t\t\t\tdata-title=\"0\"\n\t\t\t\tdata-description=\"First up you will need to make sure ip ssh and ip ssh filetransfer is setup on your switches; simply run the commands at the CLI to get everything going. Be sure to check that you have a manager password set as well.\"\n\t\t\t\tdata-image-slug=\"0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"90de5a896c26995eb58c76db7c39af9a\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"0\"\n\t\t\t\t\talt=\"0\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_0.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-1\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/1.PNG\"\n\t\t\t\ttitle=\"You will also need to know the server host key fingerprint for each switch as well. One way to find this out is to connect to the switch using WinSCP (via SFTP), then right click on the connection tab finally select Sever\/Protocol Information.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/1.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_1.PNG\"\n\t\t\t\tdata-image-id=\"1027\"\n\t\t\t\tdata-title=\"1\"\n\t\t\t\tdata-description=\"You will also need to know the server host key fingerprint for each switch as well. One way to find this out is to connect to the switch using WinSCP (via SFTP), then right click on the connection tab finally select Sever\/Protocol Information.\"\n\t\t\t\tdata-image-slug=\"1-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"90de5a896c26995eb58c76db7c39af9a\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"1\"\n\t\t\t\t\talt=\"1\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_1.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-2\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/2.PNG\"\n\t\t\t\ttitle=\"A window will then pop up with the key displayed in (you can copy and paste it right from there).\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/2.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_2.PNG\"\n\t\t\t\tdata-image-id=\"1038\"\n\t\t\t\tdata-title=\"2\"\n\t\t\t\tdata-description=\"A window will then pop up with the key displayed in (you can copy and paste it right from there).\"\n\t\t\t\tdata-image-slug=\"2-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"90de5a896c26995eb58c76db7c39af9a\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"2\"\n\t\t\t\t\talt=\"2\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_2.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-3\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/3.PNG\"\n\t\t\t\ttitle=\"With this information in tow populate the switches.csv file with the hostname (IP address works fine as well) of your switches, along with the credentials for their manager accounts and the server host key fingerprints.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/3.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_3.PNG\"\n\t\t\t\tdata-image-id=\"1029\"\n\t\t\t\tdata-title=\"3\"\n\t\t\t\tdata-description=\"With this information in tow populate the switches.csv file with the hostname (IP address works fine as well) of your switches, along with the credentials for their manager accounts and the server host key fingerprints.\"\n\t\t\t\tdata-image-slug=\"3-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"90de5a896c26995eb58c76db7c39af9a\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"3\"\n\t\t\t\t\talt=\"3\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-switch-config\/thumbs\/thumbs_3.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"74\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\n\t<br style=\"clear: both\" \/>\n\n\t\n\t\t<div class=\"ngg-clear\"><\/div>\n\t<\/div>\n<!--more--><\/p>\n<h2>Getting WinSCP ready<\/h2>\n<p>As normal follow through the screen shots below; you will need this link to get a hold of the installation components &#8211; <a href=\"http:\/\/winscp.net\/eng\/download.php\">http:\/\/winscp.net\/eng\/download.php<\/a>.<\/p>\n<p><!-- default-view.php -->\n<div\n\tclass=\"ngg-galleryoverview default-view\n\t ngg-ajax-pagination-none\t\"\n\tid=\"ngg-gallery-554f4f4e05f111a992a217439cb821ee-1\"\n\tdata-gallery-id=\"120\">\n\n\t\t<!-- Thumbnails -->\n\t\t\t\t<div id=\"ngg-image-0\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/1.PNG\"\n\t\t\t\ttitle=\"Head to the WinSCP downloads page (see link on the blog post) and download the .NET assembly \/ COM library.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/1.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_1.PNG\"\n\t\t\t\tdata-image-id=\"1030\"\n\t\t\t\tdata-title=\"1\"\n\t\t\t\tdata-description=\"Head to the WinSCP downloads page (see link on the blog post) and download the .NET assembly \/ COM library.\"\n\t\t\t\tdata-image-slug=\"1-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"554f4f4e05f111a992a217439cb821ee\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"1\"\n\t\t\t\t\talt=\"1\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_1.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-1\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/2.PNG\"\n\t\t\t\ttitle=\"You will end up with a .zip file.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/2.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_2.PNG\"\n\t\t\t\tdata-image-id=\"1031\"\n\t\t\t\tdata-title=\"2\"\n\t\t\t\tdata-description=\"You will end up with a .zip file.\"\n\t\t\t\tdata-image-slug=\"2-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"554f4f4e05f111a992a217439cb821ee\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"2\"\n\t\t\t\t\talt=\"2\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_2.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-2\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/3.PNG\"\n\t\t\t\ttitle=\"Extract the contents to C:Program Files (x86)WinSCP Automation\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/3.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_3.PNG\"\n\t\t\t\tdata-image-id=\"1032\"\n\t\t\t\tdata-title=\"3\"\n\t\t\t\tdata-description=\"Extract the contents to C:Program Files (x86)WinSCP Automation\"\n\t\t\t\tdata-image-slug=\"3-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"554f4f4e05f111a992a217439cb821ee\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"3\"\n\t\t\t\t\talt=\"3\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_3.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-3\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/5.PNG\"\n\t\t\t\ttitle=\"Then right click on each file in the folder and go to properties, you will need to click the Unblock tick box for each file and then click OK.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/5.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_5.PNG\"\n\t\t\t\tdata-image-id=\"1033\"\n\t\t\t\tdata-title=\"5\"\n\t\t\t\tdata-description=\"Then right click on each file in the folder and go to properties, you will need to click the Unblock tick box for each file and then click OK.\"\n\t\t\t\tdata-image-slug=\"5-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"554f4f4e05f111a992a217439cb821ee\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"5\"\n\t\t\t\t\talt=\"5\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-winscp\/thumbs\/thumbs_5.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\n\t<br style=\"clear: both\" \/>\n\n\t\n\t\t<div class=\"ngg-clear\"><\/div>\n\t<\/div>\n<\/p>\n<h2>Pushing go!<\/h2>\n<p>Final step! (I know this was almost too easy&#8230;.) Run the .cmd file and assuming everything is listed right you will soon have a complete listing of all of your network switch configurations (more in the screen shots).<\/p>\n<p><!-- default-view.php -->\n<div\n\tclass=\"ngg-galleryoverview default-view\n\t ngg-ajax-pagination-none\t\"\n\tid=\"ngg-gallery-83249bdf37642dd65965e9040d5a7d2b-1\"\n\tdata-gallery-id=\"121\">\n\n\t\t<!-- Thumbnails -->\n\t\t\t\t<div id=\"ngg-image-0\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/1.PNG\"\n\t\t\t\ttitle=\"With everything now in place double click the .cmd file (which will in turn launch the PowerShell script with the right permissions); after a few short seconds....\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/1.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_1.PNG\"\n\t\t\t\tdata-image-id=\"1034\"\n\t\t\t\tdata-title=\"1\"\n\t\t\t\tdata-description=\"With everything now in place double click the .cmd file (which will in turn launch the PowerShell script with the right permissions); after a few short seconds....\"\n\t\t\t\tdata-image-slug=\"1-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"83249bdf37642dd65965e9040d5a7d2b\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"1\"\n\t\t\t\t\talt=\"1\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_1.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-1\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/2.PNG\"\n\t\t\t\ttitle=\"you will find that your switches appear in the backups folder...\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/2.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_2.PNG\"\n\t\t\t\tdata-image-id=\"1035\"\n\t\t\t\tdata-title=\"2\"\n\t\t\t\tdata-description=\"you will find that your switches appear in the backups folder...\"\n\t\t\t\tdata-image-slug=\"2-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"83249bdf37642dd65965e9040d5a7d2b\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"2\"\n\t\t\t\t\talt=\"2\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_2.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-2\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/3.PNG\"\n\t\t\t\ttitle=\"and that there are configs (listed by the date that the backup was taken) in the switches folders...\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/3.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_3.PNG\"\n\t\t\t\tdata-image-id=\"1036\"\n\t\t\t\tdata-title=\"3\"\n\t\t\t\tdata-description=\"and that there are configs (listed by the date that the backup was taken) in the switches folders...\"\n\t\t\t\tdata-image-slug=\"3-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"83249bdf37642dd65965e9040d5a7d2b\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"3\"\n\t\t\t\t\talt=\"3\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_3.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div id=\"ngg-image-3\" class=\"ngg-gallery-thumbnail-box\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t\t\t<div class=\"ngg-gallery-thumbnail\">\n\t\t\t<a href=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/4.PNG\"\n\t\t\t\ttitle=\"and that those configs contain (pretty much) everything you will need to restore your switches in the event one goes pop\/bang\/kaboom.\"\n\t\t\t\tdata-src=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/4.PNG\"\n\t\t\t\tdata-thumbnail=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_4.PNG\"\n\t\t\t\tdata-image-id=\"1037\"\n\t\t\t\tdata-title=\"4\"\n\t\t\t\tdata-description=\"and that those configs contain (pretty much) everything you will need to restore your switches in the event one goes pop\/bang\/kaboom.\"\n\t\t\t\tdata-image-slug=\"4-10\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"ngg-fancybox\" rel=\"83249bdf37642dd65965e9040d5a7d2b\">\n\t\t\t\t\t\t\t\t<img\n\t\t\t\t\ttitle=\"4\"\n\t\t\t\t\talt=\"4\"\n\t\t\t\t\tsrc=\"https:\/\/myworldofit.net\/wp-content\/gallery\/network-switch-push-go\/thumbs\/thumbs_4.PNG\"\n\t\t\t\t\twidth=\"100\"\n\t\t\t\t\theight=\"75\"\n\t\t\t\t\tstyle=\"max-width:100%;\"\n\t\t\t\t\/>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\n\t<br style=\"clear: both\" \/>\n\n\t\n\t\t<div class=\"ngg-clear\"><\/div>\n\t<\/div>\n<\/p>\n<h2>There&#8217;s a little more&#8230;<\/h2>\n<p>To take things one step further and make this process truly automated you can set a scheduled task on your computer to run the &#8216;Backup Network Switches.cmd&#8217; file at a set time each day \ud83d\ude42<\/p>\n<p>You might also want to consider expanding your setup using the information in my <a href=\"https:\/\/myworldofit.net\/?p=9181\">Automated Change Detection and Reporting \u2013 Network Switches<\/a> post which sets things up so that you receive email notification each day listing out any changes in your configs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although it may not be the most glamorous side of IT every sysadmin will appreciate the value of a rock solid backup system. All too often though these systems do not extend down to the &#8217;embedded&#8217; systems like network switches and firewalls. However with a little WinSCP (and its fantastic .NET assembly automation package) and PowerShell combined its pretty easy&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=9127\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[21],"tags":[308,309,307,303,13,304,248,204,305,306],"series":[],"class_list":["post-9127","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-308","tag-309","tag-307","tag-5406r-zl2","tag-hp","tag-network-switch","tag-powershell","tag-procurve","tag-switch","tag-winscp"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9127"}],"version-history":[{"count":16,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9127\/revisions"}],"predecessor-version":[{"id":9188,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9127\/revisions\/9188"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9127"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=9127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}