Source:Restore from tape via SBC without a valid SEP sesam database: Difference between revisions
(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]] | {{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 | |}</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 | <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>| | ||
*<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><!--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> | ||
<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