Restore from tape via SBC without a valid SEP sesam database

From SEPsesam
Other languages:

Copyright © SEP AG 1999-2023. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo/5.0.0 Jaglion. For previous documentation version(s), check Documentation archive.


This article describes how to restore the SEP sesam Server from tape via sbc without using sm_recover. For details on SBC CLI usage and available commands, see SBC CLI.


  • Operating system with working tape drive or loader device.
  • Installed SEP sesam Server (identical version to the preceding system): Install the same SEP sesam Server package that was installed on the old system and set up the new server system in the same way as the previous one. For details on installation, see SEP sesam Quick Install Guide.
  • A medium that contains correctly saved SESAM_BACKUP (containing <SESAM_VAR> and <SESAM_ROOT>/bin/sesam directories). For details, see Configuring SESAM_BACKUP.

Restore procedure

The restore of the SEP sesam Server described below is a two-step procedure consisting of determining the required saveset information and restoring via sbc.

Listing the savesets on the tape via sm_sms_interface

Use the sm_sms_interface command to access the SMS Server and identify the available savesets on tape. Insert the tape with the SESAM_BACKUP backup savesets and identify the savesets on the tape device by using the command:

sm_sms_interface dir -d <tape_device>
Information sign.png Note
On Windows, replace the tape device identifier (/dev/nst0) with the corresponding Windows device (Tape0).


Obtain the required information from the output as shown in the example below:

  • The first number in the highlighted line is the segment number; in our example: 4.
  • The SavesetName is SEP sesam unique identification assigned to a saveset; in our example: SC20090610105624.
  • The Tapelabel in the header displays the <tape_name>; in our example: cefix00001.
  • The TapeID in the header displays the <tape_id>; in our example: (1)

Restoring from tape via sbc

Restore the saveset by using the following sbc command:

sbc -r -l FULL -C <control_host>:11001 -S <storage_host>:11001 -d SMS:<tape_device> -t <tape_name>:<tape_id> -s <saveset_id> -n <segment_number> -R / -o overwrite
Information sign.png Note
  • In our example, the command overwrites the existing data files (-o overwrite)! Make sure to remove the overwrite option if you do not want to overwrite the files.
  • You can change the restore target by specifying -R <restore_target>.
  • <control_host> is the name of the SEP sesam Server.
  • <storage_host> is the SEP sesam Server or Remote Device Server (RDS) with the attached medium.


See also

SBC CLIRestoreConfiguring SESAM_BACKUPFAQ: How to restore all the data from tape media without the SEP sesam DB