I have several Windows Server VPSs (mostly 2012 R2 with IIS 8.5) and on each of them there are several Websites but not all of them are active and need backup. I need a tool if there exists any suitable one, or willing to write a script myself, in order to automate our routine backup process of active hosted websites on each of these servers.
I first thought of writing a script (i.e. using PowerShell or Python or bash, whichever’s more suitable) accompanied with a file containing a list of websites to be backed up and then configure a scheduled task or something in order to automate the script to run like every week. I also considered designating a server as the agent to run the task so that it uses WinRM or SSH to do what needs to be done. The backup targets are a local path within that machine and an FTP server.