use robocopy with the switch /MIR safe?

Hello

I use Robocopy to copy my phone book c:\users\username on a second hard drive (D :). No problem. But I also want the mirror of this second hard drive on a third drive hard (e). I have been using the /MIR copy/mirror hard drive D: E: switch.
We know that /MIR deletes several files from the disk of destination files (e: in this case) if they no longer exist on the source (d) drive.

But I recently saw somewhere on the internet, there are certain risks that /MIR can also remove some of the source files in certain circumstances. Scary!
Here is the exact quote (unfortunately I did not record the site it comes.)

Use /MIR with caution - it has the ability to delete a file from the source and destination, under certain conditions.

This happens usually if a file/folder in the destination has been removed, causing ROBOCOPY to mirror the source to the destination. As a result, the same files in the source folder are also deleted. To avoid this situation, never to delete all the files/folders on the destination - remove from the source and then run the backup to mirror the destination to the source.

If in doubt, do not use the MIR, but be aware that backups will take more time.

So I wonder if it's true and/or tailored to my needs.  The explanation above don't make much sense to me. For the moment, I have abandoned the /MIR switch and am just using the Robocopy command to copy the second HD in the third.

Thanks much for the thoughts or advice or links.

Jack

The /MIR switch is NOT a two-way synchronization.  Right of the Microsoft documentation, it tells you/MIR/e + / purge.  It does not remove the source files.  The /MOV option removes the files from the source because you move them from the source to the destination.

The /mir option is equivalent to /e plus/purge with a small difference options in behavior:

  • With the /e plus/purge option, if the destination directory already exists, the destination directory security settings are not replaced.
  • With the /mir option, if the destination directory already exists, the security settings for destination directory are replaced.

Tags: Windows

Similar Questions

  • Hello. I have Photoshop CS4. Can I use this with the latest Mac OSX version10.10.1?

    Hello. I have Photoshop CS4. Can I use this with the latest Mac OSX version10.10.1?

    Hi Sonste,

    Greetings.

    For many people, it worked, and for some, it didn't.

    CS 4 could give you a run-time error java you can download an installation

    Java for OS X 2015-001

    Suggest you check the link call

    http://www.Mac-forums.com/OS-x-operating-system/317803-Adobe-CS4-Yosemite-10-10-a.html

    Concerning

    Rohit

  • How to use photoshop with the same account on more than one laptop?

    How to use photoshop with the same account on more than one laptop?

    a single user license entitles you to two facilities simultaneous/activations.  so, what's the problem?

  • Best wireless network installation with the switch TP-Link

    Hi all

    Few question numpty maybe, but what follows... We just moved to a new (larger) home with thick walls and I want to set up a new wireless network.

    The current installation is:

    Fiber cable entering the House in the basement and connected the modem to the service provider that provides 150 mb internet. I changed the capacity wireless on the ISP's modem and connecting an airport extreme (2014 model) via the LAN to the modem. The extreme is in the office but on the 3rd floor is having connection problems than you can imagine. All rooms have access points CAT5e who all meet in the basement. I have two spare Aiport express and two Apple TV that I would use. Also I bought a TP-LINK 1000mbps (16 channels) Network Switch.

    Could someone please tell how the best set-up of my home network. For example, the Airport Express to the 3rd floor connected to the switch (wired) network or to an extreme in the Office? Apple TV also connected to the network switch?

    I would like to end up with a solid wireless network that passes without problem from extreme to Express necessary each time you walk and you want to use an Apple TV for television on the ground floor and one in our room.

    Many thanks and apologies once more for this very basic question... I have expanded my front (extreme Express) wireless network but just don't know how best to use the switch.

    Thank you

    The simplest up set... which is almost always the best game in place... would be to connect the switch 16 ports to the modem/router and then connect devices to the switch. In other words, if your modem/router has 16 + Ethernet ports, the simplest network configuration would be to plug as many devices as possible directly to the modem/router.

    Other variants are possible, for example, the network might look like this:

    Internet > Modem/Router > AirPort Extreme > switch > devices... or, you can connect certain devices to ports Ethernet on the AirPort Extreme and some to the ports on the switch.  One thing to keep in mind however... If there is a problem... Troubleshooting may not be easy since it will be difficult to know where the problem actually lies.  Much easier to all have, or of possible devices, connect to the switch.

    Unfortunately, the AirPort Express devices will be of real bottlenecks on your network.  These devices are notoriously slow as well as wireless, and even if they work well, the speed will be does not exceed 100 Mbps... since it's the speed of the port to the AirPort Express.  In fact, I expect each Express to provide a wireless signal in the range of 50-60 Mbps.

    Another thing to keep in mind of the wireless network is that Macs will usually a good work of tilting automatically to the point of wireless to the other as moving from one place to the other in the House... but the iPhones, iPads, PCs, and other mobile devices will do that very well... If they do at all.

    So with these devices, you will need to get used to temporarily disable the WiFi on the device and the device when you move in one region to the other, and then turn WiFi on must generally then pick up the signal from a nearby wireless access point.

  • How to use time with the State in MODE Lab machine

    Hello

    I tried to use the state machine with function elapsed time so sequentially, start and stop my code. The arrangement is to start the code for 1 minute then stop for 5 minutes. I have attached the code, the problem is when I place the function elapsed time, exit the while loop it does not, on the other hand when I place it inside the loop it does not work, but it does not give the right signal to move to the next State.

    Could you please take a look at my code and help me solve this problem.

    Concerning

    Rajab

    Rajab84 wrote:

    APOK thanks for your help

    even with the support on start it continues to turn on the case of waiting

    could you please explain the code for me, the use of the Boolean crossing, increment and equality of functions

    Best regards

    Rajab

    Ok.. I have modded the example to stop after 2 cycles. Also recommend that you take the free online tutorials of LabVIEW.

    1. run the vi. case statement goes to 'initialize', shift registers are initialized to their constants. GoTo 'wait '.
    2. "start" = false, stay in the current state. If true, switch to the "1 min" case
    3. "Reset timer set off with True of the shift register (counter starts at zero). time elapsed "= false, stay in the current state (1 min). If true, goto "5 min" case
    4. "Reset timer set off with True of the shift from the previous case register (counter starts at zero). time elapsed "= false, stay in the current state (5 min). If true, goto "1 min" case. Also, bool crossing is the search for "true-false" function compares '5 min' to add the number of cycle.
    5. Once the number of cycles reaches 2, stop all loop...
  • Cannot access the IP by default with the switch Cisco SF200 - 24 p

    Hello, I just bought Cisco switch SF200-24, but I can't access to switch with default address IP 192.168.1.254.

    I set up my laptop 192.168.1.4 and connect to the Port No. 1 but I can't ping too.

    anything you can help me please.

    Hello

    Quick Start Guide:

    To access the switch using the web interface, you must know the IP address of the switch uses. The switch uses the default IP of default 192.168.1.254.
    When the switch is using the default IP address, the system LED flashes continuously. When the switch uses an address IP assigned server DHCP or an administrator has configured a static IP address, the system LED is lit (DHCP is enabled by default).

    You see the system LED flashes constantly?

  • If I create a preinstallation of Windows 7 environment and run Windows Defrag with the switch/w, be it defragment files XP defragmentation analysis shows that "good behaviour"?

    I'm trying to defragment all the last possible file on my hard drive.  I was quite the journey of optimization, learning of virtual disks, ReadyBoost, command line and optimization of registry TCP, swap file optimization (investment strategy) and now for anti-virus and defragmentation preinstallation environments.

    I find it very difficult to get a defragmentation program to try to defragment files, he thinks that he can not touch.

    I learned today how to create a 64 - bit Windows 7 PE with inclusion of work from the command line defragmentation file and wonder if it will cooperate with me or not.

    And Yes, I know that some people balk at the idea of a no failure or PE defrag mode, but I insist.  There are too many files cannot be modified running in a normal Windows environment, as well as in a safe-mode start environment.

    I learned the true benefits of defragmentation via the use of hard disks in very low yield (that is another story) and want to optimize my installation in my hobby of tinkering with the software.

    What is the problem with that?

    Thank you very much.

    -TCKoerber

    Personally, I'm not interested in the file of the page, I have more than enough ram, nore the mft. And any increase in the theoretical performance will have no impact on this system

    There are third-party defrag programs with more options than the buit in defrag.

    Like I said it was just an observation

  • DataGrid itemrenderer with the switch statement

    Hello

    I have the DataGrid with the columns

    < mx:DataGrid id = "dgvParagraphs" >
    < mx:columns >
    < mx:DataGridColumn dataField = "type" headerText = "Type" / >
    < mx:DataGridColumn dataField = "title" headerText = "Title" / >
    < mx:DataGridColumn dataField = "happy" visible = "false" / >
    < / mx:columns >
    < / mx:DataGrid >

    Under the type column I have values between 1 and 6. Each issue contains the content type. I have icons for each type. I want to show an icon instead of the right number. I know that this can be done using itemrenderes, but I do not know how to proceed.

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance
    www.ChikaraDev.com

    Support and Flex development services

    You might see problems with this code for scrolling, as DataGrid recycles itemRenderers, but in this case the information of the icon must be in the data.

    
    
      
        
      
      
        
          
            
              
                
              
            
          
          
          
        
      
      
        
          
            2
            My Title 1
            Content 1
          
          
            5
            My Title 2
            Content 2
          
          
            3
            My Title 3
            Content 3
          
          
            1
            My Title 4
            Content 4
          
          
            4
            My Title 5
            Content 5
          
          
            6
            My Title 6
            Content 6
          
          
            2
            My Title 7
            Content 7
          
          
            1
            My Title 8
            Content 8
          
          
            4
            My Title 9
            Content 9
          
          
            5
            My Title 10
            Content 10
          
          
            2
            My Title 11
            Content 11
          
        
      
    
    
  • can I use Skype with the Ipad Pro or any other IPad?

    I want to know if I can use Skype with any kind of IPads?

    You can - the latest version of their app requires iOS 8 +: https://itunes.apple.com/us/app/skype-for-ipad/id442012681?mt=8

  • Apple TV 4 cannot be used simultaneously with the other Apple TV

    We have just added a 4 AppleTV to our collection of the 2nd and 3rd generation AppleTV (all run wifi that we're not wired Ethernet in the House). For the first week or so it was no problem to start the 4 AppleTV and one of the other two, but since yesterday on the AppleTV 2nd generation (just to set market and access to iTunes or my library, not really look anything like that) not only causes the AppleTV 4 deadly freeze, but I end up having to restart the modem and the router with the computer (note that) (, meanwhile, the AppleTV 2 seems to work but I get annoyed at to get the 4 works again and just had to turn off so I don't know how stable, it has been). I have a modem/router Netgear of Cox (even when the AppleTV 4 wasn't running, SpeedTest has returned a normal wifi speed) I only use as a modem and a Terminal Airport Express as my wifi router. My operating system in Windows 10. Nothing updated (other than the Synaptics touchpad software) between when he was working Friday and when he decided to stop playing at the same time on Saturday. Once the computer, the AppleTV 4, the router and the modem has restarted, I once more have access to my iTunes to the AppleTV library and play something.

    I still have intermittent problems where the AppleTV 2 and 3 suddenly decide that they cannot see my library and I have to restart iTunes (which is completely unrelated to the current issue and I'm sure function of the way that Windows treats Hello), but in the case of the AppleTV 4 trying to run at the same time as the AppleTV 2 restart iTunes does nothing. Even with completely disconnected the AppleTV 2, restart iTunes (and even the computer) and restart the AppleTV 4 I'm not even to mirror content access purchases through the iTunes store or iTunes on Windows to the AppleTV, so my conclusion that I had to reboot the router and the modem, which was the only way to return the feature.

    At one point we tried to replace the AppleTV 4 with 3, and he was unable to work as the AppleTV 2 and these two have been exploited in tandem for about 3 years now generally without interference other than a problem when we suddenly decides that he cannot see my sharing even if the other is played.

    If someone has any ideas as to why I am suddenly unable to run two AppleTV at the same time, I would like to know. I don't have time to get into it tonight we try to watch a movie, but I think to restore the AppleTV 4 factory settings and see if that solves this problem. I'm also fooling around with the configuration of the 3 units when I have the House to myself and are not trying to keep anyone entertained. I'll post back tomorrow if I can get 2 & 3 or 3 & 4 at the same time. I hope I get lucky and be able to operate in any combination again.

    Just a quick suggestion. Have you given different names mountain BIKING? Apple protocols for colocation and AirPlay are based on these names and get confused if devices with different IPs claim the same name.

  • Satellite M30: Cannot use COM with the Modem port

    Hello

    I have a satellite m30. I have problems with the com port to use with the modem. I get an error code saying 12 resources etc. There is no i/o or IRQ conflict IRQ 04 and e/s beach is 03F8 - 03FF. I tried to uninstall various things to free resources, but still the same error.

    Any help would be greatly appreciated.

    This problem when you use the Toshiba Recovery CD?
    Try to disconnect all the external devices and install Windows from the Toshiba restore CD.

    Additional please check several comments here in the forum area Modem. I found several threads with similar issues

  • Effective rate using ni6143 with the request based on aiex2.cpp method

    Dear engineers experienced,

    I had a problem with the request method based on the file "aiex2.cpp", available on the site by using ni6143. It comes to the actual sampling rate. On the datasheet, it is said that the ni6143 could have the ability to data acquisition with speed of 250 kHz per channel, which means that each data could be acquired in 4th-6 second. So here's my question: if I use all 8 channels (each to 250 kHz), this means that I have to use 8 [channels] * 4th-6 [seconds] = [seconds] to get a data set (one for each channel), 32nd-6 or I can use only 4-6 [seconds] to get? I use the method of application based on aiex2.cpp for the experience of the trial. Inorder to check exactly what is the sampling rate, I/o digital set up a signal in the maximum power before gain on demand and set low during data acquisition is complete. It shows the oscillograph than the actual time for the acquisition of a set of data (one for each channel) when I use 8 channels (each to 250 kHz) is about 32-6 [seconds], which means that the device acquires data by a channel channel, not at the same time. I want to know if there is any setting that I have to settle with the registers, or request method could not acquire data with 8 channels simultaneously. My code is exactly the same with the file "aiex2.cpp".

    Thanks for help.

    Hello Licry,

    Yes, the example only shows how to acquire a number fixed samples.  Among the function calls that implements the acquisition will allow you to make the material constantly acquire...

    aiNumberOfSamples (theSTC, numberOfSamples, kFalse); for finite, false for continuous

    If you can set it to kTrue to acquire continuous.  So that the task to continue to work, your application must be able to access the FIFO data fast enough so that it does not overflow.

    Second, every continuous acquisition must end someday.  When your loop has acquired all data affecting the application, he must issue commands to stop the acquisition.  The manual of the STC in detail the steps that can be taken to stop a continuous acquisition.

    http://www.NI.com/PDF/manuals/340934b.PDF (see section 2.4.3.3)

    Steven T.

  • Can't get WAP121 to work with the switch SG100D - 08 p... why?

    If I connect my WAP121 directly to my router, it works fine.  But when I connect it to my SG100D switch - 08 p I can see, but when I log in, I get "limited connectivity" and he can't "identify."  The switch is PoE and everything seems to work well, but I have tried PoE and steady through the switch; nothing works.  Does not understand why if I connect it cat-cable goes into the switch it works fine, but when I coonect it through the switch, I have problems.  I thought that this switch was unmanaged, but something is happening.  Any ideas?

    Nathan, the default state should be fine. Try to upgrade/flash the firmware and reset the device and try again.

    -Tom
    Please mark replied messages useful

  • Using #WORKSPACE_IMAGES # with the names of dynamic list of Image, not to hardcode

    I hope someone can help me with this request.

    I am developing an Apex application but I am learning as I go along by examples of Google search and read the tutorials, etc.  I am trying to create a slideshow based on a dynamic list of Image names. First, I created an apex_collection in a header containing the names of the image process, I need (view/column APEX_COLLECTIONS. C001) I then created a Page called P81_IMAGE_NAME element. I'm trying to loop through the collection and display the pictures in a slide show.   I have a HTML Page with the following code in the Source of the region (found the code in an example online)... Please can someone tell me where I can add the following PL/SQL code so that #WORKSPACE_IMAGES # nom_image may contain the names of images dynamically recoveries rather then hard-coded image names as in the < div Section of the Source region - Code I want to add somewhere, don't know where it add or even if it will work

    Declare cursor c1 is

    Select c001

    of apex_collections

    where collection_name = "CO_IMAGES";

    Start

    A1 to c1 loop

    : P81_IMAGE_NAME: = c1. C001;

    < img src = "#WORKSPACE_IMAGES & P81_IMAGE_NAME" alt = "Slideshow Image" / >

    end loop;

    end;

    -End

    -The code which displays images, I found (Harcoded in the < div section)

    < script type = "text/javascript" >

    function slideSwitch() {}

    var $active = $("#slideshow IMG.active");

    If ($active.length == 0) $active = $("#slideshow IMG:last");

    This allows to take images in their order of appearance in the tag

    var $next = $active.next () .length? $active.next)

    : $('#slideshow IMG:first');

    Uncomment the 3 lines below to shoot images in random order

    var $sibs = $active.siblings ();

    var rndNum = Math.floor (Math.random () * $sibs.length);

    var $next = $($sibs [rndNum]);

    $active.addClass('last-active');

    $next.css ({opacity: 0.0})

    .addClass ('active')

    . Animate ({opacity: 1.0}, 3000, function() {})

    $active.removeClass ('active last active');

    });

    }

    {$(function()}

    setInterval ('slideSwitch()', 3000);

    });

    < /script >

    < style type = "text/css" >

    / * the value width and height to match your images * /.

    {#slideshow}

    position: relative;

    height: 400px;

    }

    #slideshow IMG {}

    position: absolute;

    top: 0;

    Left: 0;

    z index: 8;

    opacity: 0.0;

    }

    {IMG.active #slideshow

    z-index: 10;

    opacity: 1.0;

    }

    {IMG.last - active #slideshow

    z index: 9;

    }

    < / style >

    < div id = "slideshow" >

    < img src = "" #WORKSPACE_IMAGES #Logo.png "alt =" slideshow Image 2 "/ >" "

    < img src = "" #WORKSPACE_IMAGES #Logo1.png "alt =" slideshow Image 1 "/ >" "

    < img src = "' #WORKSPACE_IMAGES #2_Burg - 1.png" alt = "Slideshow Image 2" / > "

    < img src = "" #WORKSPACE_IMAGES #Car11.jpg "alt =" slideshow Image 3 "/ >" "

    < img src = "" #WORKSPACE_IMAGES #Screen1.png "alt =" slideshow Image 4 "/ >" "

    < / div >

    < / div >

    user8016921 wrote:

    Please update your profile of the forum with a recognizable user name: Video tutorial how to change username available

    Always include the information described in these guidelines when you post a question: How to get the answers from the forum

    I am developing an Apex application but I am learning as I go along by examples of Google search and read the tutorials, etc.  I am trying to create a slideshow based on a dynamic list of Image names. First, I created an apex_collection in a header containing the names of the image process, I need (view/column APEX_COLLECTIONS. C001) I then created a Page called P81_IMAGE_NAME element. I'm trying to loop through the collection and display the pictures in a slide show.  I have a HTML Page with the following code in the Source of the region (found the code in an example online)... Please can someone tell me where I can add the following PL/SQL code so that #WORKSPACE_IMAGES # nom_image may contain the names of images dynamically recoveries rather then hard-coded image names as in the

    Depends on the number of images. How are they involved?

    With a small number (e.g. 10-20), you can simply use a page element to register the handset img reference items and she as a substitution string in the region existing HTML. For more information, it would be preferable to use a report.

    On the approach of page element:

    1. create the point P81_IMAGES of the page as an element of the display only. The value of the Condition Never element so it is not included in the rendered page and the security attribute point escape special characters No.

    2. create a page process before header (sequenced to run once the collection created if that is done at this point in the process):

    begin
    
      :p81_images := null;
    
      for img in (
        select c001 src
        from apex_collections
        where collection_name = 'CO_IMAGES')
      loop
        :p81_images := :p81_images || 'Slideshow Image '
      end loop;
    
    end;
    

    3 refer to the value of the element in the HTML source of the region

    
    
    
    
    
    &P81_IMAGES.
  • How to use setFireActionForSubmit with the settings and capture the parameter

    Hello

    Can someone explain how to use setFireActionForSubmit.

    I extend the ShoppingCartPG controller. In the extended controller processRequest method I am adding a button to the table and implementation of the setFireActionForSubmit, so when the button is pressed it triggers the setFireActionForSubmit event.
    I need to pass the RequisitionLineId as a parameter which is present in the t associated with the ShoppingCartPG.

    I used the following code in the processRequest
    =================================
    ' public void processRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processRequest (paramOAPageContext, paramOAWebBean);
    OATableBean otbRN = (OATableBean) paramOAWebBean.findIndexedChildRecursive ("ItemTableRN");
    OASB OASubmitButtonBean = (OASubmitButtonBean) paramOAPageContext.getWebBeanFactory () .createWebBean (paramOAPageContext, "BUTTON_SUBMIT");

    oasb.setID ("addnInfo");
    oasb.setUINodeName ("addnInfo");
    oasb.setText ("additional information");

    String pageName = paramOAPageContext.getRootRegionCode ();
    Hashtable params = new Hashtable (1);
    params.put ("param1", pageName);

    Hashtable paramsWithBinds = new Hashtable (1);
    paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL (OASB, "${oa.encrypt.current.RequisitionLineId}"));
    oasb.setFireActionForSubmit ("addnInfoEvent", params, paramsWithBinds, false, false);

    otbRN.addIndexedChild (oasb);
    }
    =================================

    And I capture the event "addnInfoEvent" in processFormRequest method and trying to capture the RequisitionLineId I the past as a parameter.
    This is the code that I used in processFormRequest.
    =================================
    ' Public Sub processFormRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processFormRequest (paramOAPageContext, paramOAWebBean);
    OAApplicationModule localOAApplicationModule = (paramOAWebBean) paramOAPageContext.getApplicationModule;

    String strEvent = paramOAPageContext.getParameter (EVENT_PARAM);

    If ("addnInfoEvent".equals (strEvent))
    {
    Number format = 0;
    try {}
    Format = new Integer (ClientUtil.getDecryptedParameter (paramOAPageContext, "param2"));
    }
    catch (System.Exception e) {e.printStackTrace () ;}

    String outmsg = "line ID:" + size + ":" + strEvent;
    throw new OAException (outmsg, OAException.INFORMATION);
    }
    }
    =================================

    But I'm not able to capture the RequisitionLineId I sent as a parameter.
    Can someone let me know what I am doing wrong.

    Hello

    Because your table is not a tip so table using a submit button approach will not work because it won't give you rank of reference and you will not be able to enter the id of the corresponding command line, instead you use an icon of the image, which can be created through customization. Let me know if you need help in the code.

    Thank you
    Pratap

  • Maybe you are looking for

    • How can I stop dashes appear above my signature?

      I used Thunderbird to create a signature custom HTML format that includes a picture and links, etc. It works well and looks good (for my artistic abilities, ha ha). However, the two dashes are always inserted on a separate above the signature line. T

    • Satellite A500 BIOS 1.70 (PSAM3E) download link works not

      The link: http://support1.toshiba-tro.de/tedd-files2/0/bios-20100413111848.zipType: A500

    • HP remote

      I was wondering if thiers any prgogram that plays all media and works with the remote hp I know windows media center dose units but it dosent play mp4s and downloaded files viedo so them is i tunes but it dosent play avi files so I need one that will

    • How can I move e-mail addresses of 'personal' to 'work '?

      When I import contacts from a Windows Live Mail account to another Windows Live e-mail account, he always puts the email address into the slot in the "personal e-mail" rather than the "work email" slot he was supposed to be in. I went through and cha

    • Separate devices

      Hello world.  I have an EA3500.  The problem I have is when my iPad 2 to connect to the network in the list of devices, he demonstrated a device name with the ip address 2.  How can I separate the 2 iPads in 2 separate devices?  I just need to set up