ROBOCOPY - Create Backup Script

Page 32 of 32 FirstFirst ... 22303132

  1. Posts : 759
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #310

    This is the exact formula i used to copy. Please give corrections to it
    G:\appapcddrive D:\ /E /COPYALL /DCOPY:T
    where g is the source and d is the destination drive is the spacing correct. please
      My Computer


  2. Posts : 26,863
    Windows 11 Pro
       #311

    Try this if those are the switches you want to use. Create a folder on your D Drive and name it backup (or whatever you want)

    Robocopy G:\appapcddrive D:\backup \e \copyall \Dcopy:T /log:backup_log.txt

    This will also make a log of what was done. If anything goes wrong you can see where it happened.

    If it works, you can also copy/paste this into notepad and name it whatever you want with a .bat extension and just click that and it will run by itself. The echo is if you want to watch what it does in a command window. If you don't make it echo off.

    Code:
    echo
    Robocopy G:\appapcddrive D:\backup \e \copyall \Dcopy:T /log:backup_log.txt
    pause
      My Computer


  3. Posts : 2
    Windows 7 pro (64bit)
       #312

    ROBOCOPY PROGRESS


    Hello

    I have a menu that I use at work for testing and accessing other systems.
    I input the systems NAME or IP and I have a list of tools I can run.
    One item in my TOOLS MENU is ROBOCOPY it is listed below here.

    Can I add a ETA or better yet a progress bar?

    =====MY SCRIPT -

    :ROBOCOPY
    set /P source=Enter Source Folder^>
    set /P target=Enter \Install\Target Folder Name^>
    robocopy "%source%" "\\%host%\c$\Install\%target%" /mir /ETA /r:1 /w:1
    gotoptions

    Thank you all for all your help
      My Computer


 
Page 32 of 32 FirstFirst ... 22303132

  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:42.
Find Us