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

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.

This is a very useful thread with a lot of hostility in it.
I have to agree with Jonathan and hazymat: there are few other forums that will discuss the exact function of /b switch, the TechNet article just says "copies in Backup Mode" (I have the article bookmarked), and when doing a google search, THIS page comes
up as the top result! Kinda difficult to tell people they should go search, when you are the exact destination of that search, isn't it? ;)
No offense to anybody working hard to help out here, but this is why sites like Stack Exchange will overshadow every traditional tech forum very soon. More concise question/answer format, more civil, and they actually encourage old questions developing new
answers! All q&a is cataloged for future reference. Their focus is on being a 'resource'.
The negativity here is unfortunate, you guys have great potential to be a very helpful resource for people. Who are you trying to be, the guys with all the answers, or the guys who say "get out of here, your answer isn't in here. Go search for it."?
Regardless, many thanks to jrv! for helping me with my robocopy batch SCRIPT which I just used to create an automated backup! Take care boys. And yes, I just bumped your old-old thread.
Unfortunately I think you miss the point.  RoboCopy is an application.  It is not a script.  This is a scripting forum.  Many people come here nd never read the forum guidelines and do not ask script related questions.
The /b switch is documented in RoboCopy help.  Of course it assumes the reader is a trained Windows tech and knows what backup mode is.  It is used by nearly all backup software when backing up a live system..
¯\_(ツ)_/¯

Similar Messages

  • Round trip workflow with proxies between Premiere and AE / a more general question about how these programs work?

    Hi all,
    I'm new to editing with proxies in Premiere and have some questions about how to handle the relationship with After Effects. Say I have a rough cut (with proxies) and I want to send it to AE to do some effects. The simplest thing to do seems to be to replace the proxies with the originals in Premiere, send the project to AE and do my thing. But if I then want to send the project back to Premiere, it will involve the original files, which are too machine-intensive for me to edit. In theory, it seems like there should be a way to send the project with original footage to AE, do effects, send it back to Premiere, and then replace it with proxies to do further editing while retaining the effects.
    This leads to a confusion about how AE works. When I do an effect, am I correct in assuming that it does nothing to the original file? If that's the case, it seems like it shouldn't matter (in the editing stage) what file AE "applies" an effect to (proxy or original). But I feel like there's a hitch in this workflow. The same question could also be asked about going back and forth in Speed Grade.
    Perhaps there is no real answer to this and the best option is to save effects and grading for after I have picture lock, but sometimes that's not entirely possible or convenient, etc.
    Hopefully this makes some sense—It's a little hard to explain.
    Thanks.

    Hi Mark,
    Here are the specific sections of the manual that should give you the best explanation regarding the Check out/in workflow for FCP projects in Final Cut Server:
    Check out:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =5
    Editing:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =6
    Check in:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =7
    -Daniel

  • A few questions about how ZPM works.

    We have patch management (in ZCM 11.2.2), but honestly don't use it much. I have a few questions about how it works that might make me use it more, if I understand it more.
    If I deploy a patch (or a set of patches), it creates a bundle for that deployment. That bundle seems to include actions that deploy the actual patch bundles (correct?). Do I have to recreate a new deployment bundle every time I want to push a new patch? i.e. If I push a Java update, and a month later, a new one comes out, do I build out a new bundle with the new patch in it, or do I modify the old one?
    Once the patch is deployed, can I safely delete that deployment bundle, or should they just pile up?
    Is there a way to "auto-approve" patches? Lets say I always want a group of machines to have the latest Adobe Flash Player patches. Can I set up ZPM to automatically cache and push the latest patches for a specific product, or do I have to manually remediate each patch? (I'm thinking of how MS's WSUS does "auto-approval")
    I see most packages aren't cached in list, but occasionally, a patch is cached without me touching it. Why? Can I change what gets automatically cached?
    Thanks for any help/answers you can provide.
    -Adam

    Originally Posted by adrockk
    We have patch management (in ZCM 11.2.2), but honestly don't use it much. I have a few questions about how it works that might make me use it more, if I understand it more.
    If I deploy a patch (or a set of patches), it creates a bundle for that deployment. That bundle seems to include actions that deploy the actual patch bundles (correct?). Do I have to recreate a new deployment bundle every time I want to push a new patch? i.e. If I push a Java update, and a month later, a new one comes out, do I build out a new bundle with the new patch in it, or do I modify the old one?
    Once the patch is deployed, can I safely delete that deployment bundle, or should they just pile up?
    Is there a way to "auto-approve" patches? Lets say I always want a group of machines to have the latest Adobe Flash Player patches. Can I set up ZPM to automatically cache and push the latest patches for a specific product, or do I have to manually remediate each patch? (I'm thinking of how MS's WSUS does "auto-approval")
    I see most packages aren't cached in list, but occasionally, a patch is cached without me touching it. Why? Can I change what gets automatically cached?
    Thanks for any help/answers you can provide.
    -Adam
    For #1, (assuming you're not using baselines), you would check the new version of the patch (vulnerability) and do a new deployment.
    #2 - once you're satisified that the machines are deployed (or the best to your ability) you can delete the DEPLOYMENT package. It doesn't delete the actual vulnerability bundles to my knowledge. That's why it's a good idea to name your bundle deployments with something meaningful, IMO (and maybe include a nice desription).
    #3 - currently I don't believe this is possible. I know you can probably configure it to auto-download the patches, but not auto-deploy everything. Given the propensity for software to wreck other things (hello MS .NET patches), this is probably not a good idea. At least I'd never auto-download and auto-deploy any patches without testing them first, and certainly take my servers a little more cautiously than my workstations.
    #4 - I think you can configure what's cached, but I could be wrong.
    I know there's a lot of improvements coming in the pipeline, and it doesn't hurt to "vote" for your enhancements via the enhancement system (more work for Shaun--haha)
    --Kevin

  • Hello! I have a huge question about how can I get connected my iphone 4 with my car Is there any opption on find my car application? I have a Volvo xc60 and I want to be connected all the time with my iphone. Can I do that?

    Hello! I have a huge question about how can I get connected my iphone 4 with my car Is there any opption on find my car application? I have a Volvo xc60 and I want to be connected all the time with my iphone. Can I do that?

    Hello. I can say that you have a quite strange „huge question”… It’s non-sense to stay connected with your car which is hundreds miles away. Unless…
    I have a theory. You don’t want to controll your car, you want to controll somebody who is driving the car. Volvo XC 60 is a nice family car, usually used by married men between age of 35-45, probably with small children, so it’s very unlikely that you want to controll your teanage kid, mainly because probably even if you would give him/her to drive the car in the neighborhoud, I don’t think that he/she would be „several hundred miles away”…  If your child is not young teneage anymore, and he/she has his/her own life, but you want to control him/her, that is sick… So I am convinced that you want to controll your husband who probably travelling often! Am I wright?
    Isnt’t nice at all! Would you like if you would be monitorized in such way? I bet you don’t!
    Anyway, iPhone is smart, you can use for many things, but come on, you really were thinking that there is such kind of application???
    What could you do it's to put in the car a GPS survelling system, however I don't think that you could do it without your husband knowledge, otherwise he won't be able to start the engine...

  • Spell Check in New Forums- How The Heck does it work?

    Can somebody please tell me how the spell check works in this new forum format? I click on the abc icon and it does nothing. I do a two finger click on a word that is misspelled and it give me Insert Options. I really like the new format but hate the spell check. Can anyone offer advise? Thanks.

    The built-in ASC spell checker is -- to put it kindly -- quirky. First, you must turn it on using the 'abc' tool on the right in the editor toolbar. (When it's on, it highlights.) But it won't stay turned on if you click on the tool before you enter any text -- it will just tell you that no misspellings were found & won't stay on. It also sometimes fails to check the last word if followed by a space. You can tell it to ignore misspellings, but you can't tell it to learn words because the spell-checking dictionary is actually on the servers running the site, not on your Mac or PC.
    But from your remarks, you probably aren't even using the built-in checker. Instead, I suspect you are trying to use the far superior system-wide one built into OS X. The problem with that is the ASC editing tools are powered by Javascript supplied by the Jive SBS software running the site. Because that is platform independent it doesn't know anything about OS X's contextual menu (which includes suggestions for misspellings, the Dictionary lookup, & so on).
    So to make a long story short, what happens when you try to right click on a word the OS X checker has underlined in red, instead you get the Javascript's response to a right click, which brings up the editor's insert/alignment popup menu instead of the OS X contextual menu.
    The solution is to control click on the word -- believe it or not, within the ASC editor window a right click & a control click are not the same thing! You literally have to hold down the control key on the keyboard when you click to bypass the Javascript's right click response.
    To make things that much more confusing, this only applies if the pointer is not over empty space in the editor window, which in this case excludes lines that have any text on them, including invisible text like spaces or returns. (To see what I mean, drag the tab at the bottom right of the editor window down so there is a lot of empty space below what you have typed. In this empty area, right & control clicks both bring up the OS X contextual menu, but anywhere in the text you have typed, they behave differently.)
    In short, the problem is not that Apple has changed how the buttons or clicks work, it is that the new software that runs the site (not developed by Apple) does.
    Hope this helps.

  • How the Sun Java Forums Work (Briefly)

    I am wondering if anyone could give me a brief overview of how the Java sun forums work -- esp. when someone creates a new thread.
    How exactly does the JSP know to link to that thread? Is it generating a unique ID from the database or using it's own custom code? How does it point to that thread? (I'm SO FRUSTRATED. I've tried to figure this one out for about a MONTH.)
    I've started to create a help desk, where it takes form data and posts it to the database. (That issue solved.) The database assigns it a unique ID -- primary key. I'm having trouble displaying the problem record for that ticket ID. (I'm new to Java and really been pulling my hair over this one for about a month.)
    Let me go into some more detail:
    I have these form objects:
    - Name
    - Technical Summary
    - Severity
    - Problem
    This is a standard html form page. The standard html page posts to a JSP page, where the JSP page uses a prepared statement to insert the form data into the database. The query page, (query.jsp) has a table, which only shows TicketID, Name, Technical Summary, and Severity. Obviously, the TicketID is an int and generated by the DB, as 1, 2, 3, 4, and so on...
    So if someone created an issue it'd be assigned a unique ticket id. Note that from the query page, it DOES not show the problem. I WANT there to be a link to get the problem record in that row.
    If anyone could help me out with this one, that would be great.

    Below is the CORE JSP Query Code. Obviously, I did NOT post the HTML b/c that would look **REALLY** weird. Any help on resolving my problem, would relly be helpful! Please hep! :)
    <%@ page import="java.sql.*"%>
    <%
    String first_name = user.getFirstName();
    String last_name = user.getLastName();
    %>
    <%
    String userid = user.getUserId();
    %>
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try {
    Class.forName ("com.mysql.jdbc.Driver");
    conn = DriverManager.getConnection( "jdbc:mysql://localhost:3306/helpdesk", "root", "password" );
    stmt = conn.createStatement ();
    rs = stmt.executeQuery ("SELECT * FROM history WHERE userid = '"+userid+"' ");
    %>
    <% while( rs.next() ){%>
    <%
    int ticketid = rs.getInt("ticketid");
    String technical_subject = rs.getString("technical_subject");
    session.setAttribute("technical_subject", technical_subject);
    %>
    <TR>
    <TD width="76" align="center">
                   <font face="Arial" style="font-size: 8pt"> <%out.println(ticketid);%> </font></TD>
                   <TD align="center" width="131">
                   <font face="Arial" style="font-size: 8pt"> <%=rs.getString("severity")%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt"> <%=rs.getString("issue_type")%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt"> <%out.println(technical_subject);%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt; font-weight: 700">View
                   Complete Issue</font></TD>
    </TR>
    <%}%>
    </TABLE>
    </BODY>
    </HTML>
    <%
    }catch
         (Exception e){
    out.println("There was an exception. Stack trace will be printed to the error log.");
    e.printStackTrace();
    System.out.println ("A fatal exception occured when fetching the database results. See the stack trace error for more information. Verify you are requesteting the correct data type");
    }finally{
    //this is important. You should close all three to free up resources. Always. In a finally block.
    rs.close();
    stmt.close();
    conn.close();
    %>

  • How the Drill down functionality works if the source is Bex Query

    Dear All,
    How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
    Please let me know process.
    Thanks
    Regards,
    Sai

    Hi sai,
    Drill down can be done by two ways.
    1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
    Filtering Through Combo Box
    2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
    Difference between "When value Becomes & When value Changes"
    Revert any clarification required on this.
    --SumanT

  • How the stock determination process works

    Hi All
    Can any one tell me how the stock determination process works in inventory management?
    if possible give me the steps involved in stock determination process .
    Regards
    M S K

    Hi
    i hope this helps
    http://help.sap.com/saphelp_47x200/helpdata/en/d8/2f3746996611d1b5480000e82de955/frameset.htm
    regards
    maniraj

  • How the below query is working

    Hi,
    I am newly joined in the group.
    the emp table has 5 rows as below
    100     ram     10000.00     10
    200     kumar     15000.00     10
    300     william     20000.00     10
    400     ravi     25000.00     10
    500     victor     30000.00     10
    i execute the below query
    select ename,sal from emp_test where case when sal < 10000 then sal + 1000
    when sal < 20000 then sal + 2000
    else sal
    end < 20000
    it gives the below output
    ram     10000.00
    kumar     15000.00
    How the above query is working?
    Please explain. thanks in advance

    If you want it to show the changed salary, it has to be in the select line not the where:
    select ename,
           (case when sal < 10000 then sal + 1000
               when sal < 20000 then sal + 2000
               else sal
            end) sal from emp_test
    where  case when sal < 10000 then sal + 1000
               when sal < 20000 then sal + 2000
               else sal
            end < 20000

  • General Question about how to encrypt-decrypt and Digital signatures

    Hi,
    We're developing classes for encrypting and signing a txt message and for decrypting and validating the signature of the message. Everything works properly but I have several questions, they're not about code:
    1st We're encrypting the message following this way:
    -generating a number which is gonna be the password
    -encrypting the message in AES with this password
    -encrypting the with the public certificate of the receiver the password
    -We pack everything, encrypted message+ encrypted password in a File with public key of the receiver.
    The questions we have for this issue are:
    -Is it okay? or can I do it more efficiently.
    -is it a standard for developing encrypting software? We've followed java api tutorials
    -Can we decrypt this message using comercial software? it just plain text(of course if we have the private key)
    2nd We take this message and we sign it with our private key
    -We use CMS classes from bouncycastle libraries
    The questions we have for this issue are:
    - How can I check , with comercial software, whether this message is signed ok and is valid.
    - How can I know whether this way of signing is in compliance with PKCS7-CMS standard?
    Thanks in advance
    if you need more information ask me

    The file multiscreen.html apepars to do the following:
    It tests if the browser is running on a "hand held device".
       This means it looks to see if the device name includes:
              "blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos"
    If the answer is Hand-held then the HTML5 published module is loaded. Otherwise it loads swf.
    I can see no check that Flash player is loaded before making the choice, nor does it check the compatability of the HTML5 on the "hand held" device. In other  words it isn't very "smart"

  • Need to ask a question about getting the iPhone 5 without an upgrade available.

    Alright so I have currently an iPhone 4S and do NOT have an upgrade available. My question is how do i go about buying the 5 then? From what I know, Apple sells "unlocked" phones at around $750 (I want the 32gig version) but wont come out on launch day. Is there a Verizon specific phone that I can get instead of an "unlocked" phone that would cost cheaper and I can get it on launch day? Or do I have to preorder it through verizon's website?
    Another thing is...is there certain fee's that I would have to pay to go along with the phone if I can buy it?

    Pernoe: I'm no expert, but this is the way I understand unlocked phones. Unlocked phones that use GSM technology can work on either T-Mobile or AT&T networks. Unlocked phones that use CDMA technology can work on either Sprint or Verizon networks. I can't tell you the difference between GSM and CDMA... I just don't really know what it is, just that AT&T and T-Mobile use GSM and Sprint and Verizon use CDMA.
    That being said, I purchased (or at least ordered... my credit card has not been charged yet) 2 iPhone 5's from Verizon and opted to pay full price instead of taking the contract discount. You don't need to buy an unlocked phone to pay full price. You just have to select "month-to-month" pricing instead of "2 year contract" pricing when you buy the phone.

  • Questions about using the Voice Memos app

    I'm currently an Android user, but will be getting an iPhone 6 soon. My most used app is the voice memos app on my Android phone. I have a couple questions about the iPhone's built-in voice memos app.
    -Am I able to transfer my voice memos from my Android phone to my iPhone, so my recordings from my Android app will show up in the iPhone's voice memos app?
    -When exporting voice memos from the iPhone to computer, are recordings in MP3 format? If not, what format are they in?
    -In your opinion, how is the recording quality of the voice memos app?

    You cannot import your Android voice memos to your iPhone's voice memo app.  You might be able to play the Android memos and have the iPhone pick up the audio and record it.
    Here is the writeup about sending voice memos from the iPhone to your computer (from the iPhone User Guide):
    App quality is excellent.

  • How can I learn the details of how the iBA video optimizer works?

    Although I appreciate the work done by the vide optimizer in iBooks Author, results vary depending upon the characteristics of the video I submit to it. Sometimes this is acceptable, sometimes not. I came to this conclusion by adding different versions of the same video clip to the iBA Media Widget and then deconstructing the resulting *.ibooks file and analyzing those video files using MediaInfo.   I think that if I could better understand how the optimizer works I could get more acceptable results.
    So where can I learn more about  how this optimizer works?

    In PO screen(me21n) delivery item tab over-delivery & under- delivery % is there.While creating PO you have to set it.Based on that goods receipt will be done.

  • Question about how javac finds referenced files.

    Hi
    I am just beginning to learn Java and have got some questions related to packages.
    I have two classes:
    MyClass.java
    package pkg;
    public class MyClass {
         public void prn(int x){
         System.out.println("Integer: "+x);
    Test.java
    import pkg.*;
    public class Test{
         public static void main(String[] args){
              MyClass obj=new MyClass();
              obj.prn(2);
    Directory structure
    /root/ jprog/MyClass.java
    /root/ jprog/Test.java
    Executing the following sequence of commands gives me:
    # ls
    MyClass.java Test.java
    # javac -d . MyClass.java
    # ls
    MyClass.java Test.java pkg/
    # cd pkg
    # ls
    MyClass.class -----compiles.
    # cd ..
    # javac Test.java
    Test.java:5: cannot access MyClass
    bad class file: ./MyClass.java
    file does not contain class MyClass
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    MyClass obj=new MyClass();
    ^
    1 error
    Now after reading another thread on this forum I came to know that the compiler finds the
    MyClass.java in the wrong package. Using verbose option with javac shows this.
    So I move it to some other directory and everything works.
    # mv MyClass.java /root
    # ls
    Test.java pkg/
    # javac Test.java
    # java Test
    Integer: 2
    Now the question begins:
    Suppose we go back to how the files were arranged before I moved the MyClass.java file and
    I change the Test.java file by adding
    package pkg2;
    statement to it.
    Now everything compiles
    # ls
    MyClass.java Test.java ---I have deleted pkg and .class files
    # cat Test.java
    package pkg2;
    import pkg.*;
    public class Test{
    public static void main(String[] args){
    MyClass obj=new MyClass();
    obj.prn(2);
    # cat MyClass.java
    package pkg;
    public class MyClass {
    public void prn(int x){
    System.out.println("Integer: "+x);
    # javac -d . MyClass.java
    # javac -d . Test.java
    # ls
    MyClass.java Test.java pkg/ pkg2/
    # java pkg2.Test
    Integer: 2
    Why isn't the MyClass.java file causing any problems now?
    Using the verbose option with javac shows that the compiler goes straight for the pkg/MyClass.class.
    My readings of Core Java Horstmann tell me that the compiler always looks in the current directory. javac documentation also doesn't help. I know that the documentation recommends that the source file locations should match the package statements.
    I'm just trying to learn how javac finds referenced files.
    Any help??
    Thanks a load in advance.

    I know that the
    documentation recommends that the source file
    locations should match the package statements.This is not merely a recommendation, it is a requirement.
    Both javac and java find classes by traversing the classpath. The classpath should contain directories (or jar files) that correspond to the top of a (part of the) package hierarchy.
    For example, if the Java code for your class is in a file C:\src\pkg\MyClass.java, and MyClass.java declares the class to be in package pkg, the classpath should contain C:\src. Classes are then found by transforming their package declaration into a directory structure.
    Please note that javac works on files, not classes. Therefore it is necessary to specify the full filenames of the files you want to compile, even if you have specified the classpath. By default, javac will put compiled class files in the same location as their sources, so the classpath for the java command should also contain C:\src.
    The exception to the rule is when all classes for the program are in the default package (i.e., they do NOT contain a package statement). In that case, it is possible for javac (and I believe java as well) to find all classes in the current directory, so it will "just work".
    You can specify the classpath using the -cp parameter to both javac and java.
    Hope this helps.

  • I have a question about how to contact HR with e-mail.

    I read the rules about anything about HR is not allowed, but I also read to contact HR directly, so I won't ask anything further here. My question is, how? I searched for an e-mail, but all I have been able to find is a phone number I can't ring since I have no phone, just internet. Thank you.

    Hello Dennis,
    If you're a Best Buy or Geek Squad employee and do not have access to a telephone, then two alternative contact options exist for you: speak with your direct supervisor or use the My HR app within Employee Toolkit. If you are not a Best Buy employee, however, our HR support team will not be able to assist you -- these contact channels are for employee use only.
    Thank you for your understanding, as well as for taking the time to post.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for