Send Session Sessages to e-mail/file. (376 Views)
Reply
Respected Contributor
dcampregher
Posts: 213
Registered: ‎07-07-2011
Message 1 of 7 (376 Views)

Send Session Sessages to e-mail/file.

Hi,

Is possible to genereate a report where the messages of backup session are displayed ?

 

Can be by e-mail or a file.

 

Diogo

-----------
Please assign Kudos
HP Expert
Bob_Clark
Posts: 1,473
Registered: ‎08-14-2013
Message 2 of 7 (342 Views)

Re: Send Session Sessages to e-mail/file.

omnirpt -report list_sessions -timeframe [start] [finish] -smtp [e-mail address]

or

omnirpt -report list_sessions -timeframe [start] [finish] -tab -log [path to filename]

or

omnirpt -report list_sessions -timeframe [start] [finish] -html -log [filename.htm]

 

 

omnirpt -report single_session -session [session_id] [same options]

 

 

omnirpt -report session_errors -timeframe [start] [finish] [same options]

 

The 'timeframe' argument can either be relative from when the command is issued, for example

 

     omnirpt -report list_sessions -timeframe 24 24 -smtp [e-mail address]

 

for anything in the last 24 hours, or as an absolute value

 

    omnirpt -report list_sessions -timeframe 2014.06/01 00:01 2014/06/05 23:59-smtp [e-mail address]

 

Reporting is also configurable from the Reporting context in the GUI

 

 

Respected Contributor
dcampregher
Posts: 213
Registered: ‎07-07-2011
Message 3 of 7 (318 Views)

Re: Send Session Sessages to e-mail/file.

Hello Bob,

 

None of the options are that i need. I need receive by e-mail or generate a file with the content of the backup messages ( like in IDB > Messages ) of a specific session.

 

I can't find this report in the Reporting module, only the "list of sessions" and the "session errors" but they don't show the all messages from sessions.

 

Diogo

 

 

-----------
Please assign Kudos
HP Expert
Bob_Clark
Posts: 1,473
Registered: ‎08-14-2013
Message 4 of 7 (310 Views)

Re: Send Session Sessages to e-mail/file.

If this doesn't do what you want

 

  

omnirpt -report single_session -session [session_id] -smtp [e-mail address]

or

omnirpt -report single_session -session [session_id] -log ]path to log file]

 

then, there is no option to do what you want

Trusted Contributor
jruffer
Posts: 184
Registered: ‎06-28-2011
Message 5 of 7 (308 Views)

Re: Send Session Sessages to e-mail/file.

What I do is to run the backup by a program that captures all the output then emails it to me.  This has the advantage that when Data Protector removes the session details after a successful copy to tape I still have the information I need.

 

HTH

 

Jeremy

Occasional Visitor
RobertoL
Posts: 1
Registered: ‎06-10-2014
Message 6 of 7 (284 Views)

Re: Send Session Sessages to e-mail/file.

You can use the End of Session event.

 

In cell manager, go to Reporting -> Notifications -> Add Notification. In the notification options, select End of Session as the event and Email (SMTP) as the send method.

 

Regards.

 

Roberto L.

 

 

Trusted Contributor
KasparsB
Posts: 48
Registered: ‎03-07-2013
Message 7 of 7 (273 Views)

Re: Send Session Sessages to e-mail/file.

Hi,

 

to generate a file with session messages you can use omnidb command:

omnidb -session SessionID -report

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.