Robocopy copying files from source to destination in backup mode and with file security permissions intact











up vote
3
down vote

favorite
1












I need to use Robocopy to mirror files and folders from one shared location to another, in restartable backup mode with security permissions.



My current command is:



robocopy //sourceServer/src //destinationServer/dest /E /XO /Z /R:5 /W:30 /MIR


I am planning to use /zb and /SEC flags, for which the user has to be given the following privileges:



 Manage auditing and security log   SeSecurityPrivilege 
Backup files and directories SeBackupPrivilege


The user from which the command will be executed has R/W permissions on both the shared drives, what I need to know is do I need to give the above mentioned privileges to my user:




  1. On the source machine

  2. On the destination machine

  3. On the client machine where I am executing this command.

  4. On all the machines










share|improve this question















migrated from stackoverflow.com Jul 25 '11 at 11:10


This question came from our site for professional and enthusiast programmers.



















    up vote
    3
    down vote

    favorite
    1












    I need to use Robocopy to mirror files and folders from one shared location to another, in restartable backup mode with security permissions.



    My current command is:



    robocopy //sourceServer/src //destinationServer/dest /E /XO /Z /R:5 /W:30 /MIR


    I am planning to use /zb and /SEC flags, for which the user has to be given the following privileges:



     Manage auditing and security log   SeSecurityPrivilege 
    Backup files and directories SeBackupPrivilege


    The user from which the command will be executed has R/W permissions on both the shared drives, what I need to know is do I need to give the above mentioned privileges to my user:




    1. On the source machine

    2. On the destination machine

    3. On the client machine where I am executing this command.

    4. On all the machines










    share|improve this question















    migrated from stackoverflow.com Jul 25 '11 at 11:10


    This question came from our site for professional and enthusiast programmers.

















      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      I need to use Robocopy to mirror files and folders from one shared location to another, in restartable backup mode with security permissions.



      My current command is:



      robocopy //sourceServer/src //destinationServer/dest /E /XO /Z /R:5 /W:30 /MIR


      I am planning to use /zb and /SEC flags, for which the user has to be given the following privileges:



       Manage auditing and security log   SeSecurityPrivilege 
      Backup files and directories SeBackupPrivilege


      The user from which the command will be executed has R/W permissions on both the shared drives, what I need to know is do I need to give the above mentioned privileges to my user:




      1. On the source machine

      2. On the destination machine

      3. On the client machine where I am executing this command.

      4. On all the machines










      share|improve this question















      I need to use Robocopy to mirror files and folders from one shared location to another, in restartable backup mode with security permissions.



      My current command is:



      robocopy //sourceServer/src //destinationServer/dest /E /XO /Z /R:5 /W:30 /MIR


      I am planning to use /zb and /SEC flags, for which the user has to be given the following privileges:



       Manage auditing and security log   SeSecurityPrivilege 
      Backup files and directories SeBackupPrivilege


      The user from which the command will be executed has R/W permissions on both the shared drives, what I need to know is do I need to give the above mentioned privileges to my user:




      1. On the source machine

      2. On the destination machine

      3. On the client machine where I am executing this command.

      4. On all the machines







      windows security backup robocopy






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 24 '17 at 16:43









      Blackwood

      2,66561727




      2,66561727










      asked Jul 25 '11 at 6:52







      lazycoder











      migrated from stackoverflow.com Jul 25 '11 at 11:10


      This question came from our site for professional and enthusiast programmers.






      migrated from stackoverflow.com Jul 25 '11 at 11:10


      This question came from our site for professional and enthusiast programmers.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Option 4 - but do it via a GPO at the Domain level.



          Create a new group policy object (or edit an existing one if you prefer), and add the user to those two privileges under Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> User Rights Assignment. Apply the GPO to an appropriate OU and reboot the affected machines to allow the changes to take effect.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f314737%2frobocopy-copying-files-from-source-to-destination-in-backup-mode-and-with-file-s%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown
























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Option 4 - but do it via a GPO at the Domain level.



            Create a new group policy object (or edit an existing one if you prefer), and add the user to those two privileges under Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> User Rights Assignment. Apply the GPO to an appropriate OU and reboot the affected machines to allow the changes to take effect.






            share|improve this answer

























              up vote
              0
              down vote













              Option 4 - but do it via a GPO at the Domain level.



              Create a new group policy object (or edit an existing one if you prefer), and add the user to those two privileges under Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> User Rights Assignment. Apply the GPO to an appropriate OU and reboot the affected machines to allow the changes to take effect.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Option 4 - but do it via a GPO at the Domain level.



                Create a new group policy object (or edit an existing one if you prefer), and add the user to those two privileges under Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> User Rights Assignment. Apply the GPO to an appropriate OU and reboot the affected machines to allow the changes to take effect.






                share|improve this answer












                Option 4 - but do it via a GPO at the Domain level.



                Create a new group policy object (or edit an existing one if you prefer), and add the user to those two privileges under Computer Configuration --> Windows Settings --> Security Settings --> Local Policies --> User Rights Assignment. Apply the GPO to an appropriate OU and reboot the affected machines to allow the changes to take effect.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 25 '11 at 12:06









                Mike Insch

                2,223118




                2,223118






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f314737%2frobocopy-copying-files-from-source-to-destination-in-backup-mode-and-with-file-s%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...