Data Protector – Open Firewall port

When installing Data Protector agents, you need to open the port 5555.
To do so, you can just open a command line, as administrator if using Windows Vista or superior and type:

netsh firewall set portopening TCP 5555 “Data Protector”

This will add an exception, and you can deploy your agent.
If you need to do this for a lot of systems, then you should make use of group policy and open this port through Group Policy.
For that type gpedit, don’t forget you need to be a domain admin for this, and look for Windows Settings -> Windows Firewall with Advanced Security ->Inbound Rules

Then right click on the right pane and click New Rule. Follow the wizard to open the port 5555 and apply the policy to the intended OU.

Data Protector – Error 10:1005

I came across with this error message accessing Data Potector GUI “Error 12:1005 access denied”
To go around this error, log on to the cell manager and open a command line positioning your prompt on the Omniback folder an then type:
omnicc -update_host <cell_managar_name>
This will add the cell_info on the cell manager correcting the error.

Data Protector – E-Mail notifications

Before HP Software launched Data Protector 6, reports using e-mail needed a external e-mail software like sendemail to send the reports.

After Data Protector 6.0, that became a feature you can activate.

To do so, follow these steps:

1 – Use a text editor to open the global file under OmniBackConfigServerOptions folder. (You might want to make a safeguard copy before starting!)

2 – Alter the parameters below, by removing the # sign and changing the SMTP Server and Sender Address.

– # SMTPServer=smtp.company.com

– # SMTPSenderAddress=server-backup@company.com

NOTE: These e-mails are not authenticated, so you might need to allow unauthenticated e-mails from the Cell Manager Server.

After You can set it up in Data Protector GUI by going into Reporting –> Reports –> Add Report Group –> Choose the New Report Group –> Add Report.

You can select time frame, which sessions, and send method under Add report.

You can also use a notification, instead of a report. The notification can be sent as soon as the session completes.

To do so, go to Reporting -> Notifications.

Right Click and select Add Notification. Type the name you want, and, select EndOfSession.

After, select the send method of Email (SMTP) and enter the email address to send the event to.

NOTE: There can be only one email address, so, if you want the Notification to be sent to more than one address, send it to a group address.

Data Protector – Remove clients from database

When you have a client in your Data Protector database that is no longer available, be it because you’ve reinstalled the OS without removing the agents, or because the machine simply died, you should clean up your client database.

For that, open the cell_info file with your preferred  text editor and just delete the client line.

The cell_info file is usually located in the OmniBackConfigServercell folder.

HP Data Protector Poor tape reset

Data Protector keeps a record of tape usage and after some time marks tapes as “POOR”, making them unusable for backups.
But that doesn’t mean that the tape is really poor.
To make the tapes usable again just open a command line or a Unix terminal and place yourself in the OmniBack/bin directory.
Then just type omnimm -reset_poor_medium tapelabel. Then you will receive the message “Reset poor flag on medium.”
Please note that running this command will reset the medium counters, including number of overwrites, creation time, last write/overwrite/access times. Use omnimm -media_info tapelabel -detail to confirm there are no errors or you will end up with a “GOOD” tape with errors.