Quantcast
Channel: Data Protector Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3189

Stopping a StoreOnce copy erroring off falsely?

$
0
0

So I have a line in cron that run a copy every hour.

# Copy the archive logs over to Fenton hourly

13 * * * * /opt/omni/bin/omniobjcopy -replist Hourly_Archive_Log_Copy -scheduled > /tmp/objcopy.$$ 2>&1

 

NOW we get an alarm if there is nothing to copy.  THAT is not an error.  How do I make DP NOT report it?  Folks will get paged for a false alarm.  Is there a way to check for objects before I attempt a copy?

[Normal] From: CSM@sapbck.ssmhc.com "Hourly_Archive_Log_Copy" Time: 1/12/2017 4:13:00 PM

Replication session 2017/01/12-119 started.

[Critical] From: CSM@sapbck.ssmhc.com "Hourly_Archive_Log_Copy" Time: 1/12/2017 4:13:05 PM

No objects to copy. The session will abort.

 

This is from the man page but an example might be nice:

 

To obtain the information about all backed up objects or sessions

containing the objects you want to copy, use the omnidb command.

 


Viewing all articles
Browse latest Browse all 3189

Trending Articles