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

From SEPsesam
mNo edit summary
mNo edit summary
Line 57: Line 57:
*<translate>'''''<storage_host>''''' can be the SEP sesam Server or Remote Device Server (RDS) with the attached medium.
*<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>
{{Note|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=]]
[[Image:Restore.jpg|link=]]

Revision as of 12:38, 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.

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

Prerequisites

  • Set operating system (OS) with working tape drive or loader device.
  • 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 (backed up SEP sesam's <SESAM_VAR> and <SESAM_ROOT>/bin/sesam directories).

Restoring from tape via sbc command

In order to restore the SEP sesam Server from tape by using the sbc command, 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

    Important information from the output:

    • Segment number (4)
    • Saveset name (SC20090610105624)
    • Tape label (cefix00001)
    • Tape ID (1)
  3. Restore the saveset by using the 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
    • <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.
    Information sign.png Note
    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