Source:Restore from tape via SBC without a valid SEP sesam database: Difference between revisions

From SEPsesam
(Update in progress)
(Minor correction.)
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:


<!--T:2-->
<!--T:2-->
{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo V2'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation|Documentation archive]].}}</translate></div><br />
{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo V2'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation|Documentation archive]]}}</translate></div><br />


<translate>==Overview== <!--T:3--></translate>
<translate>==Overview== <!--T:3--></translate>
Line 15: Line 15:
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:5-->
<!--T:5-->
See also: [[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]]</translate>
See also: [[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]] – [[Special:MyLanguage/SEP_sesam_Configuration_–_First_Steps#disaster_recovery|Configuring <tt>SESAM_BACKUP</tt>]] – [[Special:MyLanguage/FAQ#tape_media|FAQ: How to restore all the data from tape media without the SEP sesam DB]]</translate>
|}
|}


Line 30: Line 30:
<!--T:7-->
<!--T:7-->
Problems? See the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
Problems? See the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
|}</div></noinclude>
|}</div>
<translate><!--T:8-->
<translate><!--T:8-->
This article describes how to restore the SEP sesam Server from tape via <tt>sbc</tt> without using <tt>sm_recover</tt>. For details on ''SBC CLI'' usage and available commands, see [[Special:MyLanguage/SBC_CLI|SBC CLI]].
This article describes how to restore the SEP sesam Server from tape via <tt>sbc</tt> without using [[Special:MyLanguage/FAQ#tape_media|<tt>sm_recover</tt>]]. For details on ''SBC CLI'' usage and available commands, see [[Special:MyLanguage/SBC_CLI|SBC CLI]].


===Prerequisites=== <!--T:9--></translate>
===Prerequisites=== <!--T:9--></translate>
Line 38: Line 38:
*<translate><!--T:11--> 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 [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]].</translate>
*<translate><!--T:11--> 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 [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]].</translate>
*<translate><!--T:12-->
*<translate><!--T:12-->
A medium that contains correctly saved <tt>SESAM_BACKUP</tt> (containing <tt><SESAM_VAR></tt> and <tt><SESAM_ROOT>/bin/sesam</tt> directories).
A medium that contains correctly saved <tt>SESAM_BACKUP</tt> (containing <tt><SESAM_VAR></tt> and <tt><SESAM_ROOT>/bin/sesam</tt> directories). For details, see [[Special:MyLanguage/SEP_sesam_Configuration_–_First_Steps#disaster_recovery|Configuring <tt>SESAM_BACKUP</tt>]].


==Restore procedure==
==Restore procedure== <!--T:28-->
The restore of the SEP sesam Server described below is a two-step procedure consisting of determining the required saveset information and restoring via <tt>sbc</tt>.
The restore of the SEP sesam Server described below is a two-step procedure consisting of determining the required saveset information and restoring via <tt>sbc</tt>.


=== {{anchor|sm_sms}}Listing the savesets on the tape via <tt>sm_sms_interface</tt> ===
=== {{anchor|sm_sms}}Listing the savesets on the tape via <tt>sm_sms_interface</tt> === <!--T:29-->


<!--T:30-->
Use the <tt>sm_sms_interface</tt> command to access the [[Special:MyLanguage/SEP_sesam_Glossary#SMS|SMS Server]] and identify the available savesets on tape.</translate>  
Use the <tt>sm_sms_interface</tt> command to access the [[Special:MyLanguage/SEP_sesam_Glossary#SMS|SMS Server]] and identify the available savesets on tape.</translate>  
<ol><li><translate><!--T:15-->
<ol><li><translate><!--T:15-->
Line 51: Line 52:
{{<translate><!--T:16--> note</translate>|<translate><!--T:17--> On Windows, replace the tape device identifier (<tt>/dev/nst0</tt>) with the corresponding Windows device (<tt>Tape0</tt>).</translate>}}
{{<translate><!--T:16--> note</translate>|<translate><!--T:17--> On Windows, replace the tape device identifier (<tt>/dev/nst0</tt>) with the corresponding Windows device (<tt>Tape0</tt>).</translate>}}


<translate>
</noinclude><translate>
<!--T:31-->
[[Image:sms4.jpg|link=]]</translate>
[[Image:sms4.jpg|link=]]</translate>
<br clear=all>
<br clear=all>
Line 59: Line 61:
*<translate><!--T:20--> The ''SavesetName'' is SEP sesam unique identification assigned to a saveset; in our example:</translate> ''SC20090610105624''.
*<translate><!--T:20--> The ''SavesetName'' is SEP sesam unique identification assigned to a saveset; in our example:</translate> ''SC20090610105624''.
*<translate><!--T:21--> The ''Tapelabel'' in the header displays the ''<tape_name>''; in our example: </translate> ''cefix00001''.
*<translate><!--T:21--> The ''Tapelabel'' in the header displays the ''<tape_name>''; in our example: </translate> ''cefix00001''.
*<translate>The ''TapeID'' in the header displays the ''<tape_id>''; in our example: </translate> (''1'')
*<translate><!--T:32--> The ''TapeID'' in the header displays the ''<tape_id>''; in our example: </translate> (''1'')
 
<noinclude>
<translate>
<translate>
=== {{anchor|sbc}}Restoring from tape via <tt>sbc</tt>=== </translate>
=== {{anchor|sbc}}Restoring from tape via <tt>sbc</tt>=== <!--T:33--> </translate>


<li><translate><!--T:23--> Restore the saveset by using the following <tt>sbc command</tt>:</translate></li>  
<li><translate><!--T:23--> Restore the saveset by using the following <tt>sbc</tt> command:</translate></li>  
  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'''
  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'''


<translate>
{{<translate><!--T:36--> Note</translate>|
{{Note|
*<translate><!--T:37--> In our example, the command overwrites the existing data files (<tt>-o overwrite</tt>)! Make sure to remove the ''overwrite'' option if you do not want to overwrite the files.</translate>
*In our example, the command overwrites the existing data files (<tt>-o overwrite</tt>)! Make sure to remove the ''overwrite'' option if you do not want to overwrite the files.  
*<translate><!--T:38--> You can change the restore target by specifying <tt>-R <restore_target></tt>.</translate>}}
*You can change the restore target by specifying <tt>-R <restore_target></tt> .}}</translate>
*<translate><!--T:24--> '''''<control_host>''''' is the name of the SEP sesam Server.</translate>
*<translate><!--T:24--> '''''<control_host>''''' is the name of the SEP sesam Server.</translate>


Line 76: Line 77:
'''''<storage_host>''''' is the SEP sesam Server or Remote Device Server (RDS) with the attached medium.
'''''<storage_host>''''' is the SEP sesam Server or Remote Device Server (RDS) with the attached medium.


<!--T:35-->
[[Image:Restore.jpg|link=]]
[[Image:Restore.jpg|link=]]
</translate><br clear=all>
</translate><br clear=all>
</ol>
</ol>


<noinclude><translate>
<translate>
== See also == <!--T:27-->
== See also == <!--T:27-->
[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]]</translate></noinclude>
[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]] – [[Special:MyLanguage/SEP_sesam_Configuration_–_First_Steps#disaster_recovery|Configuring <tt>SESAM_BACKUP</tt>]] – [[Special:MyLanguage/FAQ#tape_media|FAQ: How to restore all the data from tape media without the SEP sesam DB]]</translate></noinclude>

Revision as of 12:59, 7 December 2020

Other languages:

Copyright © SEP AG 1999-2024. 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.

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.


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


Overview

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.

Prerequisites

  • 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.

  1. Insert the tape with the SESAM_BACKUP backup savesets and identify the savesets on the tape device by using the command:
  2. 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).

    Sms4.jpg

    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

  3. Restore the saveset by using the following sbc command:
  4. 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.

    Restore.jpg

See also

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