
03-16-2009
|
|
|
|
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
robocopy: excluding dirs and files doesn't work
Hello,
I use this commandline for creating backups, but it doens't fully work. This is the command:
robocopy [source] [dest] /mir /xj /xd "C:\Users\[name]\AppData" /xf ntuser.* /ts /fp /log+:"G:\backup's\logfilelaptop.txt" /tee
Using this, the copy process still wants to copy the directory AppData and all of its subfolders (ofcourse sometimes with the message that a file
somewhere in this directory is in use by another process and therefore can't be copied) and also all ntuser.* files.
What's wrong with this command, why does it still want to copy AppData and ntuser.*-files? I tried the command with the switches in a different order (like placing the /xd and /xf switch before /mir), but no positive result.
I hope someone can help me out in this. Thanks in advance.
|