I was looking for ways to backup my photos from my NAS to my homemade backup server so in the event the NAS stops working I would still have the latest files.
After some searching for free ways to do this I used robocopy and powershell to create the following script you can freely download the latest version from my GitHub page.
Pre-reqs that it needed to be able to do:
Robocopy command itself:
robocopy.exe "$src" "$dst" /mir /mt:96 /r:3 /w:3 /np /ts /bytes /xd $exclude /log:"$log"
Explanation of options used:
Detailed explanation from Microsoft
Like with all scripts improvements are ongoing.
Recent additions to the script was adding HTML with a clone feel of the Veeam mail report.
I use Veeam to backup my servers and so the look & feel goes hand-in-hand with a few modifications.
An example of the output is:
If an error occurs the green banner changes to red as shown here:
If you find a better way, an improvement or have questions, objections feel free to comment below and/ or on my GitHub page.
Loading Comments...