Source:Restore from tape via SBC without a valid SEP sesam database
From SEPsesam
Other languages:
- Deutsch
- English
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.
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. |
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
See also: SBC CLI – Restore |
Check FAQ to find the answers to most common questions. |
Problems? See the Troubleshooting Guide. |
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:
- After the tape has been inserted, list all the savesets on the tape device by using the command: sm_sms_interface dir -d <tape_device>
- Segment number (4)
- Saveset name (SC20090610105624)
- Tape label (cefix00001)
- Tape ID (1)
- Restore the saveset by using the sbc command: 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.
Note | |
On Windows, replace the tape device identifier (/dev/nst0) with the corresponding Windows device (Tape0). |
Important information from the output:
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>. |