Source:Restore from tape via SBC without a valid SEP sesam database: Difference between revisions
(Minor correction.) |
|||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Copyright SEP AG en}} | <translate><!--T:1--> | ||
<noinclude><div class="noprint"><languages /> | |||
{{Copyright SEP AG|en}} | |||
{{Draft}} | |||
<!--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== <!--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><!--T:4--> Additional resources</translate></b></center> | |||
== | {|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;" | ||
| rowspan="2" style="padding:0px 10px 0px;" | | |||
[[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> | |||
<!--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> | |||
|} | |||
== | {|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;" | ||
| 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> | |||
<!--T:6--> | |||
Check [[Special:MyLanguage/FAQ#restore|FAQ]] to find the answers to most common questions.</translate> | |||
|} | |||
{ | {|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;" | ||
| 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> | |||
<!--T:7--> | |||
Problems? See the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate> | |||
|}</div> | |||
<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=== <!--T:9--></translate> | |||
*<translate><!--T:10--> Operating system with working tape drive or loader device.</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--> | |||
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== <!--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>. | |||
=== {{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> | ||
<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>}} | |||
</noinclude><translate> | |||
<!--T:31--> | |||
[[Image:sms4.jpg|link=]]</translate> | |||
<br clear=all> | |||
<translate><!--T:18--> Obtain the required information from the output as shown in the example below:</translate> | |||
*<translate><!--T:19--> The first number in the highlighted line is the ''segment number''; in our example: </translate> ''4''. | |||
*<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:32--> The ''TapeID'' in the header displays the ''<tape_id>''; in our example: </translate> (''1'') | |||
<noinclude> | |||
<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''' | |||
''' | {{<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> | |||
== See also == | *<translate><!--T:25--> | ||
[[Special:MyLanguage/SBC_CLI|SBC CLI]] | '''''<storage_host>''''' is the SEP sesam Server or Remote Device Server (RDS) with the attached medium. | ||
<!--T:35--> | |||
[[Image:Restore.jpg|link=]] | |||
</translate><br clear=all> | |||
</ol> | |||
<translate> | |||
== See also == <!--T:27--> | |||
[[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