Many enterprises use the Symantec NetBackup software to backup machines. Last time I checked (6 months ago?), they didn't support Debian-based distros. I've been using this process since around Hardy and just recently tested this in a Jaunty Xen VM and it seems to be working (waiting for admin to run a backup on my machine to check)
Configuring the NetBackup Client
Installing the client software
- 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)
- Install the xinetd server
$ sudo apt-get install xinetd
- (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
- Extract the .tar.gz archive:
$ sudo tar -xzvf NetBackup_6.5_CLIENTS2.tar.gz
- 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
- Copy the init script to the proper directory
$ sudo cp /usr/openv/netbackup/bin/goodies/nbclient /etc/init.d/
- Start the NetBackup client
$ sudo /etc/init.d/nbclient start
- Restart the xinetd server
$ sudo /etc/init.d/xinetd restart
- Set the server to start at reboot every time
$ sudo update-rc.d nbclient defaults
Notify AdministratorsAt 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 upNetBackup 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 BackupsIn 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
- Credit to Ubuntu Forums for solving this: http://ph.ubuntuforums.com/showthread.php?t=827220