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

From SEPsesam
(Minor correction.)
(Minor correction.)
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<translate><noinclude><div class="noprint"><languages />
<translate><!--T:1-->
<noinclude><div class="noprint"><languages />
{{Copyright SEP AG|en}}
{{Copyright SEP AG|en}}
{{Draft}}


{{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 />
<!--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 />


<translate>==Overview==</translate>
<translate>==Overview== <!--T:3--></translate>
<div class="noprint"><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>Additional resources</translate></b></center>
<div class="noprint"><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate><!--T:4--> Additional resources</translate></b></center>


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
Line 11: Line 14:
[[File:SEP_next.png|45px|link=Special:MyLanguage/SBC_CLI|SBC CLI]]
[[File:SEP_next.png|45px|link=Special:MyLanguage/SBC_CLI|SBC CLI]]
| 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>
See also: [[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]]</translate>
<!--T:5-->
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 17: Line 21:
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ#restore|FAQ]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ#restore|FAQ]]
| 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:6-->
Check [[Special:MyLanguage/FAQ#restore|FAQ]] to find the answers to most common questions.</translate>
Check [[Special:MyLanguage/FAQ#restore|FAQ]] to find the answers to most common questions.</translate>
|}
|}
Line 23: Line 28:
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| 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: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>This article describes, how to restore the SEP sesam Server from tape via <tt>sbc</tt> without the program <tt>sm_recover</tt>. For details on ''SBC CLI'' usage and available commands, see [[Special:MyLanguage/SBC_CLI|SBC CLI]].</translate>
<translate><!--T:8-->
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===
===Prerequisites=== <!--T:9--></translate>
*<translate>Installed SEP sesam Server (identical version to the preceding system). For details on installation, see [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]].</translate>
*<translate><!--T:10--> Operating system with working tape drive or loader device.</translate>
*<translate>A medium that contains correctly saved <tt>SESAM_BACKUP</tt> (backed up SEP sesam's <tt><SESAM_VAR></tt> and <tt><SESAM_ROOT>/bin/sesam</tt> directories).
*<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-->
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>]].


== {{anchor|restore}}Restoring from the tape via <tt>sbc</tt> command ==
==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>.


In order to restore the SEP sesam Server from tape by using the <tt>sbc</tt> command, proceed as follows:</translate>
=== {{anchor|sm_sms}}Listing the savesets on the tape via <tt>sm_sms_interface</tt> === <!--T:29-->
<ol><li><translate>Display the existing savesets on the tape via <tt>sm_sms_interface</tt>:</translate></li>


{{<translate>note</translate>|<translate>On Windows, replace the tape device identifier (<tt>/dev/nst0</tt>) with the corresponding Windows device (<tt>Tape0</tt>).</translate>}}
<!--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>
<ol><li><translate><!--T:15-->
Insert the tape with the <tt>SESAM_BACKUP</tt> backup savesets and identify the savesets on the tape device by using the command:</translate></li>
sm_sms_interface dir -d <tape_device>
{{<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>}}


[[Image:sms4.jpg|link=]]
</noinclude><translate>
<!--T:31-->
[[Image:sms4.jpg|link=]]</translate>
<br clear=all>
<br clear=all>


<translate>Important information from the output:</translate>
<translate><!--T:18--> Obtain the required information from the output as shown in the example below:</translate>
*<translate>Segment number</translate> (''4'')
*<translate><!--T:19--> The first number in the highlighted line is the ''segment number''; in our example: </translate> ''4''.
*<translate>Saveset name</translate> (''SC20090610105624'')
*<translate><!--T:20--> The ''SavesetName'' is SEP sesam unique identification assigned to a saveset; in our example:</translate> ''SC20090610105624''.
*<translate>Tape label</translate> (''cefix00001'')
*<translate><!--T:21--> The ''Tapelabel'' in the header displays the ''<tape_name>''; in our example: </translate> ''cefix00001''.
*<translate>Tape ID</translate> (''1'')
*<translate><!--T:32--> The ''TapeID'' in the header displays the ''<tape_id>''; in our example: </translate> (''1'')
 
<noinclude>
<li><translate>Restore the saveset by using the <tt>sbc command</tt>:</translate></li>  
<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</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>'''''<control_host>''''' is always the SEP sesam Server.</translate>
{{<translate><!--T:36--> Note</translate>|
*<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>
*<translate><!--T:38--> 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>'''''<storage_host>''''' can be the SEP sesam Server or Remote Device Server (RDS) with the attached medium.
*<translate><!--T:25-->
 
'''''<storage_host>''''' is the SEP sesam Server or Remote Device Server (RDS) with the attached medium.
In our example, the command overwrites existing data files (<tt>-o overwrite</tt>)! If you do not want to overwrite the files, make sure to remove the ''overwrite'' option. You can also change the restore target with the <tt>-R <path></tt>.</translate>


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


<translate><noinclude>
<translate>
== See also ==
== See also == <!--T:27-->
[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]]</noinclude></translate>
[[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