+ Post New Thread
Results 1 to 6 of 6
How do you do....it? Thread, Robocopy - Server Backup Scripts in Technical; Hi there, does anyone use Robocopy for backups? If so, would you mind sharing your scripts. I want to do ...
  1. #1
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84

    Robocopy - Server Backup Scripts

    Hi there,

    does anyone use Robocopy for backups?

    If so, would you mind sharing your scripts. I want to do Full backups over the weekend and incremental during the week and keep a month on rotation.

    Cheers if you can help. If you can't, well thankyou for just ready!

    Have fun!

  2. #2

    Join Date
    Feb 2007
    Location
    East Sussex
    Posts
    460
    Thank Post
    16
    Thanked 84 Times in 76 Posts
    Rep Power
    30
    I'd be cautious about using robocopy for backups, as i'm fairly certain it wont copy any files that someone has left open, unlike backup software which normally can.

    Steve

  3. Thanks to steveg from:

    bodminman (14th January 2011)

  4. #3
    Gibbo's Avatar
    Join Date
    Feb 2008
    Location
    Cheshire
    Posts
    898
    Thank Post
    206
    Thanked 343 Times in 238 Posts
    Rep Power
    93
    There really shouldn't be any files left open. If there were surely that would mean that there were machines left on?

    My script, runs daily:

    Code:
    robocopy "X:\pupils\Y7" "\\backupserver\d$\Pupils\Y7" /S /E /V /NP /R:3 /W:10

  5. Thanks to Gibbo from:

    bodminman (14th January 2011)

  6. #4
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Any idea what Error 5 Copying File . . . . . . Access denied means? I'm running this on a test server and logged in as a Domain Admin.

  7. #5
    Gibbo's Avatar
    Join Date
    Feb 2008
    Location
    Cheshire
    Posts
    898
    Thank Post
    206
    Thanked 343 Times in 238 Posts
    Rep Power
    93
    Are you getting it for every file, or just the odd one?

    This might help: Luis Rocha's Blog: Robocopy error: ERROR 5 (0x00000005) Changing File Attributes

  8. #6


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,582
    Thank Post
    228
    Thanked 855 Times in 734 Posts
    Rep Power
    295
    latest iteration of the ones i use for user areas etc (not system)
    Code:
    echo job started >>"\\nasbox\backup\Robocopy\users\mon\log.txt"
    time /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" 
    date /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" 
    robocopy d:\users "\\nasbox\backup\Robocopy\users\mon" /copyall /mir /r:2 /w:5
    echo job finished >>"\\nasbox\backup\Robocopy\users\mon\log.txt"
    time /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" 
    date /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" 
    echo. >>"\\nasbox\backup\Robocopy\users\mon\log.txt"

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 1st December 2010, 01:32 PM
  2. ROBOCOPY Through NT Backup Utility
    By Agarwal_Ashu in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 16th March 2010, 11:18 AM
  3. Replies: 4
    Last Post: 3rd November 2009, 01:05 AM
  4. Help running scripts within scripts
    By SimpleSi in forum *nix
    Replies: 7
    Last Post: 7th March 2008, 09:23 AM
  5. Backup Script for NT backup and Robocopy
    By ChrisH in forum Scripts
    Replies: 12
    Last Post: 20th October 2005, 01:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •