TSM Backup

Questions and problems with backups and archives should be sent to 218help@uky.edu or call 859-218-HELP (859-218-4357).

Introduction

TSM (Tivoli Storage Manager) is a client/server tool for backing up, or archiving data from various machines to a central server.

All of the data backed up, the databases for each machine being backed up, etc., are stored on the backup server. The client software, OS, and even the machine can be replaced without losing the backups of that machine.

Backups, by default, copy everything from your system to the backup server. This behavior can be changed by configuring rules to explicitly exclude files or folders from the backup.

Restores can be of the entire backup, or any portion, including a single file. Restored files can be placed back in the same place they were backed up from, anywhere else on the machine, or a different machine entirely, assuming you have access to do so.

No temporary space is needed on your machine for the backup file. It is created remotely on the backup server as the backup progresses.

There IS a charge for the service. See below for pricing.

To request new backup service CLICK HERE

You should be sure the requisition specifies "Central Backups" and include:

  • Server name. (ex pop.uky.edu)
  • IP number (ex.128.163.2.82)
  • Operating System (ex. Novell, Win NT, HPUX, etc.)
  • If it is a desktop or server and if it is a server how many processors and if you are going to use SAN, database, or mail (exchange) TSM modules.
  • Name and Email address of contact person
  • Dept #
  • Account #
  • Requesters name
  • Approval name and signature

To Get Backups Started

To start using the central backup server, there are a few things you need to do:

  • Your machine must have an entry in the campus name server. If not, you can send mail to getip@ncc.uky.edu to get it.
  • Download the TSM client for your machine from downloads.uky.edu (search for TSM)

and install it. Just use as simple an install as you can, no custom installs are needed. A Windows client installation guide is available. Generalized Unix/Linux installation instructions are also available below.

If you need to install or re-install the TSM Windows Scheduler service, instructions are available for that as well.

There is also support on Windows for a service to back up files which are in use at the time of the backup. An Open File Support installation is available and is not required but is extremely useful. It is recommended that you install Open File Support on all Windows TSM clients.

If you do not see a client or installation guide for your OS, contact local TSM support at help-backups-l@lsv.uky.edu.

If network services will be doing the install and setup you do not need to do this step or the next.

  • after you receive notification that your machine has been added to the backup server, you will need to setup what is to be backed up on your machine **. When you start your TSM client it will ask for the name of the central server, which is backups.uky.edu, your TSM server userid, and your TSM server password.
  • make sure your machine is left running and the TSM scheduler service/daemon is running so that backups can be performed.

** TSM will do a full backup of your machine the first time, and from then on, only backup what has changed.

Restores

Restores are generally very quick. This is attributed to several things.

  • Most restores are a result of user error causing damage to data files.
  • Generally people only need a file or folder restored.
  • When backups are made they are sent to the server file by file, and retrieved in the same manner.
  • The tape with the needed file is mounted by a robot on the first available tape drive, and the file is restored to a disk holding area automatically.
  • After the file needed for your restore is brought back from tape, only it is downloaded to your machine.
  • Since compression is usually turned on, and we average 2:1 compression on most machines, if you were to ask for the restore of a 100 KB file only about 50 KB of data will have to be transferred over the network, thus speeding up the restore even more.

Administrator Notes

Backups and restores can be performed any time of the day, but be aware that when backups are running, other services on your machine may be slower. Be aware that if your backups are running when the TSM server is trying to make offsite copies, or a copy of it's database, and you need a restore, it may be incomplete. At this time we start these processes at 8:00 am. each day, and generally finish by 11:00 am.

Generally backups are kept for 15 days, offsite copies are made each day.

One important exception:

Backups tapes for the mail databases on our Exchange system are normally retained for 7 days. The retention period may be extended to as many as 14 days when the University is closed over the Christmas holidays. These backups are kept only for recovery from a catastrophic failure. We do not restore individual mailboxes under normal circumstances. NOTE: Exchange admins can restore deleted items within Exchange without recourse to TSM. The time window within which this can be done is set inside Exchange. Consult Exchange admins and documentation for more information.

Backup schedules may be changed by administrators of the backup server in order to balance the load on the backup server, or network. If at all possible these changes will be discussed with the person who maintains a site or machine before being made.

Each system, or site with several machines, must have a backup administrator. They are to answer questions, install new releases of the client software, and perform restores.

Passwords must contain at least 8 characters, chosen from A-Z 0-9 _ . - + &.

TSM Centralized Backup Pricing

Accordion Open Accordion Close

Centralized Backup Pricing

The current backup product, TSM (Tivoli Storage Manager), prices software by whether the machine to be backed up is a server or a desktop, by how many processors and cores the system has, and by how backups will be generated. In addition to the startup cost to purchase the TSM license, there is a yearly maintenance fee (which allows for call-in support and software patches/upgrades) for each client.

Backups can be done either over the conventional campus network (LAN) or over a high-speed storage network (SAN). The SAN is a more expensive option and is generally used only for systems with very large amounts of data. Systems backing up over the SAN must be on the same SAN as the TSM server and must purchase a TSM for SAN license in addition to the regular license.

Desktop Systems    (Non-server type applications)

The initial license cost for a desktop/laptop backup is $34.52 (which includes the first year’s maintenance); the current recurring TSM maintenance cost is $6.90/year for each client.

Server / Database / SAN / Mail  (Exchange)

To backup servers or other systems, please contact the IT Service Desk at 218-4357 or by email at 218help@uky.edu to initiate a quote.  TSM pricing on servers is per Processor Value Unit (PVU).  PVUs are determined by the type of processor and the number of cores in it (the more powerful the processor, the higher the PVU assessment).  Backups staff will follow up with the requestor to confirm the processor and cores to be used in determining the PVU count for the quote.

If TSM for Databases is purchased for a database server, a server license for TSM backups is also required.

Like the desktop clients, the initial TSM server license cost includes the first year of maintenance.  The recurring maintenance cost is typically about 20% of the initial license cost per year.

Installing TSM on a Unix System

Accordion Open Accordion Close

Download client from download.uky.edu. Make sure the backup admin has your system registered to the backup server before performing the install.

If you are upgrading to a new level of the TSM client software instead of doing a new install, kill the 'dsmc schedule' and 'dsmcad' processes before installing the new level of the client.

Different unix platforms have different software install tools, for example, AIX has SMIT, Solaris has pkgadd, etc. Depending on your platform, use the appropriate tool to install the software, and then view the README doc(s) to make sure your system has the required software and patch levels. You may have more than one product in your install file. You need to install the backup client, and if you want web access to your client (recommended) also install the web interface.

* Solaris uses pkgadd and needs to install TIVsmCba.

* AIX uses restore to extract the files (read the README before proceeding) and then use smit to install.

* HPUX uses swinstall and needs to install TIVsmC.

* LINUX when installing with rpm, use the --nodeps option.

cd to /opt/tivoli/tsm/client/ba/bin (or wherever you installed the software)

and edit dsm.sys

Change

SErvername  server_a
TCPServeraddress   node.domain.company.COM

to

SErvername  UKCCSERVER
TCPServeraddress   backups.uky.edu

(or whatever other server you were instructed to use)

Change the TCPPORT entry to the port you were instructed to use.

and add the following lines:

PASSWORDACCESS GENERATE

querysch 4

tcpb 512
tcpw 1024

You can also add lines such as

exclude.dir /tmp

to exclude areas from backup. By default all local file systems will be backed up.

Next enter

./dsmc q sess

Enter the userid and password that the backup server administrator gave you when your system was registered.

Lastly, execute these commands and modify your system to execute these at system startup. These allow for unattended backups, and for remote administration.

./dsmcad
nohup ./dsmc schedule 2> /dev/null &

There is a sample startup script on download.uky.edu that will handle this if modified properly for your system.