Source:FAQ - Encryption & Compression/en: Difference between revisions

From SEPsesam
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 34: Line 34:


<ol><li>Display a list of attached SCSI devices.</li>
<ol><li>Display a list of attached SCSI devices.</li>
<tt>slu topology</tt> is a SEP sesam SCSI loader utility that provides information about the loaders and drives connected to the system and their relation. To be able to run the SEP sesam commands globally, you must first set up a profile as described in [[Special:MyLanguage/FAQ#profile_setting|FAQ: What happens when I set a profile?]]<br />
<tt>slu topology</tt> is a SEP sesam SCSI loader utility that provides information about the loaders and drives connected to the system and their relation. To be able to run the SEP sesam commands globally, you must first set up a profile as described in [[Special:MyLanguage/4_4_3_Beefalo:FAQ#profile_setting|FAQ: What happens when I set a profile?]]<br />
Then run <tt>slu topology</tt> to list all attached SCSI devices as follows:
Then run <tt>slu topology</tt> to list all attached SCSI devices as follows:



Revision as of 11:33, 20 September 2021

Other languages:

What encryption types are available with SEP sesam?

SEP sesam provides data encryption types on different levels: backup-task encryption for savesets (set in the backup task), Si3 encryption for Si3 deduplication store, and hardware-based LTO encryption for LTO tape drives (generation 4 and higher), which is done on a media pool level. For every encryption you must create and store an encryption key.

How to encrypt an Si3 deduplication store?

You can encrypt an Si3 deduplication store by creating the deduplication security password file and specifying it in the relevant drive properties. If the encryption key is not available, the Si3 encrypted data cannot be read. For details, see Encrypting Si3 Deduplication Store.

When encryption is selected before transferring data to the server, does SEP sesam perform compression before encrypting the data?

Data encrypted by the system and transferred to the server will be compressed if stored to tape using the manufacturer's compression algorithms.

Where is the encryption key stored?

The encryption key is stored in the SEP sesam database. If the encryption key is changed, the subsequent task will be executed with the new key and the new key will be stored in the SEP sesam database.

A restore uses the stored encryption key.

How to set compression?

Compression for backup to virtual tape media

To activate compression for backing up to a Path data store, modify the file sms.ini under /var/opt/sesam/var/ini/ on the RDS. The Compresslevel option under the caption [SMS_Server] can be enabled with

Compresslevel=1

Note that Si3 deduplication store always uses compression for the deduplicated data.

Compression on tape drives

Compression is done by the drive itself. Use the SEP sesam tool slu to check whether compression is activated or deactivated.

  1. Display a list of attached SCSI devices.
  2. slu topology is a SEP sesam SCSI loader utility that provides information about the loaders and drives connected to the system and their relation. To be able to run the SEP sesam commands globally, you must first set up a profile as described in FAQ: What happens when I set a profile?
    Then run slu topology to list all attached SCSI devices as follows: <SESAM_BIN>/sesam/slu topology For details on the output, see Using slu topology for detecting devices.
  3. Check the tape drive settings:
  4. [root@sinus sesam]# ./slu 0020 -s Tape Info Read Attribute not supported internal_status_byte= 0x0 buffered_mode= 1 block_length= 0 (variable) media_type= unknown (0) write_protect= 0 density_code= 44 compression= 1 STATUS= SUCCESS MSG= "OK" If compression is set to 1, drive compression is active. Setting the compression can also be done with slu or alternatively with the Linux tool mt.
  5. Activate compression:
  6. [root@sinus sesam]# slu 0020 -c 1 DCE= 1 DATA COMPRESSION ENABLE:1 TRY MODE SELECT (6) SET COMPRESSION DCE compression= 1 DONE MODE SELECT (6) SET COMPRESSION DCE STATUS= SUCCESS MSG= "OK" On Windows systems, check if the compression is enabled in the Device Options. When performing a check, make sure that the tape is in the drive. Tape-compression.jpg


Usage

This template is included in the FAQ and other sections describing GUI info.