Académique Documents
Professionnel Documents
Culture Documents
Purpose
Why Backups ?
How to plan your backup ?
BRMS Application
Functionality of Media Library
Domino Online Backup
Objective
Backup
Backup -> making copies of data so as to restore the original after a data
loss event.
Importance
– Restore a computer to an operational state following a disaster
(called disaster recovery).
– to restore small numbers of files after they have been accidentally
deleted or corrupted
Backup Types
Full
Incremental
Differential or Cumulative
Incremental Vs Cumulative
Incr a b c d
AS01 AS01,AS02 AS01,AS02,AS03 AS01, AS02 , AS03, AS04 AS01, AS02, AS03, AS04,
AS05
Incremental
Backup to Tapes – Objects are saved on the tapes and then tapes are moved
to a different location for storage.
BRMS
GO BRMS
BRMS
Backup
Recovery:
With BRMS, you can restore your entire system, or selected items such as
control groups, libraries, objects, folders, auxiliary storage pools (ASPs),
spooled files, or Integrated File System links.
Media Management
Tracks all the tapes and save files. Media is tracked through all cycles from
creation to expiration.
Tracking process includes active use, storage location, and return to scratch
pool availability.
Tracks media until you remove it from the media inventory or until it is
otherwise disabled due to usage threshold or poor quality rating.
BRMS Policies
BRMS Policies
They also provide a single point of control for administering broad changes in
operating principles.
Each policy provides a template for managing backup and media
management strategies at high levels.
Type of Policies
Types of Policies
Type of Policies
Types of policies
Type of Policies
Specify which days the data will be processed, and the order in which
the processing occurs.
Control groups usually refer to, and work with, related policies.
The media, move, backup, and recovery policies are sometimes called
function policies because they pertain to specific, core BRMS functional
activities.
The system policy is called a global policy because BRMS applies many of
its values to the core functional activities.
Policies
Policies
Since save and restore needs vary depending on customer needs, policies
and control groups that share the same parameters and values can override
one another.
In this way, a function policy value can override a shared system policy value,
and a control group value can override a shared function or system policy
value.
System Policy
Backup Policy
Control Group
Control Group
Tip
If you have modified the default values, you can reset these back to the
default values by running the INZBRM OPTION(*DATA) command.
What: This information is held in the backup control group. The timing
of the backup is determined by how often you schedule the backup of
each backup control group.
The media policy also specifies if the data should be staged through
a save file before being committed to the media. The media policy is
specified in the attributes of the backup control group.
How long: Nightly backups may need to be retained for one week,
where monthly backups may need to be retained for one or more
years.
Storage locations
Storage Location
Storage Location in the media policy instructs where to look for a tape to
perform backup.
Normally this is the scratch pool or the automated tape library, but it can also
be another location.
The default for the storage location parameter in the media policy is *ANY.
Storage Location
One should review this parameter, especially if one permit media to expire in
a location other than the “home” location so that BRMS/400 does not request
the mount of a tape that is not even on-site.
For media libraries, one must be careful in specifying the storage location to
ensure it only indicates tapes that are “inside” of the library.
Storage Location
A Media Policy
Media Policy
There are two important field parameters which needs to be set correctly:
– Allow volumes to expire: Should be set to *NO for your off-site location. One could select *YES
for a storage location that is physically located near the system such as the computer room or a
tape library.
Media Policy
Media slotting:
– *YES if media is to be filed and tracked by individual slot numbers at storage locations
– Media slotting is optional and can be used for some storage locations and not for others,
– *HOME is set to a media slotting value of * NO. VAULT is set to a media slotting value of
*YES.
Media Policy
– Media can be assigned a slot number when it is added to the BRMS/400 media inventory using
the Add Media to BRM (ADDMEDB RM) command.
– Slot numbers can be changed using the Change Media in BRM (CHGMEDBRM) command.
Media devices
Work with Devices using BRM (WRKDEVBRM) command shows all of the
devices and their associated type and model that are defined to BRMS/400.
For adding a device, it must already be defined to the system through the
device description (CRTDEV*) function.
WRKDEVBRM
Option 2- Change
Media classes
Media classes define the types of physical media that are used for
backup, archive, or recovery operations
WRKCLSBRM
Media classes
The media class for SAVSYS should not be shared .This is because
–You would not like to share your media with another system.
Move policy
Move policy
Once the volume has followed all the sequences in the move policy
and reached the home location, the move policy is removed from the
volume.
In addition, the volume will not have a move policy associated with
it. This normally occurs when the volume expires.
Move policy
Once the move policy is associated with the volume and media
movement is run (via maintenance ( STRMNTBRM MOVMED(*YES)
) or via media movement (MOVMEDBRM) commands), the logical
location of the volume will change.
Move policy
Example
Volumes are in a tape library, TAPMLB01, and will move to an on-site vault for 3 days and then
move off-site until they expire. Once they return, they will be placed back in the tape library.
Once the volume is moved to TAPMLB01, the move policy for that volume is changed to *NONE
Tips
If you are planning to use APPEND(*YES) as part of your backup policy, you
must make sure that the move policy keeps the tape on-site for enough
days.
Media policy
Media policy
Media policies are designed / created keeping in mind the retention period
and the media class that has to be used. So we can say Media Policy as a
function consisting both of them as an element
With the installation of BRMS/400, there are three default media policies:
– FULL (35 days retention) with a move policy of OFFSITE
– INCR (incremental, 14 days retention) with a move policy of *NONE
– ARCHIVAL (1725 days retention) with a move policy of *NONE
BRMS/400 policies
System Policy
– Whether to sign off interactive users before a backup or archive function is started, or specify a
list of users and devices that continue to remain active.
System Policy
– List of subsystems to check before performing an IPL. If any of the subsystems in the list are
active when an IPL is scheduled, BRMS/400 does not perform an IPL.
– Presentation controls such as characters used for full backup, incremental backups, and
defining the first day of the week
System Policy
Backup Policy
As with the system policy, you can also change the backup policy to tailor
some of the parameters based on your backup strategy.
Backup Policy
Backup Policy
– “*CUML” -- save all of the changes to the objects since the last full backup (SAVCHGOBJ with
default values)
– “*INCR”-- save the changes to the objects since the last incremental backup (SAVCHGOBJ
command with the reference date (REFDATE) and reference time (REFTIME) values)
Save access paths : save access paths associated with your physical and
logical files
Recommended : *YES
Drawback : System save may take longer time there by decreasing system
availability .
But it will be very difficult to restore the system if you do not save Access
Paths.
Append to media- specifies whether to add data files on existing media with
active files or to begin a new volume
“*YES” - files are written to the volume immediately following the last active
file
Backup Policy
Used to back up
– a single library,
– a group of related libraries,
– a set of objects or
– folders defined by a Backup List, and
– certain predefined components of the system such as configuration or security data.
It can also include special operations to tell the operator to load a new tape
or execute an exit program.
Backup Activity
It identifies which days of the week the backup list performs a backup and
whether the backup is a full (save entire object) or incremental (save
changed object) save.
*BKUGRP
*SYSGRP
Default control groups do not provide facility to hold a job and release certain
job queues or subsystems, or save spooled files.
Either change the default control groups or create a new to tailor how to
manage system during a BRMS/400 save
Specify the job queues that you may want to hold during the control group
processing
WRKCTLGBRM -> Option 10
One can also include a list of subsystems that you may want to shut down
and restart (if required) after the backup control group has completed
Backup Items
Special operations
*EXIT - perform user command processing
*LOAD - begin new tape
Special values
*ALLDLO - save the document library, all ASPs
*ALLUSR - save all user libraries
*ALLPROD - save all *PROD type libraries
*ALLTEST - save all *TEST type libraries
Backup Items
List Type
WRKLBRM
*YES Save object details for an entry in the backup items list. This allows
object retrieval from the backup history. Member level details are kept for
physical files in addition to object detail.
*OBJ Object detail is kept in the BRMS backup history. No member level
detail is kept.
Media can be enrolled into the BRMS/400 media inventory at any time. The
only requirement is that the media must be known to BRMS/400 prior to any
save or restore operation
ADDMEDBRM
ADDMEDBRM
ADDMLMBRM
Field Append(*YES)
Ensure volume availability onsite.
Selection for media is done for all devices
– Media Library – automatic
– Stand Alone – BRM1472 messages is issued specifying the suitable
volume
Selects an active volume that matches the requesting media policies, and the
volume must pass the following checks:
– Same expiration date
– Owned by the requesting system
– Same move policy
– Same secure attributes
Fails to find media of same EXP date then finds an earlier expired volume
starting with the earliest .All other test must match
If fails at previous point then contacts another server ( only if media library is
present ) through DDM
Media security
Save Libraries
SAVLIB LIB(*NONSYS) *IBM, *ALLUSR
40. All libraries other
than SAVLIB *IBM *IBM
system library
SAVLIB *ALLUSR *ALLUSR
41. All IBM libraries SAVCHGOBJ *ALLUSR *ALLUSR SAVACT *YES
other
than system library
42. All user libraries
43. All changed
objects
in user libraries
It produces reports for recovery analysis ,backup activity and expired media
STRMNTBRM
The STRMNTBRM command processes several other commands that can be run separately. These
include:
STRMNTBRM
STRMNTBRM
STRMNTBRM
VFYMOVBRM
Tapes should be verified after they have been actually moved to the other
location .
MOVMEDBRM
BRMS determines the location of media according to the move policy and
checks the location where it actually is.
If the two are different, it issues a move request to move the media to the
correct location.
MOVMEDBRM
STRBKUBRM
BRMS will automatically generate the control groups and media policies you
need to perform Lotus Server online backups
BRMS also dynamically creates backup link lists so that those same Lotus
Server databases can be excluded from other backups.
Default Lists
Default Lists
Default Lists
Default Lists
If you enter either the special value or link list name in an entry of your
control group, BRMS will dynamically generate a list of objects to include or
exclude from your save
How it works.
How it works.
In order to allow the collection of two backups into one entity, BRMS
and the Lotus Servers use a concept in BRMS called a package
(identified by the PKGID parameter on the SAVBRM command).
Lotus Servers will backup the databases while they are active, and
upon completion will back up a secondary file and associate it with
the first by using the package concept in BRMS.
How it works.
The secondary file contains all of the changes that occurred during the
backup, such as transaction logs or journal-type information.
How it works.
Example
10 *EXIT
20 *EXIT SAVDOMBRM SERVER(DOM1) CTLGRP(QLTSSVR)
30 *EXIT
CHKEXPBRM
WRKCFGSTS *DEV DSP*
WRKPCYBRM *MED *BKU *SYS
WRKMLBBRM
WRKMLMBRM
WRKMLBSTS
DSPTAPSTS
Questions ?
Thank You