Changes

From SME Server
Jump to navigationJump to search
Installing software bundled with your tape drive
'''How to install Yosemite and Hp backup software (Draft 1)'''

Hp tape drives come bundled with Data Protector Express Single Server Edition 3.x that is the Hp branded version of Yosemite Backup 8.x Single Server. You may be interested in using one of this software for their graphical interface, for their extended scheduling capabilities or for their ability to interact (in full version) with other servers with installed tape drives (you could backup your data on a tape drive that is physically on another server).

First of all follow Hp/Yosemite instructions to install the product for a RedHat distribution. At the end of the installation process the software will be installed in:
Quote
/usr/local/yosemite/yosemitebackup (Yosemite Backup)
or:
Quote
/usr/local/hp/dpx (Hp DPE)
Then you have to create services:
Quote
/usr/local/yosemite/yosemitebackup/ytlinsvc -i (Yosemite Backup)
or:
Quote
/usr/local/hp/dpx/dplinsvc -i (Hp DPE)
Then you must instruct your SME server to autostart this service. To do so add a script in this folder:
Quote
/etc/e-smith/events/local
containing the command to start the service:
Quote
usr/local/yosemite/yosemitebackup/ytlinsvc -s (Yosemite Backup)
or:
Quote
/usr/local/hp/dpx/dplinsvc -s (Hp DPE)
You could have the capability to manage the software using a “clipper style” console very similar to Novell Netware applications panels but this is not very practical (a warning will appear on your console saying that this kind of interface is no longer supported); anyway the commands to do this are:
Quote
usr/local/yosemite/yosemitebackup/ytadmin (Yosemite Backup)
or:
Quote
/usr/local/hp/dpx/dpadmin (Hp DPE)
better try to use those command inside a putty console instead the server console.

The more practical way to manage the software is installing again the software in console/remote only mode on a Windows or Linux desktop: when installing you will be asked to specify the hostname/ip address of the backup server you want to manage. You can now configure your backup sets. Remember to select the files to backup in the same way SME does for its backup on tape or disk: this command will give a listing of the files & folders included in a standard backup & restore, as per a default install of SME server:
Quote
perl -e 'use esmith::Backup; $b = new esmith::Backup;print join("\n",$b->restore_list)'
Which on a sme7.x server shows:
Quote
home/e-smith
etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/ssh
root
etc/sudoers
etc/passwd
etc/shadow
etc/group
etc/gshadow
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/smbpasswd
This is the list of files to be selected when creating a backup job in Data Protector or Yosemite Backup jobs (You must backup also the catalog/database of the backup software).

Some further tips:

- to install and execute Yosemite Backup 8.1 you may need to install the compat-libstdc++.rpm library from within SME server Software Panel;

- sometimes you may be unable to connect your desktop console to the backup service: you must modify
Quote
usr/local/yosemite/yosemitebackup/config/ytconfig.ini (Yosemite Backup)
or:
Quote
/usr/local/hp/dpx/dplinsvc/config/dpconfig.ini (Hp DPE)
adding the following line:
Quote
[configuration]
..................
..................
bindTo=192.168.0.250
this instruction forces Data Protector or Yosemite service to bind to a specific IP address and is necessary with multihomed servers but sometimes is required with single network card configurations too.
97

edits

Navigation menu