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

From SEPsesam
(Removed incorrect info (proposed by EE).)
(Updated and prepared for translation.)
Line 1: Line 1:
{{Copyright SEP AG en}}
<translate><noinclude><div class="noprint"><languages />
{{Copyright SEP AG|en}}


Restore with SESAM Backup from tape without sm_recover.
{{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 />


== Goals ==
<translate>==Overview==</translate>
Restore of a SESAM server without sm_recover only with sbc directly off a tape.
<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>


== Prerequisite ==
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
1) Correctly set up OS with working Tape drive or loader device
| rowspan="2" style="padding:0px 10px 0px;" |
2) Correctly installed SEP Sesam server (identical version to the preceding system)
[[File:SEP_next.png|45px|link=Special:MyLanguage/SBC_CLI|SBC CLI]]
3) Medium which contains a corretly saved SESAM-BACKUP
| 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>
|}


== Displaying the savesets on the tape via sm_sms_interface ==
{|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>
Check [[Special:MyLanguage/FAQ#restore|FAQ]] to find the answers to most common questions.</translate>
|}


{{note|In case of a Windows System replace the tape device identifier (/dev/nst0) with the corresponding Windows Device (Tape0)}}
{|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>
Problems? See the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
|}</div></noinclude>
<translate>This article describes, how to restore the SEP sesam Server from tape via ''SBC CL'' without the program <tt>sm_recover</tt>. For details on ''SBC CLI'' usage and available commands, see [[Special:MyLanguage/SBC_CLI|SBC CLI]].</translate>


===Prerequisites===
*<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>A medium that contains correctly saved <tt>SESAM_BACKUP</tt>.


[[Image:sms4.jpg]]
== {{anchor|restore}}Restoring the <tt>SESAM_BACKUP</tt> via SBC ==


Important information here:
In order to restore the <tt>SESAM_BACKUP</tt> (backed up SEP sesam's <tt><SESAM_VAR></tt> and <tt><SESAM_ROOT>/bin/sesam</tt> directories) from tape via SEP sesam SBC CLI, proceed as follows:</translate>
1) Segment number (4)
<ol><li><translate>Display the existing savesets on the tape via <tt>sm_sms_interface</tt>:</translate></li>
2) Saveset name (SC20090610105624)
3) Tape Label (cefix00001)
4) Tape ID (1)


== Restore of the saveset via sbc ==
{{<translate>note</translate>|<translate>On Windows, replace the tape device identifier (<tt>/dev/nst0</tt>) with the corresponding Windows device (<tt>Tape0</tt>).</translate>}}


{{note|The example command overwrites existing data files (-o overwrite)! Be sure to remove that option if you do not want to overwrite files. Also, the restore target can be changed with -R <path>}}
[[Image:sms4.jpg|link=]]
<br clear=all>


<translate>The following information from the output is important:</translate>
*<translate>Segment number</translate> (''4'')
*<translate>Saveset name</translate> (''SC20090610105624'')
*<translate>Tape label</translate> (''cefix00001'')
*<translate>Tape ID</translate> (''1'')


[[Image:Restore.jpg]]
<li><translate>Restore the saveset by using the command:</translate></li>  
[[Image:restore_suc.jpg]]
Restore is done with the sbc command which contains the following information:
'''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 <segmentnummer> -R / -o overwrite'''


'''control_host''' is always the Sesam server itself
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'''


'''storage_host''' can be the Sesam server or a Remote Device Server (RDS), where the medium is attached at.
*<translate>'''''control_host''''' is always the SEP sesam Server.</translate>


*<translate>'''''storage_host''''' can be 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>
[[Image:Restore.jpg|link=]]
<br clear=all>
</ol>
<translate><noinclude>
== See also ==
== See also ==
[[Special:MyLanguage/SBC_CLI|SBC CLI]]
[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Restore|Restore]]</noinclude></translate>

Revision as of 13:22, 4 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.

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 CL without the program sm_recover. For details on SBC CLI usage and available commands, see SBC CLI.

Prerequisites

  • Installed SEP sesam Server (identical version to the preceding system). For details on installation, see SEP sesam Quick Install Guide.
  • A medium that contains correctly saved SESAM_BACKUP.

Restoring the SESAM_BACKUP via SBC

In order to restore the SESAM_BACKUP (backed up SEP sesam's <SESAM_VAR> and <SESAM_ROOT>/bin/sesam directories) from tape via SEP sesam SBC CLI, proceed as follows:

  1. Display the existing savesets on the tape via sm_sms_interface:
  2. Information sign.png Note
    On Windows, replace the tape device identifier (/dev/nst0) with the corresponding Windows device (Tape0).

    Sms4.jpg

    The following information from the output is important:

    • Segment number (4)
    • Saveset name (SC20090610105624)
    • Tape label (cefix00001)
    • Tape ID (1)
  3. Restore the saveset by using the 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
    • control_host is always the SEP sesam Server.
    • storage_host can be the SEP sesam Server or Remote Device Server (RDS) with the attached medium.
    In our example, the command overwrites existing data files (-o overwrite)! 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 -R <path>. Restore.jpg


See also

SBC CLIRestore