How to schedule an incremental backup every hour

Discussion in 'Paragon Drive Backup Product Line' started by jewelr, Jan 28, 2012.

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

    jewelr Registered Member

    Joined:
    Jan 28, 2012
    Posts:
    3
    Location:
    USA
    Can someone tell me how I can schedule an incremental backup every hour? Also, can I create backup sets and have them deleted automatically after a certain amount of days?
     
  2. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    In "Control Panel\All Control Panel Items\Administrative Tools", open Task Scheduler and select "Task Scheduler Library > Paragon Archive name arc_***". Double-click that, go to Triggers tab and click Edit... Select Daily and Repeat task every: 1 hour.

    Automatic deletion should be in Cyclic Backup, but that isn't available in the free version.

    I think what you're doing is overkill though. If you want something more constant, try rollback software or system virtualization.
     
  3. cincinnatijack

    cincinnatijack Registered Member

    Joined:
    Jul 3, 2010
    Posts:
    93
    To delete older archive from backup folder you can add the following script to the bottom of your existing script, just above the "endcall" in the end.

    Set the SET STRING ARCDIR to the folder that need to be adjusted and the SET VALUE DAYS to the number of days that you want to keep.

    This script was written by Paragon_Matt and it working for me just fine.


    SET STRING ARCDIR = "D:/Full Backup/User/"
    SET VALUE DAYS = 15

    SET VALUE COUNTER = 0
    XFIND
    OPTIONS
    RESULT = TEST
    RECURSIVE = DIRECTORIES FIRST
    RECURSIVE LEVEL = 0
    START = STRING(ARCDIR)
    MASK = "*.*"
    SEARCH = WIDE
    FILES = ON
    DIRECTORIES = ON
    ENDOPTIONS
    BEGIN
    SET VALUE COUNTER = VALUE(COUNTER) + 1
    IF((NOWTIME-(FILECREATETIME(STRING(ARCDIR)+"/"+STRING(TEST)))) >= (VALUE(DAYS)*86400)) THEN
    PUSHSTR(STRING(ARCDIR)+"/"+STRING(TEST))
    ENDIF
    ENDXFIND

    DO
    SET STRING STR1 = POPSTR
    FILEDELETEDIR(STRING(STR1))
    FILEDELETE(STRING(STR1))
    SET VALUE COUNTER = VALUE(COUNTER) - 1
    WHILE(VALUE(COUNTER) > 0)
    FILEDELETEDIR(STRING(ARCDIR))
     
  4. jewelr

    jewelr Registered Member

    Joined:
    Jan 28, 2012
    Posts:
    3
    Location:
    USA
    Thanks J_L, I think it is crazy that they hide that feature like that. Overkill, not really. With incremental backups the time to run every hour is about 1 minute. This way if a disaster happens I will only be missing data from 1 hour or less.
     
  5. jewelr

    jewelr Registered Member

    Joined:
    Jan 28, 2012
    Posts:
    3
    Location:
    USA
    Thanks cincinnatijack, I will give this a look.
     
  6. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    By number of days, do you mean how old the archive is? Thanks for the script.
     
  7. cincinnatijack

    cincinnatijack Registered Member

    Joined:
    Jul 3, 2010
    Posts:
    93
    The script checks all the archives in the folder looking at the archive create time (FILECREATETIME) and deleting any archive that the "Create Date" is older then today's date minus set number of days (SET VALUE DAYS).

    Be careful, this script will delete ALL the older files in the target folder and not only the backup archive.
     
  8. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    I see, does it work on the Backup Capsule?

    I've set it to the target to "ufsd://hard0/", should I change that?
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.