Robocopy - nudged required


  1. Posts : 488
    Microsoft Windows 7 HomePremium 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    Robocopy - nudged required


    Gentlemen I need a nudge to get Robocopy going. We have 2 HDDs with our data on board. Recently I dropped the original from my desk to the floor. Its dead. Real dead.

    So now there is one...... left.

    I want to Robocopy it - the entire HDD (located drive F) name for drive is Terra 3.
    I have an empty 3Tb HDD waiting to receive the contents (located drive H) folder name> Terra 3 Back Up

    Write the steps & the formula please. I'm way too nervous. If I lose T3 I'll need to contemplate a window exit.
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #2

    ROBOCOPY is a folder copier, not a file copier. Thus, you need to specify each folder individually. Lets assume you have 3 folders called A, B and C. Each of those may have sub-folders beneath them, and each of these contain several files.

    Create a .bat file on your desktop as follows, then run it as administrator.

    Code:
    robocopy F:\FolderA H:\"Terra 3 Backup" /copyall /e
    robocopy F:\FolderB H:\"Terra 3 Backup" /copyall /e
    robocopy F:\FolderC H:\"Terra 3 Backup" /copyall /e
    The copyall switch copies all the file attributes. The /e switch copies any subfolders even if they are empty.

    Since this is the first time you are copying (and presumably its a once off) I would use XCOPY instead, since you do not need to copy each folder. ROBOCOPY holds no advantage over XCOPY for a one-off job.

    In an elevated CMD window, type as shown below, and hit enter:

    Code:
    xcopy F:\*.* /V /E H:\"Terra 3 Backup\
    /v verifies each file after copying
    /e copies all folders/sub-folders even if they are empty

    Useful information if you insist on using ROBOCOPY:
    ROBOCOPY - Create Backup Script
      My Computer


  3. Posts : 1,711
    Win 7 Pro 64-bit 7601
       #3

    Practice a bit on non-critical files before doing the real job.

    If you want a GUI with some drag-and-drop support (the source and destination directory/drive) and right-click-menu-integration, please consider Fastcopy. It's powerful and reliable. Practicing a bit with dummy files is always recommended.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:38.
Find Us