I thought I would use Robocopy to back up my new PC to my old one (I do regular images and use File History as well). This is to learn about what options there are and also to try and write a Powershell script as well.
But I have a slight problem and I have just run the command on a CMD window to see what’s going on. Here’s the command
robocopy E:MyNameDocuments \ENTERPRISEDocumentsRobocopy /V /TEE /S /E /PURGE /MIR /NP /XJD /R:3 /W:1 /log:E:MyNameDocumentslogs2016-01-04_Documents.txt /XD \ENTERPRISEDocumentsRobocopy E:MyNameDocumentsDownloads
It all works fine but when I look at the old PC there’s no Robocopy folder but there is an Documents folder in the documents folder (but it doesn’t have the normal folder icon). If I try and create a new Robocopy folder it wants to merge it with the new document folder. I put the robocopy folder as one of the parameters for the XD option (that works as the downloads folder is quite large so I removed it from being backed up for quickness).
I’ve just noticed that when I selected the address in file manager, it came up with \ENTERPRISEDocumentsRobocopy – but in the list it’s effectively \ENTERPRISEDocumentsDocuments
I’ve Googled the problem (it’s why I excluded the Robocopy folder thinking it was being deleted first) but without any success.
Note that the data is being backed up OK – it’s just the name which is slightly confusing.
I hope this is clear
Eliminate spare time: start programming PowerShell