Pre-backup and post-backup programs – Storix Software SBAdmin TSM Edition Users Guide User Manual

Page 35

Advertising
background image

For details on the use of the

Retain backups field, refer to

Backup Retention Policy

set in the

Preferences

section.

After making all selections, save the profile by pressing the

Save

button at the bottom. The information will be

saved and the window will be closed.

Pre-backup and Post-backup Programs

Within the backup profile, you may configure a program to run on the client, before and/or after the backup
command runs. You can also select to have programs execute before and after the creation of

snapshots

used

for backups. This program, either a pre-backup program or post-backup program, is a custom program which
exists on one or more clients, and may perform any operation, such as starting and stopping database
programs, forcing users to log off the system, etc. To configure pre- or post-backup programs, press the

Configure

button next to the Pre & Post Backup Programs field. When doing so, the following screen will

appear:

Note that the options for running programs prior to or after creation of snapshots are only available with
backups of data contained in JFS2 filesystems (AIX), LVM logical volumes (Linux) and ZFS filesystems
(Solaris).

Using the web interface is slightly different. You will notice the option to configure pre and post backup
programs directly from the main profile configuration screen:

The pre-backup and post-backup programs will be executed with

ROOT USER authority. Therefore, they must

be placed in the DATADIR

/custom directory by the root user on the client (where DATADIR is the directory you

selected on each system when SBAdmin was configured - i.e. /storix). The custom directory is owned by the
root user and only the root user on each system has the ability to add files to this directory. The commands
placed in the custom directory may be shell scripts or binary programs and must have execute permission.

To configure a pre-backup or post-backup program, simply add the name of the program to the profile in either
of the

Pre-backup Program or Post-backup Program fields. Do not enter the full path name of the program,

only the file name. The program is assumed to be in the DATADIR/

custom directory. You may also add

optional arguments to the command, separated by spaces.

Storix System Backup Administrator

35

Version 8.2 TSM Edition User Guide

Advertising