?
Solved

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

Posted on 2011-10-20
2
Medium Priority
?
916 Views
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?
thanks
0
Comment
Question by:Skiff-SS-N-23
  • 2
2 Comments
 

Accepted Solution

by:
Skiff-SS-N-23 earned 0 total points
ID: 37010816
OK

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
pause
Del /Q D:\FOLDERNAME\*.*
goto end
:20
echo file not exist
rem add action for condition file not exist
:end

Open in new window


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

thanks anyway
0
 

Author Closing Comment

by:Skiff-SS-N-23
ID: 37010818
no one has any idea, i found solution myself
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"Any files you do not have backed up in at least two [other] places are files you do not care about."
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

850 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