Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Question about how the Robocopy /B switch works...

$
0
0

I've been experimenting with robocopy recently, and most switches seem self explanatory for the most part; although I have a question about the /B switch.

The help says the following:

/B :: copy files in Backup mode.

I've checked multiple forums and websites to try and elaborate on this a little more, and from my understanding this switch enables backup mode that essentially gives the ability to change the acls of a file/folder when the account running robocopy does not have sufficient privileges, to perform a successful copy.

My question is, when the acls are changed when using this "backup mode" switch, with the /copyall switch, will the file still retain the same user access that it originally had - or does it change all of the security settings?

I'm hoping it will somehow change the security settings, create a copy, and retain the same acls as the original - so users can still access necessary files.

Can someone please explain how this "backup mode" works?

Thanks in advance.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>