HP Data Protector 6.20 automated backup of a specific folder with specific conditions

Posted on 2011-10-20
Last Modified: 2012-05-12
Hi All,

I have a folder on media server to which a daily copy of database is copied. I want to create a backup specification where the task should check for an appropriate signal file (for ex, START.TXT) and if it finds that this file is there then backup of that folder should start. How can i resolve this?
Idea is to create a Batch file which will have a data protector backup command with condition that there is a signal file. Task will be scheduled to run every 15-20mins and in case of success write the folder to tape.
can this be done in other way?
Question by:Skiff-SS-N-23

    Accepted Solution


    i got solution myself.

    Script is as following:

    @echo off
    if not exist "D:\FOLDERNAME\START.TXT" goto 20
    echo file exist
    "C:\Program Files\OmniBack\bin\omnib" -datalist "BACKUP_SPECIFICATION_NAME" -server servername
    Del /Q D:\FOLDERNAME\*.*
    goto end
    echo file not exist
    rem add action for condition file not exist

    Open in new window

    and then i add this script to task scheduler to run every 30mins

    thanks anyway

    Author Closing Comment

    no one has any idea, i found solution myself

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now