Install NetBackup Client on Ubuntu Jaunty (i386 and amd64)

1619

Configuring the NetBackup Client

Installing the client software

  1. Download the NetBackup Client from online (not sure where to get this exactly.  I think I asked my local admin for it.  Mine is called NetBackup_6.5_CLIENTS2.tar.gz)
  2. Install the xinetd server
    $ sudo apt-get install xinetd
  3. (x86_64 only) If you run an x86_64 system, then you will need to do the following before proceeding. If you run i386, then you do not run this command:
    $ sudo apt-get install ia32-libs
  4. Extract the .tar.gz archive:
    $ sudo tar -xzvf NetBackup_6.5_CLIENTS2.tar.gz
  5. Install the client software:
    $ sudo ./NB_65_CLIENTS2_20070723/install

Note: There will be a few errors generated, but most are simply due to the inability to create files in a rc.d structure…  You may also need to know the address of your backup server.

Starting the services

  1. Copy the init script to the proper directory
    $ sudo cp /usr/openv/netbackup/bin/goodies/nbclient /etc/init.d/
  2. Start the NetBackup client
    $ sudo /etc/init.d/nbclient start
  3. Restart the xinetd server
    $ sudo /etc/init.d/xinetd restart
  4. Set the server to start at reboot every time
    $ sudo update-rc.d nbclient defaults

Notify Administrators

At this point, you’ll need to notify your local backup admin that you’ve just added a machine to the network.  I think your administrator will need to specify your machine as “Redhat2.6” for the backups to work.  I’m not sure if any other setting will work properly.

Ensuring the correct files are backed up

NetBackup keeps an include_list and exclude_list located in /usr/openv/netbackup.  If you wish to specify folders to backup, you will need to add the path to any other folder to the include_list to ensure that it’s included in the backup.

Verifying Backups

In order to see backup logs showing what was backed up on your machine, you need to create a special folder. When the bpbkar process sees this folder, it will append a log.000000 file with the current day. At the end it should say what the exit status is.

Warning! These files get big and aren’t rotated by default, so the folder will need to be cleaned out periodically.

$ sudo mkdir -p /usr/openv/netbackup/logs/bpbkar

References