I am looking to see if its possible to create a script/batch file that will run on windows and connect to a wrt54g running dd wrt to back up the configuration on a daily basis. This is the file with all the settings.
This is an old thread that Broadcom users came up with. Not sure if it's still valid or not. If you read through the whole thing (I did) there are modifications for Windows. If you're any good with DD-WRT coding, you might see what you can do with it.
If you try it and it does work, let me know, especially if you're using an Atheros type router. I'd like to use it. _________________ TP-Link TL-WDR4300 v1 (NAS) - r54682
Buffalo WZR-600DHP (Gateway, NAS, DDNS, DHCP) - r54682
Netgear R7800 (Gateway, DDNS, DHCP, DNSMASQ w/Pi Hole) - r54682
Netgear R7800 (AP) - r54682
Hi,
I realise this is a mega necro-bump, but I've created a Powershell script for my own use that works great when called from a number of scheduled tasks (one per ddwrt router I support), so thought I'd share it. You never know, someone might find this thread in another 4 years and find it useful
Powershell script - Create a text file called "PowerShell Script.ps1", for example (the .ps1 extension is important).
Then create as many scheduled tasks as you have devices.
Action - Start a program
Program/script - PowerShell.exe
Arguments - -ExecutionPolicy Bypass -file "C:\Users\username\Documents\Network Docs and Backups\My Home Network\Backups\PowerShell Script.ps1" -IPAddress IP.IP.IP.IP -Hostname Hostnamehere
I now have a load of files in C:\Users\username\Documents\Network Docs and Backups\My Home Network\Backups called (for example "nvrambak_Hostnamehere_2018_01_04_00_00_05.bin"
Hi,
I realise this is a mega necro-bump, but I've created a Powershell script for my own use that works great when called from a number of scheduled tasks (one per ddwrt router I support), so thought I'd share it. You never know, someone might find this thread in another 4 years and find it useful
I now have a load of files in C:\Users\username\Documents\Network Docs and Backups\My Home Network\Backups called (for example "nvrambak_Hostnamehere_2018_01_04_00_00_05.bin"
well, today after 4yrs, coincidentally, I found this!!
also would like to make a small correction, in line number 12, to adjust the filename extra character, '\'.
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Tue Nov 29, 2022 12:36 Post subject:
beardymarrow wrote:
Hi,
I realise this is a mega necro-bump, but I've created a Powershell script for my own use that works great when called from a number of scheduled tasks (one per ddwrt router I support), so thought I'd share it. You never know, someone might find this thread in another 4 years and find it useful