Script for scheduled tasks.

Discussion in 'Paragon Drive Backup Product Line' started by Dave49, Dec 19, 2011.

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

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    163
    Location:
    Northeast U.S.
    I have Paragon Back Up and Recovery 10 Suite. I had some trouble getting the back up to overwrite the current one when I made the task. But I forgot to include shutting down the computer after the backup is finished. The following is the entire script. What would I need to alter, add, or delete to get it to do this for me? Thanks very much,

    Dave
    ======================================================

    // This file was automatically generated by {VENDOR_NAME} script generator
    // Use {VENDOR_NAME} Script Interpretator to run this file
    // Time of creation: Sat Apr 30 10:49:03 2011


    // Settings block
    settings
    surfacetest off
    verify off
    copyonetoone off
    hddrawprocess off
    allow64kcluster off
    donothidetarget on
    copyinsteadofmove off
    bigdrives off
    compressionlevel 10
    sidafterdisk off
    sidafterpartition off
    defaultsidchanger on
    nodellabel off
    timeshift 0
    oemcodepage 850
    timezone 20
    langnumber 17
    slavecfg off
    notforslave off
    enablerestart on
    enablevirtualdb on
    autoconverttofat32 on
    sidparams ""
    bootcdiso "C:\Documents and Settings\All Users\Application Data\Paragon\System Backup\RE\\iso.re"
    hotbackup lockimpossible
    tempdrive C
    vss2hbswitch on
    vssattempts 3
    vsstimeout 120
    endsettings

    // Turn off confirmation
    confirm off

    // Backup
    img = "F:/arc_300411010220906/arc_300411144702312/arc_300411144702312.PBF"
    select disk 0
    select partitions all
    options
    cmp = 10
    mfs = 4096000
    notempfiles
    label = "No comment"
    autonames
    hotbackup lockimpossible
    tempdrive C
    usevss
    store

    // Check for errors
    call check_error

    // Apply all scheduled operations
    apply all

    // Check for errors
    call check_error

    // Exiting
    // exit(0)

    // Function for checking error
    check_error:
    if (errorcode(1) != 0)
    then
    print "Some error occured: "
    strerror(errorcode(1))
    print ""
    print "Exiting"
    print ""
    exit(errorcode(1))
    endif
    endcall
     
  2. cincinnatijack

    cincinnatijack Registered Member

    Joined:
    Jul 3, 2010
    Posts:
    93
    You have to add:

    // Shutdown
    shutdown


    to the script, it is in this location:

    // Check for errors
    call check_error

    // Shutdown
    shutdown


    // Exiting
    // exit(0)
     
  3. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    163
    Location:
    Northeast U.S.
    Done. Thanks very much cincinnatijack. There's no way I would have ever figured that out on my own.

    Blue skies,

    Dave
     
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.