Pre & post snapshot programs – Storix Software SBAdmin User Guide User Manual
Page 60

Storix System Backup Administrator
60
Version 8.2 User Guide
Pre-backup Program
Post-backup Program
Client will be backed up and the job will
continue normally.
Job will continue normally.
Exit code 0
Client will not be backed up and the
backup job will be terminated with an
error message
Job will terminate with an error.
Exit code 1
Client will not be backed up. If there
are other clients to backup, the job will
continue normally. However the job will
complete with warning messages.
Job will continue normally. However, the job will
complete with warning messages.
Exit code 2
Exit code 3
or higher
Client will be backed up and the job will
continue normally. However, the job
will complete with warning messages.
Job will continue normally. However, the job will
complete with warning messages.
A post-backup program will be executed even if the backup command that precedes
it fails. This is necessary in case the post-backup program must record information
about the backup or restart processes that were stopped by the pre-backup program,
etc.
Pre & Post Snapshot Programs
When a backup job using a profile containing pre-snapshot and post-snapshot programs is run, the system
will attempt to execute the specified program on each client before and/or after each snapshot is created.
For Linux systems, snapshots are created for LVM logical volumes. For AIX systems,
snapshots are created for JFS2 filesystems. For Solaris systems, snapshots are
create for ZFS datasets.
The program will only be executed for snapshots created and included in the backup, if
have been configured (for the client if using Network Edition), and the
is configured to perform
snapshot backups.
The program names provided will be executed before the snapshot is created for
each snapshot source. Therefore, the program must be intelligent enough to
recognize the name of the device or filesystem the snapshot is being created for at
that time and act accordingly (or do nothing). Refer to
below for more information.
If the specified program does not exist on any client or is not executable, it will be ignored. Otherwise, it will
be executed and one of the following actions will be taken depending on the exit code of the program:
Pre-snapshot Program
Post-snapshot Program
The snapshot will be created and the
backup will continue.
The backup will continue normally.
Exit code 0
The snapshot will not be created and
the backup will terminate.
The backup will terminate with an error.
Exit code 1
The snapshot will not be created, but
the backup will continue using the
active (online) data.
The backup will continue normally.
Exit code 2
Exit code 3
or higher
A warning message will appear, but the
snapshot will be created and the
backup will continue normally.
The backup will terminate with an error.