How use Robocopy and incremental backup

Discussion in 'Windows Server' started by MarcusB, Mar 22, 2009.

  1. MarcusB

    MarcusB Guest

    Because of the lack of Ntbackup in Windows 2008 we would like use
    robocopy to make backups. We was using robocopy before to backup
    webservers folders but that we copied everything with /mir options.

    We want make full backup one time per 4 weeks and than do incremental
    every day. But we want to make incremental to another disk where
    robocopy will copy only new files. How to do this?



    MarcusB
     
    MarcusB, Mar 22, 2009
    #1
    1. Advertisements

  2. From the robocopy Help file:
    ::
    :: File Selection Options :
    ::
    /A :: copy only files with the Archive attribute set.
     
    Pegasus [MVP], Mar 22, 2009
    #2
    1. Advertisements

  3. Hi,

    Actually, you will want to use the /M option:

    ::
    :: File Selection Options :
    ::
    /A :: copy only files with the Archive attribute set.
    /M :: copy only files with the Archive attribute and reset
    it.

    With /A you keep recopuing the same files over and over; it would be more
    like a differential backup.
    With /M you copy only the files changed since your last incremental.

    --
    Daniel Jameson
    ·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·
    You don't have to agree with an artist's opinion
    to appreciate the art with which he expresses it.


     
    Daniel Jameson, Mar 22, 2009
    #3
  4. Oops - forgot about that one. Thanks for the correction.
     
    Pegasus [MVP], Mar 22, 2009
    #4
  5. MarcusB

    MarcusB Guest

    Thank you, I missed this options.
    How is with opened files in Robocopy? Is there the way to backup opened
    files?


    MarcusB
     
    MarcusB, Mar 22, 2009
    #5
  6. MarcusB

    Grant Taylor Guest

    Take a look at the /MAXAGE option under "File Selection Options" and see
    if you can't get that to do what you want.



    Grant. . . .
     
    Grant Taylor, Mar 24, 2009
    #6
  7. MarcusB

    Grant Taylor Guest

    Look at the /R and /W options.

    Robocopy basically will Retry and Wait in between retries.



    Grant. . . .
     
    Grant Taylor, Mar 25, 2009
    #7
  8. You can just wait, but AFAIK robocopy is not a VSS aware product and will
    not copy locked files.
    Anthony
    http://www.airdesk.com
     
    Anthony [MVP], Mar 25, 2009
    #8
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.