Automatic Image Consolidation Script! FULL - Incremental Job

Discussion in 'Acronis True Image Product Line' started by jeremyotten, Jun 16, 2006.

Thread Status:
Not open for further replies.
  1. jeremyotten

    jeremyotten Registered Member

    Joined:
    Feb 9, 2005
    Posts:
    684
    Use is combined with your own knowledge:

    ======================================================
    @ECHO OFF
    ECHO RENAME IMAGE BACKUP DIR'S....
    NET USE Y: \\NAS01\IMAGES
    Y:
    IF NOT EXIST "\\NAS01\IMAGES\WEEK1" MD "\\NAS01\IMAGES\WEEK1"
    IF NOT EXIST "\\NAS01\IMAGES\WEEK2" MD "\\NAS01\IMAGES\WEEK2"
    IF NOT EXIST "\\NAS01\IMAGES\WEEK3" MD "\\NAS01\IMAGES\WEEK3"
    IF NOT EXIST "\\NAS01\IMAGES\WEEK4" MD "\\NAS01\IMAGES\WEEK4"
    RENAME WEEK1 WEEK1A
    RENAME WEEK2 WEEK2A
    RENAME WEEK3 WEEK3A
    RENAME WEEK4 WEEK4A
    ECHO DONE!

    ECHO SUFFLE IMAGE BACKUP DIR NAMES....
    RENAME WEEK1A WEEK2
    RENAME WEEK2A WEEK3
    RENAME WEEK3A WEEK4
    RENAME WEEK4A WEEK1
    ECHO DONE!

    ECHO CLEANOUT OLD WEEK4 (NEW WEEK1 DIR)....
    NET USE Y: /DELETE /YES
    DEL \\NAS01\IMAGES\WEEK1\*.* /Q
    ECHO DONE!

    =================================================

    This is a CMD(DOS Batch) script;)
     
  2. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello Jeremy,

    Thank you for choosing Acronis Disk Backup Software.

    Sharing your experience is very much appreciated.

    If you have any further experience to share, please feel free to post it on this forum.

    Thank you.
    --
    Tatyana Tsyngaeva
     
Thread Status:
Not open for further replies.