ROBOCOPY - Create Backup Script

Page 12 of 32 FirstFirst ... 2101112131422 ... LastLast

  1. Posts : 3
    Windows 7 Home Premium x64
       #110

    Here is a photo from Snipping tool. It's just a continual loop, and does nothing.

    ROBOCOPY - Create Backup Script-robocopy.png
    Last edited by jkitc; 15 Aug 2012 at 11:42. Reason: Show a Screen Capture
      My Computer


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

    jkitc said:
    No Go!
    Youre going to have to give more detail than that. Post some screen capture images of the problem.

    Regards,
    Golden
      My Computer


  3. Posts : 1
    windows 7 32
       #112

    Need backup script


    Hello Golden,

    I want to backup my PC D-drive 5 times in a week to my network drive. Could you please write a script to achieve this. Below is my requirement.

    --Everyday full backup
    -- Want to retain the last 5 days backups
    -- script should create directory everyday and take the backup into that directory
    -- It should delete the directory, if the days exceeds more than 5.
    -- It should have only last five days backup

    Please help me.

    Many thanks in advance.

    Thanks & Best Regards,
    SRAMB1
      My Computer


  4. Posts : 11
    Windows 7 Ultimate 32bit
       #113

    Golden, it works great if I double click on the .bat file, but when I try using task scheduler it is failing. I've looked through the tutorial you referenced, but still no go.

    Systems are on domain, bat file has been place on C drive and on user's Desktop, but am currently getting 0x3 as last run result when testing (although the script does appear to run).

    robocopy c:\users\username \\servername\share\username /e np /tee /mt /XA:SH /XF Recycler* /r:3 /w:10 /XJ /XD AppData

    Any thoughts? Today we are supposed to "go live" with this, and I just found the bug.

    Golden said:
    Hi,

    Mmm, I don't know to be perferfectly honest.......have you tried excluding that using wildcards?

    XF = exclude file

    /XF RECYCLER* or whatever the recycler is called?

    Regards,
    Golden
      My Computer


  5. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #114

    jkitc said:
    Here is a photo from Snipping tool. It's just a continual loop, and does nothing.

    ROBOCOPY - Create Backup Script-robocopy.png
    Hi,

    I'm not sure whats going on there, but the one thing I noticed is that you seem to be running the .BAT from within a Robocopy Batch directory on your desktop. Try placing the .BAT file directly on your desktop, and then running it from there.

    Regards,
    Golden
      My Computer


  6. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #115

    callbrady said:
    Golden, it works great if I double click on the .bat file, but when I try using task scheduler it is failing. I've looked through the tutorial you referenced, but still no go.

    Systems are on domain, bat file has been place on C drive and on user's Desktop, but am currently getting 0x3 as last run result when testing (although the script does appear to run).

    robocopy c:\users\username \\servername\share\username /e np /tee /mt /XA:SH /XF Recycler* /r:3 /w:10 /XJ /XD AppData

    Any thoughts? Today we are supposed to "go live" with this, and I just found the bug.
    Hi,

    I'm not really sure what the solution is. I'll see if I can get more help with this.

    Regards,
    Golden
      My Computer


  7. Posts : 1
    W764Bit, and a buttload of servers
       #116

    Had same problem, cause i used notepad, and then renamed to *.bat for my script.

    did a new blank page in notepadd++, copied the script into that, saved it as a bat file in notepadd++ and viola, script was working as intended.

    Now i don't get this continous rolling in a prompt anymore :)


    actually, just made a account here, JUST to tell you that :)
      My Computer


  8. Posts : 23
    Win7 x64
       #117

    Is this just the same as Microsoft's "SyncToy2"??
      My Computer


  9. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #118

    RandyD123 said:
    Is this just the same as Microsoft's "SyncToy2"??
    Hi,

    Yes, essentially it is - SyncToy is robocopy with a GUI.

    Regards,
    Golden
      My Computer


  10. Posts : 1
    Windows 7 Professional x64
       #119

    Excellent Tutorial


    Thanks a lot, Golden! Very helpful.
      My Computer


 
Page 12 of 32 FirstFirst ... 2101112131422 ... LastLast

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