I was trying to back up data from office to home via VPN connection. All PCs running Windows 7 for both ends. I have a batch file that uses Robocopy to perform "incremental backup" from the office to home.
Here is the example
robocopy c:/sharedFiles "\\192.168.1.10\myHome\sharedFiles" /E
When I run the batch file, the VPN connection was fine. So the VPN was not the issue.
I found it strange that every time I run the batch file. It uploaded the same file again and again. I was pretty sure it already did it but it marked it as newer and did upload the file again and again. This is a waste of bandwidth.
Wonder what's the best way to do incremental backup?
I am tempted to use /mir but this option is very risky as I could have important files deleted by accident.
By my understanding, option /E should do the job as it only copies the modified files as well as new files and empty folders. That's what I want to do.
Any help would be greatly appreciated.