SEP sesam provides efficient backup media management for all common physical media types (disk, tape, and cloud (object) storage). It also provides some specific tape management tasks and features for tape storage.
All tape management operations are recorded in the audit trail. For details, see Audit Logging.
- Barcodes can be used instead of tape labels in a tape library with barcode support.
- The inventory stores the list of known tapes (and their status information) and is checked by a process called archive adjustment. This compares the tape media in the loader with the SEP sesam media archive database.
- A saveset is a set of data, such as files and directories, copied to backup media by a backup or migration. The period for which a saveset is retained is defined by the retention time (EOL). You can verify savesets after the backup is complete by configuring a follow-up event.
- A tape drive is a device used to read and write data to a tape. They can be standalone drives or drives in the tape library.
- Tape labels are used to uniquely identify a tape. Each medium (a tape cartridge or a virtual tape) is given a unique label that is written to the beginning of a medium during initialization. The label consists of the pool name (e.g., DAY, WEEK, MONTH) and a five-digit number that is automatically assigned by SEP sesam to each medium in the selected pool. See Checking and Labeling Tape Media.
Some of the features are:
- Protection from overwriting savesets with expired retention when they are part of a backup chain, with a dependency-based retention strategy performed by automatic retention management.
- Media pools that enable you to group large sets of media according to your needs without having to worry about each individual medium.
- Spare pools prevent failed backups due to missing media.
- Recording and tracking of all media and their status: used capacity, EOL, user-defined write protection, etc.
- Barcode support.
- Media selection is triggered by setting events that execute media selection strategies, reinitialize media, and prepare media for scheduled backups. See Creating a Media Event.
- Support for EOM (End of Media): SEP sesam automatically requests new media from the appropriate media pool when the tape is full.
Tape storage configuration
SEP sesam can detect and automatically configure storage hardware in your environment if the hardware is supported and recognized by the operating system (it must be listed in the OS device manager), where the SEP sesam Server or Remote Device Server is installed. For a list of supported hardware, see Supported Storage Hardware.
There are certain types of loaders (also called tape library or autoloader) where the connection between loader and drives cannot be recognized automatically. You have to manually verify and configure such devices. You must also manually configure each backup device that is connected after the SEP sesam installation. For details, see Configuring a Loader.
Media pool configuration
With loaders, you set up a media pool that will be used to back up directly to tapes. All tapes managed by SEP sesam belong to a specific media pool. Once a pool is configured, four tabs are available in the media pool properties. For details on configuring a media pool, see Configuring a Media Pool.
- Media Pool
- It shows the Drive group and the Retention time [days] setting. The retention time of a media pool is used as the basis for determining the expiration date (EOL) of the backed up data. The retention time is applied to all tapes in the same media pool. During the retention period, SEP sesam does not overwrite the data on the tape. The tape media EOL follows a different logic than the individual savesets stored in a data store: the tape is not re-used until all savesets on it have expired. For more details, see the Tape availability and data-protection section below.
- Readability Check
- This check is used to verify the readability of the data on the tape and its structure, and to ensure that the savesets on the tape are recorded in the database and vice versa. For details, see Configuring a Readability Check.
- SEP sesam provides native support for managing LTO hardware-based encryption by enabling LTO encryption of tape drives at the media pool level. For details, see LTO Encryption and Encryption Support Matrix.
- These settings control the use and sharing of media across media pools. SEP sesam automatically selects the most appropriate media for backup based on the get_oldest strategy. You can specify how media are selected for backup based on the media allocation criteria, including using any suitable media for backup (unknown media and/or media with expired EOL) and using media from the SPARE (if configured) and/or another pool.
When there is a single media pool linked to a media event or schedule, the GET_OLDEST policy is always applied. This preserves the data on the media for as long as possible.
If the media event contains a specific label, the system will try to find it and load it into a drive. The autoloader magazine must be accessible to SEP sesam or the backup will be blocked.
The GET_OLDEST strategy determines which media to use next. The tape media are prioritized according to the following criteria:
- Media with expired media EOL (expired EOL of all savesets on tape).
- The oldest media – media with the oldest locked until date in the media pool.
- Media that is not write-protected (locked).
A spare pool is a media pool that you can configure to allow sharing of spare media across media pools; spare pools are used by media events when media from the actual pool cannot be accessed. Spare media are automatically moved from the compatible spare pool to the pool currently being accessed by the backup, eliminating the need for administrator intervention when media is unavailable. Migration of spare media to the working pools results in a dynamic increase of the media pool size, depending on the amount of data being backed up. The use of spare pools is optional.
A spare pool has some characteristics you should consider before using it.
- The name of a spare pool must begin with SPARE_.
- Each drive type requires its own compatible spare pool with free media.
- Is different from a regular pool and should not be used for allocation.
- You cannot move protected media to a spare pool.
Media are moved between a regular and spare pool on two occasions:
- If there are no more free media in the regular pool, SEP sesam allocates media from the spare pool and moves them to the regular pool.
- If all data on the medium expires (and the medium is in a regular pool), you can move it to the spare pool manually. Delete the medium from the regular pool and then add it to the spare pool through initialization or archive adjustment.
For details on configuring a spare pool, see Configuring a Media Pool – Spare Pool.
The tapes used by SEP sesam belong to one of the media pools. They are displayed in the Components -> Tapes -> Media view and Media Pools view.
- This view shows all media in a media pool, regardless of their online or offline state (loaded into the tape drive, or offloaded from the tape drive).
You need to initialize media (tape cartridges, removable drives, etc.) before you use them for backup. However, when adding new media using the options Accept without initialization and Automatically assign next number, initializing the media as a separate step is not required. SEP sesam initializes new media automatically when they are selected for a backup.
The initialization process writes unique identification information to the media used by SEP sesam for backup and restore operations. The identification label is placed at the beginning of the media during physical initialization and is used for identification during backups and restores. This information is entered into the SEP sesam database. SEP sesam keeps track of all media that are loaded into tape libraries and their status.
|LTO-9 tapes may cause backup failures or experience limited or no access. You have to manually initialize these tapes using the software provided by the LTO-9 drive/loader manufacturer before you can use them in SEP sesam. For details see Problems with LTO-9 tapes.|
To initialize media, go to Activities -> Immediate Start -> Media Action. Choose Media action init, select the Media Pool and the Media you want to initialize. Click OK to start the initialization of the media. Initializing media can also be configured to run automatically. For details, see Initializing media.
Adding new media
Select the media pool to which you want to add the media: In Components -> Media Pools, right-click the tape media pool you created earlier and click the New Media button. In the Adding a New Media window, specify the appropriate Media Pool, Drive, Type. By default, the options Accept without initialization and Automatically assign next number are selected so that SEP sesam can determine a sequential number for the label, initialize the cartridge and add the media to the database.
|When adding a large number of tapes to a loader at once, use the automatic method; fill the magazine with raw media and then go to Main Selection -> Loaders, right-click the target loader and select Archive adjustment. For details, see Setting up Archive Adjustment.|
Archive adjustment: Automatic introduction of a new tape
An archive adjustment is required whenever the contents of your loader have changed. Typically, you need to perform archive adjustment whenever new media or used media that have not yet been registered (initialized) by SEP sesam are inserted to identify unrecognized tapes. For details, see Setting up Archive Adjustment and Checking and Labeling Tape Media.
Migration creates an identical copy of the saveset data to a newly created saveset. It is only available after a backup has been performed. You can move either the original media or the copies offsite (to a safe location) for long-term data retention and keep the other set of media on site for restore/recovery purposes. For details, see Configuring Migration.
Used to check the readability of the data on the tape and its structure. The check involves reading the data on the tape media in blocks and checking and recording the structure of the tape. It also checks whether all backup sets on the tape are recorded in the database and vice versa.
- The readability check can be set up at the media pool level, configured by a special media event or started immediately. For details, see Configuring a Readability Check.
- The readability check can only be applied if the media EOL has not expired; it is not applicable to EOL-free media.
Checking and labeling tape media
Each medium, whether a tape cartridge or a virtual tape in a VTL, is given a unique label for identification purposes. The label is written to the beginning of the media during initialization. The media label consists of the pool name (e.g., DAY, WEEK, MONTH) and a five-digit number that is automatically assigned by SEP sesam to the respective media of the selected pool.
In the standalone tape drive environment it might happen that multiple tapes are incorrectly labeled with the same label. In this case, you have to manually identify the tape with the original label that was duplicated to resolve duplicate media label conflicts and avoid problems with potential data loss. For details, see Checking and Labeling Tape Media.
You can use Filter in the Components -> Tapes -> Media view to search and select media in a media pool or storage device. Filtering can be done based on the EOL, i.e. by specifying the availability of the tape in time. Filtering helps you find and select specific media without having to search the entire media list.
Setting the write protection
By default, write protection is disabled for all media in SEP sesam, as it is recommended not to use write-protected media with SEP sesam. However, you can switch on write protection manually in the media properties (Properties 1 - Write protection).
When write protection is enabled, media that is currently in use will be used for further write operations (backup, migrations) until it is filled or other media is initiailized for this pool and drive. Write-protected media will not be initialized even after their EOL expired.
When you no longer need the data stored on the tape, you can delete the tapes. There are two ways to delete data: normal Delete by clicking the Delete button or checking the special checkbox Delete all metadata and re-initialize tape.
- Normal deletion removes the metadata of the tape and deletes the media from the SEP sesam database.
- Selecting the checkbox Delete all metadata and re-initialize tape and then clicking the Delete button deletes all metadata of the tape media and initializes the tape provided that the tape is available to SEP sesam; if it is, the tape is loaded into a drive and physically deleted, removing access to all existing data on the tape.
|You cannot delete tapes with an existing EOL. To delete such tapes, you have to expire their EOL and remove the protection. For details, see Expire tape below.|
Creating a media event
A media event can be a user-defined event or an internal event created by SEP sesam. For example, if the specified media are not available when a backup is started, or if the end of media (EOM) is reached during data transfer, SEP sesam creates an internal media event that determines the next media for the backup.
SEP recommends performing regular media-related checks, such as the readability check and archive adjustment, to ensure optimal media selection and preparation for backup. Readability check can be set when configuring a media pool (or later in the media pool properties) or triggered by a media event. For details, see Configuring a Readability Check and Creating a Media Event.
|You can specify a media event with media initialization to reinitialize the tapes as soon as EOL expires. This is useful when you need to fulfill the GDPR requirements.|
Monitoring media actions
You can monitor media-related events for the selected media in the Media view (double-click to open Media properties) in GUI or use Web UI (-> Monitoring) to check the details of all performed media events (event type: initialize, purge, readcheck..., status, start time, duration etc.). For more details, see Monitoring and Reporting.
Viewing tape properties
You can view the properties of all media used by SEP sesam in the Components -> Tapes -> Media view. The Properties window displays characteristics, such as the media label, barcode, write protection status (on/off), storage location, media type, corresponding media pool, etc.
Double-clicking the selected medium opens the Media Properties window, where you can view and edit some of the tape media properties. For example, in the Properties 2 view you can check the tape occupancy – the size of the currently stored data and the total tape capacity (note that tape capacity depends on tape capability (a tape type can have different write densities in different tape drives), encryption and compression), and also change any of the following options:
- Properties 1: Write protection, Locked until, Loader, and Slot (better use archive adjustment!)
- Savesets: Backup EOL, Locked. Double-clicking the task (saveset) opens the corresponding saveset window with additional information:
- Info 1: Information about saveset, backup level, drives, backup EOL, etc.
- Info 2: Information about media number, backup source, SBC start and run time, status of encryption and compression, etc.
- Main Log: The log of events that occur during a backup job (startup/shutdown information, errors, etc.), including EOL change, depending on the configured log level.
- Trace log: Detailed information about the backup process (depending on the configured log level) that can be used for analysis and debugging purposes.
- Savesets: Lists all currently saved backups; see also the next section Viewing savesets on tapes. To learn how to check the backup dependencies, see Backup Chain Dependencies.
Note The Trace log tab is only available in Advanced UI mode. If you are running the GUI in Basic UI mode, you must first change the mode to Advanced as described in Selecting the UI mode.
Viewing savesets on tapes
You can use the saveset tree view in Media view (double-click to open Media properties -> tab Savesets -> double-click the task -> tab Savesets) to determine dependencies and EOL of an FDI backup chain. This information is useful if you intend to shorten or extend the EOL parameter to avoid breaking the backup chain.
The saveset tree overview displays details of a saveset along with potentially dependent savesets that belong to the same backup chain. It provides instant information about the location and status of savesets available for restore. By checking the summary, e.g., availability 5, you can search for savesets that are not readily available and then migrate them to enable mounting and selective restore. For more details, see Backup Chain Dependencies.
Saving backup metadata on tape
Saving backup metadata on tape allows backup administrators to store critical information about a backup on the tape, which can be used for restoring data in the event of a disaster or data loss. Backup metadata information includes meta file archive (LIS/SGM/DB entries) and can be used to recreate DB entries that are required for FULL restore.
This feature is recommended because it provides an extra layer of protection against data loss or corruption. Storing backup metadata on a tape ensures that the necessary information to restore the data is available even if complete sesam server is lost and there is no SESAM_BACKUP on tape.
The global variable gv_conf_no_info_upload_sms is used to control default behaviour of this option. To enable saving the backup metadata on tape:
- Open the global settings in the GUI: In the menu bar, click Configuration -> Defaults -> Settings.
- Select the global variable gv_conf_no_info_upload_sms and click Edit.
- Set the value to 0 and click OK.
Tape availability and retention
Typically, you specify a retention time for data when creating a media pool. This retention time is used as the basis for determining the EOL (End of Lifetime) for backed up data. It specifies the time period for which the backed up data is protected after has been written to the media, so that the savesets are preserved and available for restore. The retention time period begins on the date a saveset is written to the media and defines the expiration date (EOL) after which the saveset can be deleted. When the protection expires, SEP sesam can re-use the media for new backups.
There are some special rules for tape media retention: The tape media EOL always corresponds to the maximum retention time (the longest EOL) identified on the tape; if a tape contains multiple savesets, it will expire when the saveset with the longest EOL expires. Only when the retention time of all savesets on the tape has expired and the tape is no longer locked (write-protected) can the tape be used again.
|The tape media EOL may also depend on savesets that are not stored on the same tape. This is the case if the tape contains savesets that reference FULL/DIFF/INCR savesets stored on other media or even data stores. For this reason, SEP sesam maintains control over dependencies between individual backup savesets and provides dependency-based automatic retention (EOL) management. That is, if a tape contains a saveset that is part of a backup chain that spans from one tape to another tape or disk storage, it will not expire until the saveset with the longest EOL expires.|
|The tape media EOL can be checked in the Media view (Components -> Tapes -> Media) as Media EOL and in the media properties as setting Locked until.|
Changing tape EOL
It is not recommended to adjust EOL manually. This will override the EOL defined by the retention time (in the media pool configuration). Manual EOL adjustment should be used for special cases and exceptions, e.g., to increase the retention time of a specific backup chain that needs to be kept longer than defined by the current EOL, or to re-use the tapes with outdated data by setting a shorter retention time.
|Extending the backup EOL of savesets stored on tape media may extend the EOL of the tape media!
To decrease or increase the tape media EOL, you can adjust the media EOL (identified by the tape label and displayed in the Media view in the Media EOL column) or change the Locked until setting in tape properties. The extended EOL can affect all savesets on the tape.
|If the tape media EOL date has been reached, but you do not want to reuse the tape, you can simply lock the tape by setting Write Protection to On in the media properties.
You can erase tape media containing data you no longer need when the EOL of all savesets stored on the tape has expired and the tape is not locked (write-protected). To do this, use the Expire function:
- Media view -> select one or more tape(s) from the list by holding the CTRL key and clicking the selected media -> right-click -> Expire Media.
- Media view -> double-click the tape in the list to open its properties -> click the button Expire Media.
When the protection expires, SEP sesam can use the tape for backups again. Unlike the Delete function, expiring the tape only removes the metadata of the tape; the tape media is not removed from the SEP sesam database. Clicking the button Expire Media opens a dialog with the following options:
- Delay deletion until next purge marks the tape for deletion according to the selected deletion option. The deletion is not started immediately but is postponed until the next purge.
- Delete all metadata removes the tape's metadata but leaves the tape media listed in the database.
- Delete all metadata and re-initialize tape deletes all metadata of the tape media and initializes the tape (if the tape is loaded into a drive), removing access to all existing data on the tape.
Setting tape media rotation strategy
Backup tape rotation is an essential part of any backup plan. There are many tape media rotation strategies you can use to back up your data. Perhaps the best known is the GFS backup rotation strategy, where backups are rotated daily. While this strategy has proven to be efficient, its main drawback is that the backups are only stored on tapes, so GFS does not provide optimal protection against data loss. For more information on how to successfully protect your environment, see Backup Strategy Best Practices.
Restore data from tape media without SEP sesam DB
There are two ways to restore SEP sesam Server from tape via sbc when SEP sesam database is not available:
Managing Devices and Media – Setting up Archive Adjustment – Configuring a Readability Check – Configuring a Media Event – Automatic Retention (EOL) Management – GFS Backup Retention Strategy – Backup Strategy Best Practices