I was able to successfully write a RoboCopy commands to backup few directories which is located in few different devices and locations. I am planning to run this script via task scheduler at required timing.
Depends on the file sizes it took around 15mins to 5hours to complete the backup in the end I get the summary result which is very useful like below.
Now what I am trying to added to this script is a way to only email the summary result but I am struggling to find a way and I will be appreciated if the result get as same as shown in the below image.