Archive:German FAQ and Archive:English FAQ: Difference between pages

From SEPsesam
(Difference between pages)
 
 
Line 1: Line 1:
<!-- Um einen einheitlichen und für alle leicht lesbaren, verständlichen Text zu schaffen, wird folgende Formatierung zur Nutzung verwendet. In anderen Teilen des SEP-sesam-Wikis (unter anderem im "Admin-Handbuch") werden ja schon einige wenige Vorlagen verwendet. Jedoch sollte zur besseren Unterscheidung eine eindeutigere Auszeichnung erfolgen.
{{Copyright SEP AG en}}


#Syntax#                #Verwendung#                                  #In...#
== LICENSES AND VERSIONS==
{{path|/Name/zum/Pfad/}} Verzeichnisse, Ordner, Dateien, Pakete        Fettdruck
''"Datei -> Beenden"''  Für Menüelemente der GUI                      Kursiv und in Anführungszeichen
Leerzeichen              Für Eingaben in die Kommandozeile bzw. Shell  Diese Formatierung ist im Wiki-Syntax eigentlich schon ausreichend geregelt


Natürlich kann oder soll zwecks einfacherer Handhabung für die Auszeichnung von "Menüelementen der GUI" auch eine Vorlage erzeugt werden, z.B. {{gui|Datei -> Beenden}}
=== Does SEP sesam require identical versions of SEP sesam Client and Server? ===
To avoid general version compatibility issues, the SEP sesam Client and the SEP sesam Server / Remote Device Server should always have the same version number.<br>
Forward and backward compatibility is limited to path backups only.


Der eben verfasste Abschnitt würde wohl besser unter dem Punkt "discussion" Verwendung finden. Da dieser aber scheinbar - bisher - völlig ungenutzt ist, füge ich es als Kommentar an den Seitenanfang an. -->
=== How do I order a new licence?===


{{Copyright SEP AG|de}}
To obtain a licence, contact SEP sesam sales at [http://www.sep.de/company/contact-form/ Contact] or [mailto:sales@sep.de sales@sep.de] and provide the following information:


* Hostname of the SEP sesam Server
* IP address of the SEP sesam Server


To determine which specific names are used by SEP sesam (for example, if more than one network card is installed on the server), go to '''Help''' -> '''Licence info''' in the SEP sesam menu bar and check the information. Licenses are made available immediately your purchase or renewal is completed and will be sent to you by '''e-mail'''.


== Allgemeine Fragen ==
'''Licence info''' also tells you the number of clients and modules needed by your configuration if your SEP sesam Server is currently running in trial mode.


=== Muss ein SEP sesam Client identisch zur SEP sesam Server Version sein? ===
'''Note''': Some features require a special licence, for example, ''SEP sesam Exchange Recovery Pro'' and ''SEP sesam SharePoint Recovery Pro''. SEP sesam licences are issued on the basis of the size and requirements of your environment, so make sure that you are aware of feature/application specific licensing. For details on newly introduced licenses, see [[Exchange_configuration_guide_for_SEP_sesam_Version_4.4.2.x#License|''SEP sesam Exchange Recovery Pro'' license]] and [[SharePoint_Backup_4.4.2#License|''SEP sesam SharePoint Recovery Pro'' license]].
Um generelle Kompatibilitätsprobleme zu vermeiden, sollten die SEP sesam Clients immer identisch zur SEP sesam Server / RDS Version sein.
[[Image:license_info_1.png|center|link= Help 4.4]]
<br clear= all>


Nur bei Pfadsicherungen ist eine Auf- und Abwärtskompatibilität möglich.
=== How do I activate a license?===
The procedure for activating a license is version specific. From SEP sesam v. 4.4.2 onwards, licenses are imported using the GUI.


=== Wie bekomme ich die Community-Version? ===
'''SEP sesam v. 4.4.2 and higher'''


Die SEP Community-Version von SEP sesam ist ausschließlich zur freien, '''privaten''' Nutzung verfügbar. Bitte beachten Sie die [[Admin_Handbuch#Lizenzierung|Lizenzbedingungen]] der SEP AG.
Your license will be sent to you by e-mail. After receiving your license, proceed as follows:
# Open SEP sesam and select '''Help''' from the menu bar.
# Click '''License info''', then click '''Import new license'''. A new window opens prompting you to paste a valid license file.
# Copy <tt>sm_lic.ini</tt> and paste it from the clipboard or use the file manager to browse and select the required license as a <tt>.ini</tt> or <tt>.zip</tt> file.
# Click '''Apply''' to enable the license.
'''Tip''': '''License info''' also allows you to check the expiration date and to upgrade your license. All licensed components currently in use are displayed.


Bei der Installation einer SEP sesam-Demoversion (zu finden auf der [http://www.sep.de/de/download-support/ Downloadseite] der SEP) wird automatisch eine sogenannte Community Lizenz-Datei erstellt. Diese Datei muss zur dauerhaften Verwendung, also nach Ablauf des 30-tägigen Testzeitraumes, umkopiert werden.
If the program displays any errors (for instance, in the hostname or IP address), email the ''SEP sesam License info'' to [mailto:sales@sep.de sales@sep.de] by clicking the '''Send as mail''' button. Clicking '''Send as mail''' opens an email with the license information loaded. Address the message to [mailto:sales@sep.de sales@sep.de] and send it.
[[image:license_info_import.png|center]]
<br clear= all>


Die Datei {{path|sm_lic.ini.com}} befindet sich unter {{Sesamroot|/skel}}.<br>
<br><div id= "note">'''Note'''</div> The procedure for activating special licenses, such as ''SEP sesam Exchange Recovery Pro'' or ''SEP sesam SharePoint Recovery Pro'', is different. These licenses are activated as follows:
Kopieren Sie die Datei als {{path|sm_lic.ini}} in das {{Sesamroot|/var/ini}} Verzeichnis.
# Go to '''Start''' -> '''All Programs''' -> '''SEP sesam Exchange Recovery Pro''' or '''Start''' -> '''All Programs''' -> '''SEP sesam SharePoint Recovery Pro''' and open the extension. A ''License file not installed'' message appears.
# Click the '''License info''' button and import the ''license.ini'' file.
Both ''SEP sesam Exchange Recovery Pro'' and ''SEP sesam SharePoint Recovery Pro'' extensions require specific installation and configuration. For details on these procedures, see [[Exchange_configuration_guide_for_SEP_sesam_Version_4.4.2.x|''SEP sesam Exchange Recovery Pro'']] and [[SharePoint_Backup_4.4.2|''SEP sesam SharePoint Recovery Pro'']].


Eine Kontrolle der korrekten Funktion erfolgt in der GUI unter ''"Hilfe -> Lizenzinfo"''.
=== Why does the W008-License TCPIP address not match the local address 127.0.0.2? ===


Die SEP Community-Version ist für Windows und Linux verfügbar. Es bestehen kein Support und keine Möglichkeit für Upgrades. Jedoch steht jederzeit das [http://forum.sep.de/de/ SEP-Forum] und das [[Hauptseite|SEP-Wiki]] zur Verfügung.
This problem usually occurs on SLES-based Linux systems. Check the file <tt>/etc/hosts</tt> and change the relevant entry for the loopback address ''127.0.0.2'' or remove it from the <tt>/etc/hosts</tt> file entirely.


=== Wie sind die Anforderungen an Hard- und Software für den Betrieb eines SEP sesam Servers? ===
=== How do I obtain the Community Version? ===
Die Anforderungen an die hardware eines SEP sesam Servers hängen von eingesetzten Sesam Server Edition ab.


* SEP sesam Server Hardware Anforderungen
The SEP sesam Community Version is available to the general public for '''private use''' on Windows and Linux. Please note that the software, manuals, licensing and terms from SEP AG and SEP Software Inc remain unchanged.
** Mindestanforderungen für SEP sesam Server bis zur Standard Edition<br>4GB RAM / 1x Quadcore CPU / min. 100GB Harddisk für Sesam Metadata / empfohlen bis zu 15 Backup Clients.
** SEP sesam Advanced Server Edition<br>min. 8GB RAM / 1x Quadcore CPU / min. 300GB Harddisk für Sesam Metadata / empfohlen bis zu 50 Backup Clients.
** SEP sesam Premium Server Edition<br>min. 16GB RAM / 2x Quadcore CPU / min. 500GB Harddisk für Sesam Metadata / empfohlen bis zu 150 Backup Clients.
** SEP sesam Enterprise Server<br>min. 32GB RAM / 4x Quadcore CPU / min. 500GB Harddisk für Sesam Metadata / empfohlen für mehr als 150 Backup Clients.


* Software
During the installation of a SEP sesam demo version (available at the SEP's [http://www.sep.de/us/download-support/ download page]), a Community License file is created automatically. This file must be copied to the license file location after the 30-day trial period is over.
** Java >= 1.6, es ist die Oracle/Sun Java Version 1.7 empfohlen, um Darstellungsprobleme zu vermeiden.
** Auf 64-bit Linux ist ein installiertes PostgreSQL-Server Paket aus der verwendeten Linux Distribution notwendig.
** Ein Sesam Server auf Microsoft Windows benötigt .Net 3.5, ab Sesam Version 4.2 wird .Net 4 benötigt


{{Box Hint|Hinweis|
The file {{path|sm_lic.ini.com}} can be found at {{Sesamroot|/skel}}. Copy the file to {{Sesamroot|/var/ini}} and rename it to {{path|sm_lic.ini}}.
Es empfiehlt sich, für die Sesam Metadaten eine eigene Partition zu verwenden, um ein versehentlich beschreiben der Betriebssystempartition zu 100% durch Sesam Metadaten zu verhindern.<br>
Unter Linux das Verzeichnis /var/opt/sesam/var als Mountpoint für eine extra Partition ( Größe siehe oben) einrichten. Unter Windows ein extra Laufwerk einrichten (Größe siehe oben) und auf diesem den kompletten Sesam installieren.}}


=== Warum benötigt der SEP sesam Server so viel Speicherplatz auf der lokalen Festplatte? ===
If you want to check the license status, go to '''Help''' -> '''Licence info''' in the SEP sesam menu bar.


Einer der grundlegenden Vorteile von SEP sesam ist, dass nicht alle Informationen in einer  Datenbank abgelegt werden, sondern als frei einsehbare Textdateien.
Technical support is not provided for the SEP sesam Community Version and it cannot be upgraded. Visit the [http://forum.sep.de/en/ SEP Forum] and the [[Main_Page|SEP Wiki]] for help.
Für gewöhnlich sind die wirklich großen Dateien die <tt>''*.lis''</tt> Dateien. Diese enthalten Informationen über die einzelnen gesicherten Dateien einer Sicherung und werden vom Restorewizard verwendet, um einzelne Dateien auswählen und rücksichern zu können.


In folgenden Verzeichnissen sind diese Dateien zu finden:
=== How do I obtain the free [http://www.sep.de/fileadmin/user_upload/datenblaetter/en/SEPsesam_Zarafa_emea.pdf Zarafa Extension]? ===
'''Free [http://www.sep.de/fileadmin/user_upload/datenblaetter/en/SEPsesam_Zarafa_emea.pdf Backup for Zarafa environments]'''


Linux/UNIX: /<SESAM_ROOT>/var/lis
In addition to the most common server operating systems such as Novell Netware, Linux, Windows, Unix and Solaris, SEP sesam provides extensions that execute hot backups on common groupware and database applications. A complete overview of supported software is available in the '''[[SEP sesam OS and Database Support Matrix]]'''.
Windows:    C:\<SESAM_ROOT>\var\lis


Diese Dateien können wie folgt beschrieben von SEP sesam automatisch komprimiert werden.
'''[http://www.zarafa.com Zarafa]''' users can download the complete SEP sesam environment to backup their Zarafa installation for free. The following modules are provided in the free download:


;Dokumentation:
* ''SEP sesam ONE Server'' for scheduling and managing all backup and restore tasks. ''SEP sesam ONE'' supports backup to tape and disk. A 500GB Virtual Tape Library is integrated into the base product.


:[[Admin_Handbuch#SEP_sesam_Listing_Dateien_komprimieren|SEP sesam Listing Dateien komprimieren]]
* ''SEP sesam Zarafa Online Module'' for up to 10 users. The module supports online backup and restore of the complete Zarafa Server environment for up to 10 users, including restore and recovery of single mailboxes and e-mails.


Um diesen Befehl ausführen zu können, muss das Sesam- Profil zuvor gesetzt werden mit dem Befehl:
* ''SEP sesam MySQL Online Module''. The module supports hot backup and restore of the Zarafa Database.


Linux/UNIX: source /var/opt/sesam/var/ini/sesam2000.profile
* ''SEP sesam Graphical User Interface (GUI)'', which includes the powerful ''Restore wizard''.
Windows:    C:\<SESAM_ROOT>\var\ini\sm_prof.bat


Um den Komprimierungsprozess sofort auszulösen und nicht erst auf den nächsten Tag zu warten, kann der Befehl
The free Zarafa Server backup license does not expire but is limited to this dedicated environment. Note that no upgrade services or technical support are included.
"<tt>sm_newday</tt>" verwendet werden.


Die Komprimierung wird dann mit dem Zeitplan "Tageswechsel" direkt ausgeführt.
The free Zarafa version can be upgraded with the following additions, available at the '''[http://www.sep.de/produkte/ SEP homepage]''':
* High-capacity SEP sesam Servers License (Standard Server with 5 streams and 1TB or Advanced Server with 124 data streams and 1TB)
* Additional SEP sesam Clients to back up servers other than the Zarafa Server
* Additional online database extensions
* Autoloader support
* Disaster recovery modules
* SAN backup capability
* Citrix XenServer or VMware ESX/ESXi disaster recovery
* Expanded storage capability
* or additional Zarafa users


Der Grund warum man nicht alles sofort komprimiert, sondern erst nach 3 Tagen wie im Befehl vordefiniert, ist ein Erfahrungswert der SEP AG, der beinhaltet, dass die meisten Rücksicherungen innerhalb der ersten 3 Tage nach einer Sicherung durchgeführt werden.
To apply for a free Zarafa backup, send the following information to [mailto:sales@sep.de sales@sep.de]:


;Was passiert:
* Name of your company
:Alle <tt>''*.lis''</tt> Dateien werden automatisch in ein komprimiertes Format gewandelt und bei Bedarf von SEP sesam selbstständig wieder entpackt.
* Complete address
* Contact person, including phone and email
* Which additional servers do you use in your IT environment?
* Which backup software do you use besides SEP sesam?


=== Was bedeutet die Mail Benachrichtigung: Listings & Loggings unter kritische Schwelle gesunken? ===
Additionally, provide the Zarafa related information:
SEP sesam Server überprüft bei einem [[#Was_ist_der_SEP_sesam-.27Tageswechsel.27.3F|Tageswechsel]] den freien Speicherplatz der Partition, in dem sich die Verzeichnisse und Dateien für Logging und Listings befinden.
  * SEP sesam Server installation – is it on a Zarafa server or on a dedicated SEP sesam Server?
<SESAM_ROOT>\var\log
  * IP address of the SEP sesam Server
<SESAM_ROOT>\var\lis
  * Hostname of the SEP sesam Server
Unterschreitet der freie Platz auf dieser Partition einen kritischen Schwellwert, sendet der SEP sesam eine Benachrichtigung per Mail.<br>
  * Operating system of the SEP sesam Server
Der Schwellwert (default=5000, 5000mb) kann in der "sm.ini" unter der Sektion [Params] angepasst werden:
  * Number of Zarafa users
<SESAM_ROOT>\var\ini\sm.ini
[Params]
  gv_min_free=5000
 
{{Box Hint|ACHTUNG|
Steht auf der Partition kein Speicherplatz mehr zur Verfügung, dann kann der SEP sesam Server keine Logs und Listings mehr schreiben und es kommt zu kritischen Fehlern und Datenverlust.}}
 
=== Remote-Device-Server installieren ===
Detaillierte Beschreibung unter: '''[[Wie richte ich einen Remote Device Server (RDS) ein]]?'''
#*Linux/UNIX: Das SEP sesam Remote-Tape-Server-Paket (z.B. <tt>sesam_rts-4.0.2-13.rhel5.i386.rpm</tt> für RedHat) aus dem SEP Downloadbereich auf einem ausgewählten Rechner installieren.
#*Windows: Das SEP sesam Server-Paket (z.B. <tt>sesam-srv-4.0.2.13-windows.exe</tt>) auf dem RDS-Rechner ausführen und als Paket "SEP sesam Remote-Tape oder Tapeserver" auswählen.
#Diesen Rechner als normalen SEP sesam Client aufnehmen ('''Komponenten->Topologie''') und wie gewohnt auf korrekte Namensauflösung zwischen SEP sesam Server und SEP sesam Remote Device Server achten.
#Eine neue Laufwerksgruppe erstellen ('''Komponenten->Laufwerke''') und unter dieser das am entfernten Rechner angeschlossene Laufwerk aufnehmen ('''neues Laufwerk''').
#Auf dem SEP sesam Remote Device Server ist es möglich mit {{Sesamroot|/bin/sesam/slu scan}} sich die Namen der vom Betriebssystem erkannten Geräte anzusehen (z.B. <tt>Tape0</tt> oder <tt>/dev/nst0</tt>). Bei der Aufnahme eines Disklaufwerkes muss nur der Laufwerkstyp ''DISK_HARD'' angegeben werden.
#Erstellen eines Medienpools, in dem die neue Laufwerksgruppe angegeben wird.
#Die Aufnahme der Medien zum Medienpool wie gewohnt ausführen.
 
=== Wo bekomme ich die kostenlose [http://www.sep.de/fileadmin/user_upload/datenblaetter/de/SEPsesam_Zarafa.pdf Zarafa Extension] ===
'''Kostenloses [http://www.sep.de/fileadmin/user_upload/datenblaetter/de/SEPsesam_Zarafa.pdf Backup für Zarafa-Umgebungen]'''
 
SEP sesam stellt eine leistungsfähige Backup-, Restore- und Recovery- Umgebung für alle heterogenen Umgebungen zur Verfügung.
 
Neben den klassischen Server-Betriebssystemen wie Novell Netware, Linux, Windows, Unix und Solaris bietet SEP sesam auch Module zur Online-Sicherung aller gängigen Groupware-Systeme und Datenbanken an.
 
Eine komplette Übersicht findet sich in der '''[[SEP sesam OS and Database Support Matrix]]'''.
 
Für die Nutzer von '''[http://www.zarafa.com Zarafa]''' bietet SEP eine komplette SEP sesam Umgebung zur kostenlosen Sicherung ihrer Zarafa Umgebung an. Folgende Module werden kostenlos zur Verfügung gestellt:
 
* Ein SEP sesam ONE Server zur Planung und zentralen Verwaltung von Backup und Restore. SEP sesam ONE unterstützt Backup auf Bandmedien ebenso wie Backup to Disk. Hierzu ist eine 500 GB Virtual Tape Library integriert.
* Das SEP sesam Zarafa Online Modul inkl. 10 User. Das Modul ermöglicht die unterbrechungsfreie Sicherung und Rücksicherung der gesamten Zarafa Server Umgebung, unabhängig von der Anzahl der User. Restore und Recovery von einzelnen Mailboxen und sogar einzelnen E-Mails ist damit für bis zu 10 User möglich.
* Das SEP sesam MySQL Online Module zur unterbrechungsfreien Sicherung und Rücksicherung der Zarafa Datenbank.
* Die SEP sesam GUI mit dem leistungsfähigen 'Restore Wizard'.
 
Diese Lizenzen zur kostenlosen Sicherung eines Zarafa-Servers mit SEP sesam sind zeitlich unbegrenzt gültig aber limitiert auf diese Umgebung und nicht erweiterbar.
Support und Upgrade Services sind nicht enthalten.
 
Eine Liste der möglichen Kauflizenzen und Erweiterungen wie
* leistungsfähigere SEP sesam Server (Standard Server mit 5 Streams und 1TB oder Advanced Server mit 124 Streams und 1TB)
* zusätzliche SEP sesam Clients
* weitere Online Datenbank Module
* Autolader Unterstützung
* Disaster Recovery Module
* Unterstützung für SAN Backup
* Citrix XenServer oder VMware ESX/ESXi Disaster Recovery
* erweiterte Speicherfähigkeit
* oder weitere Zarafa Benutzer
findet sich auf der SEP Homepage unter: '''[http://www.sep.de/produkte/ www.sep.de/produkte]'''
 
'''Um die freie SEP Zarafa Lizenz zu erhalten, senden Sie bitte die folgenden Daten an sales@sep.de'''
* Name der Firma
* Komplette Adresse
* Ansprechpartner inkl. Telefonnummer und E-Mail-Adresse
* Welche weiteren Server nutzen Sie in Ihrer Umgebung
* Welche Backuplösungen setzen Sie zusätzlich ein
'''Daneben folgende Informationen zur Zarafa-Umgebung:'''
* Installationsort des SEP sesam Servers:
* Wird SEP sesam auf dem Zarafa Server installiert, oder auf einem separaten Server?
  * Die IP Adresse des SEP sesam Servers
  * Hostname des SEP sesam Servers
  * Betriebssystem des SEP sesam Servers
  * Anzahl der Zarafa User
 
 
'''Sämtliche SEP Software-Extensions finden Sie im [http://download.sep.de SEP Download Center]'''
 
SEP sesam Server für Linux<br>
http://download.sep.de/linux/
 
SEP sesam Server für Windows<br>
http://download.sep.de/windows/
 
Zarafa Modul (Ab Version 3.6 ist das Modul im SEP sesam Client für Linux enthalten)<br>
http://download.sep.de/extensions/groupware/zarafa/
 
MySQL Modul (Ab Version 3.6 ist das Modul im SEP sesam Client für Linux enthalten)<br>
http://download.sep.de/extensions/databases/mysql/
 
 
Eine Beschreibung zum Backup eines Zarafa-Servers mit SEP sesam finden Sie im Wiki unter:
[[SEP sesam Extension f%C3%BCr Zarafa]]
 
=== Wo bekomme ich die aktuelle 64-Bit-Version von Suns JRE ===
 
Unter folgendem Link findet sich eine Auswahl der verschiedenen Versionen für das gewünschte Betriebssystem und die Architektur (64- und 32-Bit) die für die [http://de.wikipedia.org/wiki/Java-Laufzeitumgebung Java-Laufzeitumgebung] verwendet werden soll. Nach dem Akzeptieren der Lizenzbedingungen kann das entsprechende "Paket" heruntergeladen werden.
 
;{{Current-JRE}}
 
=== Was ist der SEP sesam-'Tageswechsel'? ===
 
Das SEP sesam-System ermöglicht die Neuorganisation des Systems durch den Tageswechsel-Termin bzw. NEWDAY-Termin. SEP sesam definiert den Zeitraum zwischen zwei Tageswechsel-Terminen als einen Sicherungstag. Dieser Termin wird durch die Installation vorgegeben und kann entsprechend den jeweiligen
Bedürfnissen angepasst werden. Bei einem täglichen Tageswechsel-Termin um 08:00 Uhr dauert der Sicherungstag bis zum Morgen des kommenden Tages um 08:00 Uhr. Sicherungen, die nach Mitternacht - dem Wechsel des realen Datums - ablaufen, werden von SEP sesam trotzdem unter dem Datum des Vortages verwaltet.
 
Beispiel: Eine Sicherung soll um 19 Uhr beginnen und dauert normalerweise mindestens bis um zwei Uhr Nachts. Durch die Wahl des Tageswechsels um acht Uhr hat der Sicherungsauftrag genug Zeit vollständig ausgeführt zu werden und alle Daten werden in dem Saveset gespeichert das zu dem Tag gehört, an dem die Sicherung gestartet wurde.<br>
Häufig wird das Wochenende für [[Die_Sicherung_4.0#Full-.2C_Diff-.2C_Inc-.2C_Copy-Sicherung|Voll-Sicherungen]] genutzt, dann bietet es sich an, den Tageswechsel am Wochenende auszusetzen, also die Ausführung als Wochentermin ohne Ausführung am Wochenende zu definieren.
 
Ein Tageswechsel-Termin führt zusätzlich folgende Aufgaben durch:
* beendet alle laufenden Sicherungen
* führt einen Neustart der SMS- und STPD-Prozesse durch
* löscht Dateien und Datenbankeinträge von nicht mehr existenten Sicherungssätzen
* berechnet im Kalender die kommenden Ausführungen
Man kann den Tageswechsel auch zu einer anderen Tageszeit als 08:00 Uhr konfigurieren. Man sollte den Tageswechsel allerdings nicht komplett deaktivieren, da ansonsten die internen Verwaltungsaufgaben im System und in der Datenbank nicht durchgeführt werden und mittelfristig Fehlfunktionen im SEP sesam provoziert werden können.
 
=== Wie wird eine neue Lizenz geordert/aktiviert? ===


Sollte eine neue Lizenz benötigt werden, so wenden Sie sich bitte an [mailto:sales@sep.de sales@sep.de]. Folgende Angaben werden dabei benötigt:
'''All SEP sesam software is available at the [http://download.sep.de SEP Download Center].'''
* Hostname des SEP sesam Servers
* IP-Adresse des SEP sesam Servers


Um festzustellen, welche Angaben SEP sesam verwendet (z.B. bei mehreren Netzwerkkarten) sollten die Informationen in der SEP sesam GUI unter ''"Hilfe -> Lizenzinfo"'' verwendet werden. Das Lizenzteam wird die Lizenz via E-Mail verschicken.
[http://download.sep.de/linux/ SEP sesam Server for Linux]<br>
[http://download.sep.de/windows/ SEP sesam Server for Windows]<br>
[http://download.sep.de/extensions/groupware/zarafa/ Zarafa module] (included in SEP sesam Client for Linux since version 3.6)<br>
[http://download.sep.de/extensions/databases/mysql/ MySQL module] (included in SEP sesam Client for Linux since version 3.6)<br>
An introduction on backing up the Zarafa server with SEP sesam is available on the SEP Wiki:
[[SEP sesam Extension for Zarafa]].


Wenn es sich bei dem SEP sesam Server um eine Demolizenz handelt wird anhand der Lizenzinfo ''"Hilfe -> Lizenzinfo"'' die benötigte Anzahl der Clients und Module der konfigurierten Umgebung ausgegeben.
== REQUIREMENTS==


[[Image:LizenzInfo 38en.jpg|center|frame]]
=== What are the hardware and software requirements for a SEP sesam Server? ===
Hardware requirements depend on the SEP sesam Server edition.


'''SEP sesam Server hardware requirements'''
* ''SEP sesam Server Standard edition'':
** 4GB RAM
** 1x Core CPU
** Minimum 100GB hard disk for SEP sesam metadata
** Up to 15 backup clients.
* ''SEP sesam Advanced Server edition'':
** Minimum 8GB RAM
** 1x Core CPU
** Minimum 300GB hard disk for SEP sesam metadata
** Recommended up to 50 backup clients.
* ''SEP sesam Premium Server edition'':
** 16GB RAM
** 2x Core CPU
** Minimum 500GB hard disk for SEP sesam metadata
** Recommended up to 150 backup clients.
* ''SEP sesam Enterprise Server'':
** Minimum 32GB RAM
** Minimum 4x Core CPU
** Minimum 500GB hard disk for SEP sesam metadata
** Recommended for more than 150 backup clients.


[[Image:Licence info 3 8.JPG|center|frame|Ab SEP sesam Version 4.0 können diese Informationen auch direkt versendet werden.]]
'''SEP sesam Server software requirements'''
* '''Java''': min. version 1.7. See also [[English_FAQ#Which Java version does SEP sesam require?|Which Java version does SEP sesam require?]].
* '''Linux''': the installed PostgreSQL-Server package from the Linux distribution is required for 64-bit Linux.
* '''Microsoft Windows''': SEP sesam Server requires .Net 3.5.; SEP sesam version 4.2 requires .Net 4.


'''Folgende Schritte sind zu tun, um das erhaltene Lizenzfile zu aktivieren:'''
{{Box Hint|Note|
We recommend that you use a separate partition for the SEP sesam metadata in order to prevent the sesam metadata from filling up the operating system partition.<br>
* Linux: create a mount point for <tt>/var/opt/sesam/var</tt> (see recommended size above)
* Microsoft Windows: add a new drive (see recommended size above) and install SEP sesam on this drive.}}


# Entpacken der Lizenzdatei
=== Which Java version does SEP sesam require? ===
# Kopieren in das {{Sesamroot|/var/ini}}-Verzeichnis
From version 4.4., SEP sesam requires Java version 1.7 or higher. Oracle/Sun Java, IBM Java or OpenJDK can be used. You can check your Java version with the following command:
# In das Verzeichnis {{Sesamroot|/bin/sesam}} wechseln
# Die Lizenzdatei kann mit folgendem Aufruf geprüft werden 
 
* Windows
sm_info c
 
* Linux
./sm_info c
 
Sollten in der Ausgabe des Programms Fehler in der Namens- oder IP-Übereinstimmung auftreten, wenden Sie sich bitte an den Lizenz-Ansprechpartner. Sollten alle Informationen sichtlich richtig sein, schicken Sie bitte das Lizenzfile mit der Ausgabe des Befehls an [mailto:support@sep.de sales@sep.de].
 
=== Gibt es eine Übersicht aller SEP sesam-Dienste? ===
 
Man muss zwischen den Diensten eines SEP sesam Servers, eines SEP sesam Clients und denen eines SEP sesam Tape-Servers unterscheiden.
 
Diese Dienste können im Installationsverzeichnis des SEP sesam in {{Sesamroot|/bin/sesam}} <br>
* unter Linux/UNIX mit dem Befehl
 
./sm_main status
 
* und unter Windows mit
 
sm_main status
 
geprüft werden.
 
 
* Dienste eines SEP sesam Servers
 
main    Hauptprozess von SEP sesam
sepuler SEP-Terminkalender zur Steuerung sämtlicher Aufgaben
db      Datenbankdienst des SEP sesam
qm      Der Queuemanager verwaltet Sicherungen, Rücksicherungen und die Laufwerke
rmi    GUI-Server für die grafische Oberfläche
sms    Lesen und Schreiben der SEP sesam-Medien
stpd    Verbindungsprotokoll vom SEP sesam Client zum SEP sesam Server
passd  Securityverwaltung des SEP sesam
ctrl    Verbindungsprotokoll vom SEP sesam Server zum SEP sesam Client
 
* Dienste eines SEP sesam Clients
 
main    Hauptprozess von SEP sesam
ctrl    Verbindungsprotokoll vom SEP sesam Server zum SEP sesam Client
 
* Dienste eines SEP sesam (Remote) Tape-Servers
 
main    Hauptprozess des SEP sesam
ctrl    Verbindungsprotokoll vom SEP sesam Server zum SEP sesam Client
sms    Lesen und Schreiben auf SEP sesam Medien
stpd    Verbindungsprotokoll vom SEP sesam Client zum SEP sesam Server
passd  Securityverwaltung des SEP sesam
 
=== Welche Java-Version wird von SEP sesam benötigt? ===
SEP sesam benötigt seit der Version 4.4 Java mit der Version 1.7 oder höher. Dabei können sowohl das Oracle/Sun Java genutzt werden, als auch IBM Java oder OpenJDK.
 
Die derzeit verwendete Java Version lässt sich mit folgendem Befehl prüfen:


   java -version
   java -version


'''Beispiel:'''
'''Example:'''


  #> java -version
  #> java -version
Line 278: Line 160:
  Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
  Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)


'''Hinweis:''' Die folgenden Bemerkungen verwenden noch Java 1.6!
{{Box Hint|Note|
The examples below still refer to Java 1.6!}}


==== Linux – RPM ====


==== Linux - RPM ====
If the SEP sesam Server is installed as an RPM package, Java must also be installed as an RPM.
'''WICHTIG:''' Wird unter Linux der SEP sesam Server als RPM-Paket installiert, dann ist das Java ebenfalls als RPM-Paket zu installieren.


'''Hinweis:''' Für die Installation des SEP sesam Servers auf einem OES2-System beachten Sie bitte, dass die dort laufende Java-Version 1.5 als Default bestehen bleiben muss, damit die Novell-spezifischen Funktionen betrieben werden können. Wenn eine weitere Java-Version (z.B. 1.6) im System per RPM installiert wird, dann bleibt die Default-Java-Version erhalten, d.h. die Neuinstallation überschreibt diese nicht. Das bedeutet, dass die Installation des Java und nachfolgend des SEP sesam Server wie unten beschrieben erfolgen kann.
'''Note:''' To install a SEP sesam Server on an OES2 system, Java 1.5<!-- Is this the correct version? --> must remain the default version so that Novell-specific functions can operate. If a different Java version (such as 1.6)<!-- Is this the correct version? --> is installed on the system via RPM, the default Java version is kept, i.e. the reinstallation doesn't overwrite it. Java and the SEP sesam Server can be installed as described below.


Die Vorgehensweise ist hier anhand eines 64-bit Sun-Java beschrieben:
In the example below, 64-bit Sun Java is used:


* Nach dem Download sind dem Paket Ausführungsrechte zu geben:
* After the download is complete, give the package execution rights:
  #> chmod +x jre-6u25-linux-x64-rpm.bin
  #> chmod +x jre-6u25-linux-x64-rpm.bin


* Installation des JRE Binary Paketes:
* Install the JRE Binary package:


  #> ./jre-6u25-linux-x64-rpm.bin  
  #> ./jre-6u25-linux-x64-rpm.bin
  Unpacking...
  Unpacking...
  Checksumming...
  Checksumming...
  Extracting...
  Extracting...
  UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
   inflating: jre-6u25-linux-amd64.rpm
   inflating: jre-6u25-linux-amd64.rpm
  Preparing...                ########################################### [100%]
  Preparing...                ########################################### [100%]
     1:jre                    ########################################### [100%]
     1:jre                    ########################################### [100%]
Line 309: Line 192:
         javaws.jar...
         javaws.jar...
         deploy.jar...
         deploy.jar...
 
 
  Done.
  Done.


* Anschließend kann überprüft werden, ob die Sun-Java-Version ordentlich in der Paketdatenbank registriert wurde:
* Verify that the Sun Java version was properly registered in the package database:


  #> rpm -qa | grep jre
  #> rpm -qa | grep jre
  jre-1.6.0_25-fcs
  jre-1.6.0_25-fcs


* Anschließend wird die Installation des SEP sesam Servers über ein RPM Paket vorgenommen. Der Sesam-Installer findet die Java-Informationen im Paketmanager und setzt automatisch einen Link zu diesem Java in das Verzeichnis {{Path|/opt/sesam/bin/sesam}}. Im Falle einer Tarball-Installation des Sesam Servers und des Java, muss dieser Link manuell gesetzt werden.
* The SEP sesam Server is installed via an RPM package. The SEP sesam installer finds the Java information in the package manager and automatically creates a link to it in the directory {{Path|/opt/sesam/bin/sesam}}. If the SEP sesam Server and Java are installed via Tarball, you must create the link manually.


==== Linux – Tarball ====


==== Linux - Tarball ====
If Java is installed as Tarball, the SEP sesam Server must also be installed as Tarball. The installation of a SEP sesam Server package with <tt>'''--nodeps'''</tt> is not supported.
'''WICHTIG:''' Wird das Java als Tarball installiert, dann ist auch der Sesam Server als Tarball zu installieren. Eine Installation eines Sesam Server Pakets mit <tt>'''--nodeps'''</tt> wird durch die SEP AG nicht unterstützt.


Die Vorgehensweise bei einer Java-Tarball-Installation:
Install Java Tarball as follows:


* Download z.B. der Betriebssystem-kompatiblen SUN-Java 32-Version <tt>jre-6u25-linux-i586.bin</tt> nach {{Path|/opt/java}}
* Download a Java version that is compatible with you operating system, such as SUN Java 32-version <tt>jre-6u25-linux-i586.bin</tt>, to {{Path|/opt/java}}.
* In das Verzeichnis {{Path|/opt/java}} wechseln
* Go to the directory {{Path|/opt/java}}.
* Nach dem Download sind dem Paket Ausführungsrechte zu geben:
* After the download is complete, give the package execution rights:
  #> chmod +x jre-6u25-linux-i586.bin
  #> chmod +x jre-6u25-linux-i586.bin


* Entpacken des Tar-Archivs durch Aufrufen des Binaries:
* Extract the Tar archive by executing the binary:
  #> ./jre-6u25-linux-i586.bin
  #> ./jre-6u25-linux-i586.bin


* Das Java wird nun in ein Unterverzeichnis <tt>jre1.6.0_25</tt> entpackt und ist betriebsbereit. Die Funktion des Javas kann wie folgt getestet werden:
* Java is now unpacked into the subfolder <tt>jre1.6.0_25</tt> and is ready to use. Java functions can be tested as follows:
  #>  /opt/java/jre1.6.0_25/bin/java -version
  #>  /opt/java/jre1.6.0_25/bin/java -version
  java version "1.6.0_25"
  java version "1.6.0_25"
Line 339: Line 222:
  Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
  Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)


* Anlegen der Verzeichnisstruktur {{Path|/opt/sesam/bin/sesam}}, um zur Installation des Sesam Servers den Java-Link anzulegen:
* Create the directory structure {{Path|/opt/sesam/bin/sesam}} to link Java to the SEP sesam Server installation:
  #> ln -s /opt/java/jre1.6.0_25/bin/java /opt/sesam/bin/sesam/java
  #> ln -s /opt/java/jre1.6.0_25/bin/java /opt/sesam/bin/sesam/java


* Nun folgt die Installation des Sesam Server per Tarball
* You can now proceed with the installation of SEP sesam Server via Tarball.


==== Windows ====


==== Windows ====
You can operate several Java versions on Windows. The SEP sesam Server can work with a Java version other than the operating system's default Java version. Enter the path of your Java version into the {{Sesamroot|\var\ini\sm.ini}} file in the ''[JAVA]'' section:
Auch unter Windows können mehrere Java-Versionen betrieben werden. Auch hier kann der Sesam Server mit einer anderen Java-Version arbeiten als die Java-Default-Version des Betriebssystems. In der Datei {{Sesamroot|\var\ini\sm.ini}} in der Sektion ''[JAVA]'' ist der Pfad zu der zu verwendenden Java-Version anzugeben:


   [JAVA]
   [JAVA]
Line 353: Line 236:
   java_exit_on_fail=no
   java_exit_on_fail=no


Damit wird für den Sesam Server beim Start seine eigene Java-Umgebung gesetzt.
This gives the SEP sesam Server its own Java environment on startup.


=== Was bedeuten die Flags in der Spalte "Type" bei Sicherungen nach Status? ===
=== Where can I get the latest 64-bit version of Sun's JRE? ===


* Der erste Buchstabe gibt den Sicherungstyp an
The link below takes you to a list of different versions of Sun's [http://en.wikipedia.org/wiki/JRE Java Runtime Environment] for your operating system and architecture (64- and 32-bit). After accepting the license agreement, you can download the relevant package.


  F/D/I/C:  Level der Sicherung (Full, Diff, Incr, Copy)
;{{Current-JRE}}
  M:        Medientermin
  N:        SEP sesam Tageswechsel
  S:        SEP sesam Startup
  X:        SEP sesam Befehlstermin


* Der zweite Buchstabe ist nur bei Datenbank-Sicherungen interessant. Bei normalen Pfad-Sicherungen hat dieser keine Bedeutung.
== INSTALLATION and CONFIGURATION ==


  H: Hot, d.h. eine Online-Sicherung einer Datenbank
=== How do I install a Remote Device Server (RDS)?===
  CCold, d.h. eine Offline-Sicherung einer Datenbank
Detailed instructions can be found at [[How to create a Remote Device Server (RDS)]].
#*''Linux/UNIX'': Select and install the SEP sesam Remote Device Server package (for example, <tt>sesam_rts-4.0.2-13.rhel5.i386.rpm</tt> for RedHat) from the SEP download center.
#*''Windows'': Select the SEP sesam Server package (for example, <tt>sesam-srv-4.0.2.13-windows.exe</tt>) from the SEP download center. Start the installation and choose '''SEP sesam Remote Tape''' as the package.
#Add the computer as a normal SEP sesam Client under '''Components -> Topology'''. Ensure that the DNS between the SEP sesam Server and SEP sesam Remote Device Server is properly handled.
#Create a new drive group  under '''Components -> Disk Drives''' and select the drive from the remote computer as a '''new drive'''.
#To see the name of the new device on the Remote Device Server, use the command{{Sesamroot|/bin/sesam/slu scan}} (for example, <tt>Tape0</tt> or <tt>/dev/nst0</tt>). If you selected a disk drive, you only need to enter the drive type ''DISK_HARD''.
#Create a new media pool and assign it to the new drive group.
#Register the new media to the media pool.


=== Wie richtet man einen Befehlstermin ein? ===
=== How do I install the SEP sesam GUI on a Linux system? ===


Um einen Befehlstermin an einem SEP sesam Client oder SEP sesam Server zu erlauben, muss am jeweiligen Client/Server ein Eintrag vom Administrator vorgenommen werden. Dieser Eintrag richtet sich nach der Plattform des Clients.
To install a SEP sesam GUI on a Linux system, you will need to load the current GUI software package onto the target computer. Installation packages for different Linux distributions can be downloaded from [http://download.sep.de/linux/ download.sep.de] (for example, ''sesam_gui-3.4.1-31.SuSE.i586.rpm'').


; Windows-Client
Install the package after the download is complete. For example:


Unter <tt>''HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\{user}\{command}''</tt> wird der Benutzer und der Befehl erlaubt.
rpm -Urh sesam_gui-3.4.1-31.SuSE.i586.rpm


Rufen Sie den Regedit-Editor auf und erstellen Sie unter <tt>''HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\''</tt> die neuen Schlüssel (''"Rechtsklick -> neuer Schlüssel"'' auswählen) - sofern noch nicht vorhanden - <tt>''CommandEvents''</tt>, darunter den Benutzer und schließlich als Schlüssel den Befehl mit kompletter Pfadangabe. Der Befehl, der als letzter Schlüssel eingetragen wird, darf als Befehl ausgeführt werden. Es ist möglich ein Sternchen "<tt>*</tt>" einzutragen, damit jeder Befehl abgesetzt werden darf.
After installing, check that the SEP sesam Server is available by using the following command:


[[Image:Registryentry.JPG]]
nslookup "name of your SEP sesam Server"
 
Nachfolgendendes *.reg file Beispiel erlaubt alle CommandEvents mit dem User "Administrator".<br>
Das Code Beispiel in ein leeres *.reg file einfügen, und mit Admin Berechtigung ausführen.
<pre>
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\Administrator\*]
</pre>
 
; Linux/UNIX-Client


Die Datei {{path|sesam_cmdusers.allow}} am Client aus dem Verzeichnis {{Sesamroot|/skel/templates}} nach {{path|/etc}} kopieren
Next, make a shortcut with the following path:
und die Datei anpassen, d.h. im Format <tt>{Benutzer}</tt> <tt>{Befehl}</tt> kann je Zeile ein Benutzer mit Befehl angegeben werden. Wieder ist der Joker "<tt>*</tt>" für Benutzer und Befehl erlaubt.


Hinweis: Es sind keine expliziten Berechtigungen für die Ausführung von SEP sesam Kommandos wie <tt>sm_loader</tt> erforderlich.
/opt/sesam/bin/gui/sesam_gui -S "name of your SEP sesam Server"


=== Warum erzeugt die SEP sesam GUI so viele Java-Prozesse unter Linux? ===
=== What problems may occur after installing the SEP sesam RPM package? ===


Bei einigen Linux-Systemen werden die von der SEP sesam GUI erzeugten [http://de.wikipedia.org/wiki/Thread_%28Informatik%29#Java Threads] auch in der Prozesstabelle angezeigt. Es handelt sich allerdings nicht um Prozesse, sondern um Threads. Die Anzahl ist deshalb hoch, weil Java für alle Objekte mit Listener-Funktionalität automatisch einen Thread generiert.
The following message appears when starting the SEP sesam GUI:


=== Ein Supportmitarbeiter hat gesagt ich soll das Profile setzen, was meint er damit? ===
The connection to the server sesamserver was denied.


Durch das Setzen des Profils werden die Verzeichnisse (sowie deren Unterverzeichnisse) {{Sesamroot|/bin}}, und {{Sesamroot|/var/db/}} <!-- Ich denke, hier fehlt noch ein Verzeichnis ("/schema/sesam/sql") --> zur Umgebungsvariable "<tt>$PATH</tt>" hinzugefügt, sodass SEP sesam-Befehle global ausgeführt werden können und man sich nicht in deren eigentlichem "Ausführungsverzeichnis" befinden muss.
The last message was:


Das Profil wird folgendermaßen gesetzt:
  java.rmi.RemoteException: Connection refused to host: [SEP sesam-Server]; nested
  exeption is:
  java.net.Connect.Exception: Connection refused


==== Unter Linux/UNIX ====
Make sure that the SEP sesam RMI Server component is active and that the correct port is being used.
In das Verzeichnis {{Path|<SESAM_VAR>/var/ini}} wechseln und folgendes eingeben:


  . sesam2000.profile
The program is terminated.


Wichtig: Nicht den Punkt und das Leerzeichen vergessen.
If you get this error message, check the Java version with the following command:


Oder man gibt
/opt/sesam/bin/sesam/java -version
  source sesam2000.profile
ein.


{{Box Hint|Hinweis|Das Profil ist hierdurch nur für die aktuelle Sitzung gesetzt. Für eine dauerhafte Aktivierung unter Linux siehe [[German_FAQ#Wie_kann_man_das_sesam-Profile_automatisch_w.C3.A4hrend_des_Logins_ausf.C3.BChren_lassen.3F| hier]]}}
If the Java version is not 1.4.2 <!-- Java version should be 1.7? -->or higher, you will need to update the Java files.


==== Unter Windows ====
=== How do I change the IP address and server name of the SEP sesam Server? ===
In einer Command-Box in {{Sesamroot|\var\ini}}


  sm_prof.bat
Your license must first be [[English_FAQ#How_do_I_activate_a_license.3F|modified]] to match the new server name and/or IP address. Send the original license, the new server name and the IP address to [mailto:info@sep.de info@sep.de]. Until you receive the license, make the following changes to the database. Set the SEP sesam profile and execute the following commands:


oder über die Verknüpfung
  sm_db "select * from servers"


  {{Sesamroot|\var\ini\sm_prof.bat.lnk}}
In this table, the ''name'' and ''ip_address'' must be changed.


=== Was benötigt man um den Rechnernamen und die IP-Adresse des SEP sesam Servers zu ändern? ===
  sm_db "update servers set name= 'newname',ip_address= 'new IP' where name= 'old name'"


Es muss eine [[German_FAQ#Wie wird eine neue Lizenz geordert/aktiviert?|neue Lizenz]] angefordert werden. Schicken Sie hierzu die
  sm_db "update clients set name= 'new name' where name= 'old name'"
Original-Lizenz an die E-Mail Adresse [mailto:info@sep.de info@sep.de] und fügen den neuen Rechnernamen und die neue IP-Adresse hinzu.


Sobald Sie die neue Lizenz erhalten haben, können Sie den Hostnamen des SEP sesam Servers mit {{path|sm_setup}} ändern. Setzen Sie dazu zuerst das [[German_FAQ#Ein Supportmitarbeiter hat gesagt ich soll das Profile setzen, was meint er damit?|SEP sesam-Profil]] und geben folgenden Befehl ein:
When you receive the new license information, you can change the SEP sesam Server name using <tt>sm_setup</tt>. Set the [[English_FAQ#What happens when I set a profile?|SEP sesam profile]] and enter the following command:


  sm_setup change_servername mynewserver
  sm_setup change_servername mynewserver


=== Ein Support Mitarbeiter hat mir geraten den Loglevel höher zu setzen. Wie mache ich das? ===
=== What effect does an antivirus scanner have on SEP sesam? ===
Antivirus scanners may negatively impact the backup and restore operation:


In manchen Fällen muss eine Sicherung mit einem höheren Loglevel durchgeführt werden, um unseren Entwicklern detailliertere Informationen liefern zu können.
* The GUI is slow or hangs for several seconds
* Backup and restore jobs are terminated abruptly
* Reduced data throughput and speed


Der Loglevel kann auf zwei Arten gesetzt werden: der Sicherungsloglevel und der Rücksicherungsloglevel.
'''Solution'''<br>
Use antivirus exclusions rules for SEP sesam. The following items must be excluded from any virus scanning activities:


==== Sicherungsloglevel ====
* All SEP sesam [[Sesam_Admin_Manual#SEP_sesam_Directory_Structure|installation directories]] on the SEP sesam Server, Client and Remote Device Server (RDS):
** <tt>SESAM_BIN</tt> directory including all subfolders
** <tt>SESAM_VAR</tt> directory including all subfolders


Der Sicherungsloglevel kann als zusätzliches Aufruf-Argument ausgeführt werden.
* Data store on the SEP sesam Server and Remote Device Server:
** Any partition on which data store has been configured for backup must be excluded from virus scanning.


Doppelklicken Sie dazu auf den Sicherungsauftrag. Wählen Sie das Register "Optionen 1".
* All SEP sesam processes on the SEP sesam Server, Client and Remote Device Server:
** Exclude all executable files from the following directories:
  <SESAM_ROOT>/bin/sesam/*.*
  <SESAM_ROOT>/bin/sms/*.*


Die folgenden Loglevel existieren:
With some virus scanners, you can disable the ''Child Process Monitoring'' rule option. In this case, only the following SEP sesam processes must be excluded:


0=ERROR
'''Windows:'''
1=EMERGENCY
  sm_main.exe
2=WARNING
  sm_ctrld_main.exe
3=NOTICE
  sm_db_main.exe
4=INFO
  sm_passd.exe
5=DEBUG
  sm_rmi_main.exe
6=TRACE
  sm_sepuler.exe
  sm_sms_main.exe
  sm_data_server.exe
  sm_stpd_main.exe
  sbc.exe


Setzen Sie den Loglevel wie in diesem Screenshot gezeigt:
'''Linux:'''
  sm_qm_main
  sm_ctrld_main
  sm_db_main
  sm_passd
  sm_rmi_main
  sm_sepuler
  sm_sms_main
  sm_data_server
  sm_stpd_main
  sbc


[[Image:Loglevel_sbc.jpg]]
=== How do I calculate the data store capacity (free space calculation and license check)?  ===


==== Rücksicherungsloglevel ====
In SEP sesam version 4.2.2, if non-SEP sesam data is stored on the same volume as the SEP sesam data store, then a SEP sesam storage license is required for this data. Now only SEP sesam data is counted.


Der Rücksicherungloglevel wird über die Expertenoptionen im Rücksicherungsassistenten eingestellt, wie in diesem Screenshot zu sehen ist:
The method for calculating the required disk space changed with SEP sesam version 4.4. It is now possible to store non-SEP sesam data on the same partition as the data store. The new formula is as follows:<br><br>
<tt>space occupied by Sesam + free disk space > DS capacity</tt><br><br>


[[Image:Loglevel_restore.jpg]]
where "DS capacity" is the configured capacity value in SEP sesam's data store configuration.<br><br>


=== Virenscanner Exclude Empfehlung für SEP sesam ===
{{Box Hint|SEP sesam expects the configured data store space to be available|
Anti Virenscanner können sich negativ auf den Backup und Restore Betrieb auswirken.
It is essential that the value of volume size of non-sesam data is always larger than the data store capacity value!
If the configured data store capacity is not completely available for SEP sesam (i.e., if the non-sesam data occupies more space), backup or migration tasks will fail, even if there is free space on disk.}}


  <!-- The "Positive Capacity" and "Negative Capacity" images are identical? -->


'''Auswirkungen:'''<br>
[[Image:datastorePositive.png|500px]][[Image:datastoreNegative.png|500px]]
* GUI ist sehr langsam oder bleibt immer wieder für mehrere Sekunden hängen
[[File:datastorePositiveError2.png|500px]]
* Plötzlicher Abbruch von Backup oder Restore Aufträgen
* Verminderter Datendurchsatz und Geschwindigkeit


<br><br>
Example:


'''Lösung:'''<br>
    Volume size:     10 TB
Verwenden Sie im Virenscanner Ausschluss Regeln für SEP sesam.
    Used by Sesam:    4 TB
    Used by non Sesam 3 TB
    Free disk space:  3 TB
    ======================


    DS capacity:      6 TB
    4 TB + 3 TB    > 6 TB:  -> Backup can start
    ----------------------
    DS capcity:      8 TB
    4 TB + 3 TB    < 8 TB:  -> Backup will fail


Dazu müssen folgende Objekte von jeglichen Virenscanner Aktivitäten ausgeschlossen werden:
For example, data store reports the following error:


  Not enough disk space could be freed to reach high water mark of -100GB for data store Data-Store.
  (Data store: Data-Store. Free space: 696GB . Freed: 3GB). <!-- Is this how the actual message is reported? -->


Alle [[Admin_Handbuch#SEP_sesam_Verzeichnis_Struktur|SEP sesam Installationsverzeichnisse]] auf dem Backup Server, Client und RemoteDeviceServer:
'''Solution''': You have to correct the capacity value of your data store.
* SESAM_BIN Verzeichnis inkl. aller Untervzeichnisse
* SESAM_VAR Verzeichnis inkl. aller Untervzeichnisse




DataStore auf dem Backupserver und RemoteDeviceServer:
* Jedes Volume, auf dem ein DataStore abgelegt wurde, muss vom Virenscanner ausgeschlossen werden


=== How do I determine the number of SID for Oracle? ===


Alle SEP sesam Prozesse auf dem Backup Server, Client und RemoteDeviceServer:
'''View the list of the operating system's running processes'''
* Schließen Sie Alle Executable Files aus folgenden Verzeichnissen aus:
<SESAM_ROOT>/bin/sesam/*.*
<SESAM_ROOT>/bin/sms/*.*


If an Oracle instance is running, the system monitor will also be running. The name of the Oracle process always contains part of the instance name. The common form is <tt>ora_<process_name>_<sid></tt>


Alternativ kann bei einigen Virenscannern in den Exclude Regel Einstellungen die Option "Child Prozess Monitoring" deaktiviert werden.<br>
;Example:
Dann müssen nur die folgenden SEP sesam Prozesse ausgeschlossen werdern:<br>
oracle@myhost:/ ps -ef | grep smon
oracle 23557 11596 0 Dec 19 ? 0:22 ora_smon_rac1


# Windows:
In this case, the SID is rac1.
sm_main.exe
sm_ctrld_main.exe
sm_db_main.exe
sm_passd.exe
sm_rmi_main.exe
sm_sepuler.exe
sm_sms_main.exe
sm_data_server.exe
sm_stpd_main.exe
sbc.exe


# Linux:
'''Check the oratab'''
sm_qm_main
sm_ctrld_main
sm_db_main
sm_passd
sm_rmi_main
sm_sepuler
sm_sms_main
sm_data_server
sm_stpd_main
sbc


=== Was ist zu beachten, wenn man den SEP sesam Server in einer VM installiert? ===<!--
Open the oratab in <tt>/var/opt/oracle</tt>. You will find the name of the instance and the Oracle home for automatically starting Oracle instances.
Grundsätzlich empfehlen wir nicht den SEP sesam Server innerhalb einer virtuellen Umgebung zu betreiben. Ein Grund dafür ist die Performance, denn wenn der SEP sesam Server ein Backup ausführt, belegt sowohl der SEP sesam Client als auch der SEP sesam Server sehr viel CPU Leistung.  


Ein anderer noch viel wichtigerer Grund ist der Aufwand bei der Wiederherstellung.  
;Example:
{{Box_Attention||Falls nur Sicherungen auf die lokale Storage des Hypervisors durchgeführt werden, kann im Falle des Defekts dieser Storage der SEP sesam Server nicht wiederhergestellt werden, da dieser durch den Defekt ebenso verloren gegangen ist.}}
oracle@myhost:cat /var/opt/oracle/oratab
rac1:/opt/app/oracle/product/10.2.0/db_1:N


'''View the parameter file'''


In the Oracle home under dbs or database, you will find either <tt>init<sid></tt>.ora or the relevant SP file. The parameters of the instance are stored here. <!-- Previously it said: Here the parameterization of the instance is stored  -->The db_name and instance_name parameters provide information about the database name and SID.


-->
'''Sign in on the instance as DBA and query the relevant views'''


=== Die Berechnung der DataStore Kapazität (Berechnung des freien Platzes und Lizenz Prüfung) ===
In SQL*Plus as DBA-User: SQL
Datastore Fehlermeldung:
  1. SHOW parameter db_name
2. SHOW parameter instance_name


'''ERROR: Not enough disk space could be freed to reach high water mark of -100 GB for data store Data-Store. (Data store: Data-Store. Free space: 696 GB. Freed: 3 GB).'''
The following statements can be used from every tool
1. SQL> SELECT instance_name FROM v$instance;
2. SQL> SELECT [name] FROM v$database;


Bis zur SEP Sesam Version 4.2.2 wurden alle Daten auf der Partition des DataStores gezählt, unabhängig davon, ob sie durch Sesam erzeugt wurden oder durch andere Programme / manuelles Kopieren. Dadurch flossen diese Daten als Nutzdaten in die Berechnung des Füllstandes und bei der Lizenzüberprüfung mit ein.<br>
For more information on SID, see: http://www.ordix.de/ORDIXNews/1_2004/db_1.html (German).
Seit SEP Sesam 4.4 wurde die Berechnung des Füllstandes geändert. Es ist jetzt möglich, auch nicht-Sesam-Daten auf der Partition des DataStores zu speichern, ohne dass diese in die Füllstandsberechnung und damit die Lizenzüberprüfung mit einfließen. Die Berechnungsformel lautet:<br><br>
"von Sesam belegter Platz" + "freier Plattenplatz" >= "DataStore Kapazität"<br><br>
wobei die "DataStore Kapazität" die in der Sesam Konfiguration des DataStores eingetragene Kapazitätsgrenze ist.<br><br>


[[Image:datastorePositive.png|500px]][[Image:datastoreNegative.png|500px]]
=== How do I configure SEP sesam profile to run automatically during login?===
[[File:datastorePositiveError2.png|500px]]


Beispiel:
Create a link in the directory <tt>/etc/profile.d/</tt>:


  Partitionsgröße:      10 TB
  ln -s /var/opt/sesam/var/ini/sesam2000.profile /etc/profile.d/sesam.sh
  Sesam Daten:          4 TB
  Nicht Sesam Daten:    3 TB
  Freier Plattenplatz:  3 TB
  ===========================
  DS Kapazität:          6 TB
  4 TB + 3 TB          > 6 TB:  -> Backups können starten
  ---------------------------
  DS Kapazität:          8 TB
  4 TB + 3 TB          < 8 TB: -> Backups werden nicht starten, da die Kapazitätsgrenze durch Sesam nicht genutzt werden kann


'''Sesam erwartet unter allen Umständen, dass der konfigurierte DataStore Platz (Kapazität) zur Verfügung steht.'''
=== How do I set permissions for a GUI Client? ===


{{Box Hint|Hinweis|Es ist entscheidend, dass der Wert "Partitionsgröße" - "Nicht Sesam Daten" immer größer ist, als der Kapazitätswert des DataStores.
Every GUI client must be allowed access to the SEP sesam Server using the program <tt><SESAM_ROOT>/bin/sesam/sm_setup</tt> with the following syntax:
Wesentlich ist, dass der konfigurierte Kapazitätswert vollständig für SEP sesam Daten zur Verfügung steht. Ist dies nicht der Fall, weil "Nicht-Sesam-Daten" zu viel Platz belegen, dann starten weder Sicherungen noch Migrationen - auch wenn auf der Partition noch sehr viel Speicherplatz zur Verfügung steht.}}
<br>
'''Lösung: Korrigieren Sie den Kapazitätswert Ihres DataStores !'''


== Netzwerk ==
sm_setup allow_gui -u (user) -c (hostname of GUI client} -m (permission: "admin" – all,
"operator" – configure and start backups, "restore" – start restores)


=== Wie prüfe ich die Erreichbarkeit eines Clients im Netz vom sesam-Server aus? ===
Example for a Windows client with the hostname "ruoffnix". The user "cr" will get all permissions for SEP sesam.


Wenn ein Client vom SEP sesam Server aus per [http://de.wikipedia.org/wiki/Nslookup nslookup] und [http://de.wikipedia.org/wiki/Ping_%28Daten%C3%BCbertragung%29 ping] auf Namen erreichbar ist, im sesam allerdings immer noch nicht funktioniert, prüft man am besten die Erreichbarkeit aus SEP sesam Server-Sicht. Dazu gibt man auf der Kommandozeile am SEP sesam Server folgenden Befehl ein:
<SESAM_ROOT>/bin/sesam/sm_setup allow_gui -u cr -c ruoffnix -m admin


Linux-Client:
After this call, the RMI server receives the changes and restarts. It should now be possible to restart the GUI. Start the GUI from the host "ruoffnix" user "cr".


  sm_ctrlc -l root {Client-Name} sbc
Be careful with upper and lower case letters and check FQDN or NOFQDN.


Windows-Client:
If there is an error, you can find the information on missing entries in "Current Messages" in the active SEP sesam GUI or by using <tt><SESAM_ROOT>/bin/sesam/sm_info p</tt>.


  sm_ctrlc -l system {Client-Name} sbc
Every GUI Client must have permissions entered into the SEP sesam Server. Go to the directory <tt><SESAM_ROOT>/bin/sesam</tt> and enter <tt>sm_setup</tt>. You will receive information regarding all possible combinations.
 
Die Ausgabe sollte wie folgt aussehen (Standardausgabe des sbc-Befehls am Client):
 
  smsrv:~ # sm_ctrlc -l root dbsrv.local sbc
  2007-10-26 13:29:11: sbc-3036: Info:    # @(#)SESAM BACKUP CLIENT FOR UNIX
  FILE SYSTEMS, VERSION: 1.8R2 Build: 1.165 20070829 18:45:14 Linux i586
  postfix #
  2007-10-26 13:29:11: sbc-3000: Info:
  usage:
    sbc -b|r|g|p|k|h  [-C <control_host>] [-d <device>] [-f <list_source>]
                      [-F <data_format>] [-i <saveset_info>] [-j <job_name>]
                      [-l <level>] [-L <control_target>] [-n <segment_number>]
                      [-o {options}] [-O <STOR/RETR_direct>]
                      [-R <restore_target>] [-s <saveset_spec>][-S
  <storage_node>]
                      [-t <tape_spec>] [-T <since_time>][-x <exclude_patterns>]
                      [-X <exclude list>] [-v <level>]
  # Backup  #  [<backup_source1>[ <backup_source2> <backup_sourceN>]] |
  # Restore #  [<restore_source1>[ <restore_source2> <restore_sourceN>]] |
  # Get    #  [<remote_file> [<local_file>]] |
  # Put    #  [<local_file> [<remote_file>]]
  {options}: comma separated list of
                        compress, encrypt[_plain]={passwd}
    only for backup:    verify                # verify data after backup
                        plain                # do not decend into subdirectories
                        hard=defer            # defer hardlinks
                        hard=sort            # expect i-node sorted input
                        plain                # decend into subdirectories
    only for restore:  rename, overwrite    # rename/overwrite if file exists
                        plain, tree          # restore plain/tree in target dir
                        next                  # start from subsequent tape
 
  2007-10-26 13:29:11: sbc-3001: Info:    Exiting.


Bei einem Netzwerkproblem mit der Namensauflösung könnte die Ausgabe so aussehen:
The complete command should be as follows:


  2007-10-26 13:25:59: scc-1128: Error:  Network communication problem: STDLIB
sm_setup allow_gui -u (system user that will be GUI administrator)
  error: 110 - Connection timed out. connect() call failed for host:  
-c  (hostname of server/client where the GUI will be opened)
  [dbsrv.sep.de].
-m (sets privileges for individual GUI users: "admin" – all, "operator" – creation and start of backups, "restore" – initiate restores)


...oder der SEP sesam Server darf sich nicht mit dem SEP sesam Client verbinden:
=== Problems when adding a new client  ===


  2007-10-26 13:28:29: scc-1128: Error:  Network communication problem: CTRLD
The following error messages may appear when adding new clients to the SEP sesam Server.
  reply: 2007-10-26 13:37:55: scd-1136: Error:  Host [smsrv.local] is not
  allowed to connect or security problem for user: [root].


=== Von SEP sesam verwendete Ports ===
'''Error Message''':
Folgende Ports müssen in der Standardkonfiguration zur Sicherung über eine Firewall eines Clients freigeschaltet werden:


====Steuerungkommunikation (Control Port)====
  No Access for Computer pc2 - please enter for pc1
  Programm:  verwendete Ports:            Control Port/Option:
ctrl        11301 (listen Port)          '''''-s''''' oder '''''-p 11301''''' (in GUI bei den Client Eigenschaften unter Access Optionen einzutragen)
smssh      11322 (listen Port)          '''''-p 11322''''' (in GUI bei den Client Eigenschaften unter Access Optionen einzutragen)


====Alternativer Control Port====
or
Um über einen anderen Port (nicht 11301) mit dem Client in Verbindung zu treten, müssen folgende Einstellungen definiert werden:
* Am Client muss der alternative Control Port in der Konfigurations Datei  <SESAM_VAR>/var/ini/sm.ini im Abschnitt [CTRLD_SERVER]
  eingetragen werden
* In der GUI -> Client Eigenschaften -> Optionen -> Access Optionen: -p <Port>


====Datentransfer (Data Port)====
  There is no SEP sesam installed on computer pc2, please install it.
Für den Datentransfer der Backup Daten zum Device Server stehen drei Optionen zur Verfügung. Unverschlüsselter Transfer über FTP oder HTTP und verschlüsselter Transfer über HTTPS. Die "verwendeten Ports" sind die Ports, auf denen der Device Server Daten empfängt.
Programm:  verwendete Ports:            Port Bereich:
  stpd      11001 (listen Port), 11002    11004-11009 (in GUI bei den Client Eigenschaften unter STPD Optionen einzutragen)
stpd_http  11000 (listen Port)          11000 (in der GUI ist beim Client kein Eintrag erforerlich)
stpd_https 11088                        11088 (in der GUI ist beim Client kein Eintrag erforerlich)
Im genannten stpd Beispiel der Ports 11004-11009 können über einen Client 3 gleichzeitige Sicherungen
durchgeführt werden.
Bei stpd_http und stpd_https erfolgt immer eine ein Port Kommunikation vom Client aus zum Zielport 11000/11088 des Device Servers. Dabei sind beliebig viele parallele Sicherungen möglich.<br>
Die Auswahl der Datenransfer Methode erfolgt durch die Selektion der entsprechenden Schnittstelle des Device Servers beim Start des Backups (Sofortstart oder auch zeitgesteuerter Start). Dazu sind vorher in den Eigenschaften des Device Servers im Feld "Schnittstellen" die passenden Einträge vorzunehmen, falls noch nicht vorhanden.
<br>
Programm:  verwendete Ports:            Schnittstellen am Device Server bcksrv1.sep.de :
stpd      11001                        bcksrv1 bcksrv1.sep.de
stpd_http  11000                        http://bcksrv1:11000 http://bcksrv1.sep.de:11000
stpd_https 11088                        https://bcksrv1:11088 https://bcksrv1.sep.de:11088
Generell sollten alle Kombinationen mit kurzen Server Namen und vollständigen DNS Server Namen eingetragen werden.


=== Benötigte Ports für Sicherung eines Clienten in einer DMZ (Firewall)===
The problem might be:
* There might be no SEP sesam Client software installed.
* The wrong system name has been entered in the SEP sesam GUI.
* There is an active firewall between the two computers. By default, a firewall is active on Windows XP with SP2 and SuSE Linux after 9.1.


Um einen Client hinter einer Firewall sichern zu können müssen mehrere Ports in der sesam GUI vorgegeben werden. Diese Ports werden dann in der Firewall freigeschaltet.
Solution:
* Install the SEP sesam software on the target client.
* If the name was entered incorrectly, delete it then re-enter it.
* Deactivate the firewalls or install the SEP sesam Firewall option.


'''Beispiel: unverschlüsselte Steuerungskommunikation und Datentransfer über FTP'''
'''Error Message''':


Dazu wird ein Controll Port und ein Data Port Bereich in der GUI definiert: Client -> Eigenschaften -> Optionen
Rights Restriction –  [pc1.domain.de system] in pc2:<SESAM_VAR>/var/ini/sm_ctrld.auth


*Access Optionen (Control Port): -s
Problem: The SEP sesam Server has no privileges to access the client.
'''Hinweis:''' Mit dem Schalter "-s" wird der Default Control Port 11301 verwendet. Alternativ kann auch ein Eintrag von "-p 11301" erfolgen.<br>
<br>
Der Schalter in den "Access Optionen" steht immer im direkten Zusammenhang mit den gewählten Einstellungen für den "Zugriffsmode"auf dem Reiter "Client" in den Client Eigenschaften.


*STPD Optionen (Data Port Bereich): 11004-11009
Solution: Enter the value in the [___] into the client's <tt><SESAM_VAR>/var/ini/sm_ctrld.auth</tt>.
'''Hinweis:''' Für eine Client Sicherung werden immer 2 Data Ports benötigt. Bei diesem Beispiel mit den Data Ports 11004-11009 können von einem Client 3 gleichzeitige Sicherungen durchgeführt werden.


[[Image:Client_Optionen.jpg]]
'''Error Message''':


Die nachfolgende Grafik soll den Verbindungsweg sowie den Portbereich veranschaulichen:<br><br>
Test backup from pc2 does not restore to pc1 - please verify ( ping, DNS, local STPD)
[[Image:ServerClient_de.jpg]]


Somit muss der SEP sesam Client für eingehende Verbindungen vom SEP sesam Server immer den Port '''11301''' und alle Ports aus dem oben definierten Bereich erlauben.
Problem: The connection between client and server is not functioning.


Wenn ein Data Mover mit einem OES-NetWare (6.5/6.0) Server kommunizieren soll, der sich innerhalb einer DMZ befindet, muss nur der folgende Port für den TSA freigegeben werden: '''40193'''
Solution: Check with the help of the <tt>nslookup</tt> command if the name resolution "Forward" with and without FQDN as well as "Reverse" is correct.
====Firewall Einstellungen====
Der Controll Port '''11001''' überträgt nur zu Beginn und bei Ende einer Sicherung Daten.
{{Box_Attention|Achtung|
Wenn kein Traffic über einen Port läuft darf die Firewall die Verbindung nicht schließen! Wird ein Port von der Firewall zu früh geschlossen, bricht die Sicherung fehlerhaft ab.<br>
Dazu in den Einstellungen der Firewall die "Timeouts" sehr großzügig einstellen oder abschalten.
}}
Des weiteren muss für alle Ports die Übermittlung des OOB-Signals auf der Firewall aktiviert sein. (ab SEP sesam Version 4.2.2.18 nicht mehr erforderlich)


=== SEP sesam mit Nagios überwachen ===
'''Important:''' Check on the SEP sesam Server AND on the SEP sesam Client
Im Rahmen von Projekten werden wir immer wieder auf Möglichkeiten der Abfrage von Daten aus dem Sesam angesprochen, um diese für Reports oder
Monitoring-Systeme aufzubereiten.


{{Box_Attention|Achtung - Disclaimer|
        nslookup {client}
Weder Monitoring-Systeme wie Nagios sind Bestandteil der SEP sesam Software, noch die Programme und Skripte, die Daten aus der SEP sesam-Datenbank abfragen, sind Teile von SEP sesam-Modulen. Die SEP AG übernimmt daher keine Garantie für eine fehlerfreie Funktion dieser Skripten in anderen Netzwerkumgebungen. Somit besteht für diese kundenspezifischen Anpassungen auch kein Support.}}
        nslookup {IP-Address of client}                        # important reverse lookup
        nslookup {SEPsesam Server name}
        nslookup {IP-Address of SEPsesam Server}               # important reverse lookup


Example: check ''mysesam'' name resolution and reverse lookup:


* SEP sesam Nagios Plugin von Netways
      #>nslookup mysesam
Die Firma [http://www.netways.de/ NETWAYS GmbH] hat ein Nagios Plugin für SEP sesam unter Open Source entwickelt und stellt dieses kostenlos zur Verfügung. Binden Sie das Plugin in Ihre Nagios-Umgebung ein und testen Sie es.
      Server:   dns.domaine.de
      Address:  192.168.1.254


{{Box_Hint|Note|Da sich in der Version 4.0 einige Tabellen in der SEP sesam Datenbank geändert haben, existieren zwei verschiedene Versionen des Plugins, für Version 3.6 und 4.0.}}
      Name:    mysesam.domaine.de
      Address:  192.168.1.1


Download: http://download.sep.de/utils/nagios/
      #>nslookup 192.168.1.1
      Server:   dns.domaine.de
      Address: 192.168.1.254


      Name:    mysesam.domaine.de
      Address:  192.168.1.1


* Demo Skripten aus Projekten
If DNS is not being used and the verification is taking place over the <tt>etc/hosts</tt> file, use ping to verify individual clients.
In Projekten sind einige Skripten entstanden und teilweise sehr spezifisch an die entsprechenden Kundenumgebungen angepasst worden. Es kann daher keine Garantie dafür übernommen werden, dass diese ohne Anpassungen in anderen Umgebungen fehlerfrei lauffähig sind. Die Skripten im Tarball http://download.sep.de/utils/nagios/SesamToNagios_DemoScripts.tgz dienen also ausschließlich als Beispiel, wie man Daten aus der Sesam-Datenbank abfragen kann und im Fall von Nagios Ergebnisse aus einem Skript heraus an Nagios übergibt.


=== How can I install the freeware version of SEP sesam on SuSE LINUX 10.0 Prof. Community Version?===


Hier gibt es ein Script das ein .status file für check_mk konform ausgibt:
The installation can be accomplished using YasT. If there is no SUN Java currently running on your computer, it will be automatically selected by YasT. In addition, SEP sesam can be installed using the <tt>rpm -U <sesam serverpackage></tt>.


https://wiki.mhcsoftware.de/sep_sesam_check
=== How do I use the Nagios plugin from Netway to query and monitor the SEP sesam database? ===


=== Wie richte ich eine UNC Pfad Sicherung von einer CIFS Freigabe ein? ===
{{Box_Attention|Attention – Disclaimer|
Open source monitoring tools like Nagios are not part of, nor are they supported by, SEP AG and/or its partners and subsidiaries. Neither are other programs or scripts which query data from the SEP sesam DB or any other SEP sesam module that are not specifically distributed by SEP AG. SEP cannot and will not make any guarantees or warranties as to the usability or functionality of such scripts. Therefore, for obvious reasons, SEP cannot offer support for any of these customer and client designed and implemented tools or programs. Consequently, there is no support for the client specific programs.}}


* In diesem Beispiel wird vorausgesetzt, dass der SEP sesam Server oder der SEP sesam Client ein Windowssystem ist.
[http://www.netways.de/ NETWAYS GmbH] has developed an open source database query routine for SEP sesam – the '''Nagios plugin'''. In accordance with the OSF foundation rules, this is a free software package and comes with the standard disclaimers regarding warranty, usability and functionality. In other words, use it for free at your own risk.
* Alle Rechte bzw. ACL's der gesicherten Dateien werden dabei nicht berücksichtigt.
* Für ein NetApp CIFS Backup verwenden Sie bitte [[NetApp-CIFS-Backup|diesen Artikel]].


{{Box_Hint|Note|Since many names of parameters in the SEP sesam database have changed in version 4.0, you have to choose the relevant version of the plugin. You can download it [http://download.sep.de/utils/nagios/ here].}}


Unter Windows laufen die Dienste - und damit auch die SEP sesam Prozesse - standardmäßig unter dem speziellen SYSTEM-Account.  
'''Demo scripts from projects'''
Dieser Account besitzt für lokale Zugriffe alle Rechte, aber aus Sicherheitsgründen keine Rechte für nicht lokale Zugriffe, wie z.B. dem Zugriff auf Netzlaufwerke. <br>
Various scripts have been written for specific projects to allow customers to query (retrieve information from) the SEP sesam DB. These scripts are very specific to the client environments and are in no way guaranteed to work in other environments. Sample scripts to query the SEP sesam database have been written illustrating the use of the Nagios methodology and are meant to be used for demonstration purposes only. They can be found at this [ http://download.sep.de/utils/nagios/SesamToNagios_DemoScripts.tgz third party site].
Für den Zugriff auf Netzlaufwerke sind folgende Einstellungen anzupassen:


* Den SEP sesam-Dienst für den Klienten unter dem der Auftrag angelegt wird, unter einem Administrator-Account laufen lassen (services.msc -> SEP sesam Server -> Anmelden als "Administrativer" Account), der Schreib- und Leserechte für das Netzlaufwerk besitzt.
== GUI==
* Die Freigabe des Netzlaufwerks so erweitern, dass keine Anmeldung für das lesen und schrieben des Laufwerks erforderlich ist. Testen kann man das durch öffnen des freigegebenen Pfades auf dem Backupserver mittels des Windows-Explorers. Sollte dann ohne Abfrage eines Benutzers oder Passworts der Inhalt des Pfades angezeigt werden, kann dieser UNC Pfad als Quelle für den Sicherungsauftrag benutzt werden.


Seit Windows 2000 gibt es keine Möglichkeit mehr den zugeordneten Laufwerksbuchstaben zu verwenden. Stattdessen müssen die Pfade in [http://de.wikipedia.org/wiki/Uniform_Naming_Convention UNC]-Notation angegeben werden. Die Sicherung erfolgt dann über den UNC-Pfad, z.B. {{Path|//fileserver/install/treiber}}.
=== How do I set a specific language for the SEP sesam GUI? ===


* Beispiel eines Sicherungsauftrages konfiguriert in der SEP sesam GUI:
By default, the SEP sesam GUI always starts with the language of the operating system. This can be changed by adjusting the parameter <tt>-r</tt> of the GUI client. The parameter can be used when calling the GUI directly (i.e. on Linux) or when editing the link itself. The following settings are possible (do not use space after the parameter!):
-rde
-ren
-ren_us
-ren_gb


[[Image:Unc path backup.JPG]]
The first option represents German. The other three options represent English: the first English option shows time in 24-hour format whereas the second and the third option show time in the 12-hour format (AM and PM).


Voraussetzung: Vom Sesam-Client muss sich das Netzlaufwerk, das eingebunden werden soll, als Administrator ohne Abfrage von Username und Password einbinden lassen. Sollte dies nicht der Fall sein, so ist die Freigabe am bereitstellenden Rechner zu ändern.
=== How to set Chinese fonts? ===


{{Box Attention|Achtung|Bei Sicherung von UNC Pfaden muss die ''VSS'' Funktion deaktiviert werden.
The default GUI font type 'Tahoma' does not supply Chinese characters. The default type can be modified with the entry 'key= default_font[_...]' in the SEP sesam 'defaults' table.


Nur ein Pfad pro Auftrag ist möglich.
As the available Chinese font sets depend on the operating system, the following platform specific keys are provided:
}}
* Windows: 'default_font_windows'
* Linux: 'default_font_linux'
* Common setting: 'default_font'


* Test der Sicherung auf der Kommandozeile:
Example to set 'MS Song' as 'default_font_windows':
sm_db "INSERT INTO defaults (key,user_name,value,host,protection)
VALUES ('default_font_windows','sesam','MS Song',NULL,NULL);"


Wie oben beschrieben, muss der SEP sesam Dienst unter einem Administrator-Account laufen.
=== Why can't I type anything into the GUI? ===
Anschließend kann man auf der Kommandozeile folgenden Befehl für ein Backup ausführen:
<!-- Is this obsolete -->
This may occur if Java 1.3<!-- version? --> is installed. In this case, install SUN JRE Java version 1.4.2.<!-- version? --> After installation, the Java link must be changed. In the <tt><SESAM_ROOT>/bin/sesam</tt> directory the Java link still refers to the old Java path. Change it to the new Java version and restart the server portion of the SEP sesam GUI by entering:


  C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(Hostname des Systems) sbc -b -s @test.save
  ./sm_main reload rmi
-v 2 \\fileserver\pub\customers


Für einen Restore folgenden Befehl verwenden:
With SLES9, Unicode became the standard character setting/coding for SuSE Linux. All SEP sesam versions for SLES9 and higher are in Unicode. Reset you system to Unicode or install a new toolkit.


C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(Hostname des Systems) sbc -r -s @test.save
=== Can I administer more than on SEP sesam server via the GUI? ===
-v 2 -R \\fileserver\pub\customers_restore


Sichert die Dateien unter {{Path|\pub\customers}} in die Datei (Saveset) <tt>test.save</tt> bzw. restauriert sie aus dem Saveset <tt>test.save</tt> in den Ordner {{Path|\pub\customers_restore}}.
To administrate more that one SEP sesam server, enable the ''Master GUI'' functionality.
====Wie richte ich einen UNC Pfad Exclude ein?====
Im Auftrag unter dem Punkt "Exclude-Liste" können UNC Pfad Excludes eingetragen werden.
Hier muss folgende Schreibweise (Syntax) beachtet werden:


Den auszuschließenden UNC-Pfad im Beispiel: \\server\share\subfolder1\subfolder2
'''Configuration'''
* '''Important!''' All SEP sesam Servers must be of the same version to use this functionality!
* No special license is required.
* Use the switch '''-M1''' to enable this function.


On a Windows system, edit the SEP sesam desktop shortcut and add the parameter '''-M1''' to the target:
"C:\Program Files\Java\jre6\bin\java.exe" -classpath sm_gui.jar;sm_lib.jar;
de.sep.sesam.gui.client.Frame -ucr -sbackupserver -lwindows -p11401 -P local -v2 -ren -M1).


'''Empfohlene Schreibweise'''
On a Linux system start the GUI executable <tt>/opt/sesam/bin/gui/sesam_gui</tt> with the parameter '''-M1''':
./opt/sesam/bin/gui/sesam_gui -M1)


UNC Exclude Syntax mit ''"slash"'':
== NETWORK==
//server/share/subfolder1/subfolder2


=== How can I verify that the SEP sesam server has full access to a specific client? ===


'''Alernative Schreibweise'''
Even if you can reach a client from the SEP sesam server with [http://en.wikipedia.org/wiki/Nslookup nslookup] and [http://en.wikipedia.org/wiki/Ping ping] over DNS names, it is still possible that the SEP sesam Server cannot connect to the client. In this case, check the availability of the client from the SEP sesam Server with the following command:


UNC Exclude Syntax mit ''"backslash"'' (Funktioniert ab Version 4.2.1.41):
'''For Linux/UNIX client:'''
\\\\server\\\share\\\subfolder1\\\subfolder2


== Linux ==
sm_ctrlc -l root {nameofclient} sbc


=== Wie kann man das sesam-Profile automatisch während des Logins ausführen lassen? ===
'''For Windows client:'''


Man muss einfach einen Link in das Verzeichnis /etc/profile.d/ setzen.
sm_ctrlc -l system {nameofclient} sbc


  ln -s /var/opt/sesam/var/ini/sesam2000.profile /etc/profile.d/sesam.sh
The output should be similar to the following standard output of the sbc command (example for a Linux client):


=== Backup Quelle und Exclude aus Datei verwenden unter Linux ===
  smsrv:~ # sm_ctrlc -l root dbsrv.local sbc
Wenn viele Verzeichnisse oder Dateien in eine Sicherung ein- bzw. ausgeschlossen (exclude) werden sollen, dann kann die maximale Eingabelänge (max. 255 Zeichen) überschritten werden. Um dieses Problem zu umgehen, bietet der Sesam die Möglichkeit in einer Datei eine Liste von Verzeichnissen und Dateien zu hinterlegen, die entweder gesichert oder ausgeschlossen werden sollen. Diese Datei ist auf dem Client zu erzeugen, auf dem die Sicherung ausgeführt werden soll.
  2007-10-26 13:29:11: sbc-3036: Info:    # @(#)SESAM BACKUP CLIENT FOR UNIX
  FILE SYSTEMS, VERSION: 1.8R2 Build: 1.165 20070829 18:45:14 Linux i586
  postfix #
  2007-10-26 13:29:11: sbc-3000: Info:
  usage:
    sbc -b|r|g|p|k|h  [-C <control_host>] [-d <device>] [-f <list_source>]
                      [-F <data_format>] [-i <saveset_info>] [-j <job_name>]
                      [-l <level>] [-L <control_target>] [-n <segment_number>]
                      [-o {options}] [-O <STOR/RETR_direct>]
                      [-R <restore_target>] [-s <saveset_spec>][-S
  <storage_node>]
                      [-t <tape_spec>] [-T <since_time>][-x <exclude_patterns>]
                      [-X <exclude list>] [-v <level>]
  # Backup  #  [<backup_source1>[ <backup_source2> <backup_sourceN>]] |
  # Restore #  [<restore_source1>[ <restore_source2> <restore_sourceN>]] |
  # Get    #  [<remote_file> [<local_file>]] |
  # Put    #  [<local_file> [<remote_file>]]
  {options}: comma separated list of
                        compress, encrypt[_plain]= {passwd}
    only for backup:    verify                # verify data after backup
                        plain                # do not decend into subdirectories
                        hard= defer            # defer hardlinks
                        hard= sort            # expect i-node sorted input
                        plain                # decend into subdirectories
    only for restore:  rename, overwrite    # rename/overwrite if file exists
                        plain, tree          # restore plain/tree in target dir
                        next                  # start from subsequent tape


'''Include:'''<br>In der zu erstellenden Datei (z.B. <tt>/etc/sesam/backupfiles.txt</tt>) werden die Backupquellen in jeweils einer separaten Zeile angegeben:
  2007-10-26 13:29:11: sbc-3001: Info:    Exiting.


/lib
When a network problem occurs, the output may look like:
/usr/share
/usr/bin/a2ps
/srv/Dos6.22.img
/var/opt/sesam/var/ini


  2007-10-26 13:25:59: scc-1128: Error: Network communication problem: STDLIB
  error: 110 - Connection timed out. connect() call failed for host:
  [dbsrv.sep.de].


{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"
Or a connection from SEP sesam Server to the SEP sesam Client may be forbidden:
| style="background-color: #DEB0B0;" | <font size="-1"><b>Achtung</b></font>
|-
|
Wildcards sind innerhalb der Datei oder Verzeichnispfade nicht erlaubt.
|}


  2007-10-26 13:28:29: scc-1128: Error: Network communication problem: CTRLD
  reply: 2007-10-26 13:37:55: scd-1136: Error: Host [smsrv.local] is not
  allowed to connect or security problem for user: [root].


Im Sicherungsauftrag ist dann in das Feld '''Quelle''' mindestens ein Eintrag zu machen. Z.B. kann hier die Include-Datei selbst angegeben werden. Damit ist diese ebenfalls im Backup mit enthalten (z.B. <tt>/etc/sesam/backupfiles.txt</tt>). Im Register '''Optionen 1''' des Sicherungsauftrages ist im Feld '''Sicherungsoptionen''' folgender Eintrag zu machen:
=== Which are SEP sesam default TCPIP ports? ===
When using the standard configuration for SEP sesam, the following ports must be opened to allow backups:
program    used ports                    control ports
stpd      11001, 11002 (listen port)    --> 11003-11006 (enter in SEP sesam GUI for 2 parallel streams)
ctrl      11301 (listen port)          --> 11302-11305 (enter in SEP sesam GUI)
<!-- Was ist richtig bei ctrl- Ports, "11302-11305" oder "-s" ? In der FAQ German steht nur "-s". -->


-f /etc/sesam/backupfiles.txt
First, the port range needs to be adjusted. This can be done in the SEP sesam GUI via the options of the relevant clients by using the "Access Options" and "STPD options." The following ports must be opened to back up a client behind a firewall:


Damit werden neben der Angabe in der Sicherungsquelle alle Elemente, die in dieser Datei aufgeführt sind, gesichert.
'''Control communication (control port)'''


'''Exclude:'''<br> Beim Exclude sieht es ähnlich aus. Die Datei heißt z.B. <tt>/etc/sesam/excludefiles.txt</tt>. Jede Datei oder Verzeichnis welches ausgelassen werden soll, ist in eine separate Zeile zu speichern:
program:    used ports:                  control port/option:
ctrl        11301 (listen Port)          '''''-s''''' or '''''-p 11301''''' (GUI -> client properties ->tab: "Options" value: "Access Options")
smssh      11322 (listen Port)          '''''-p 11322''''' (GUI -> client properties ->tab: "Options" value: "Access Options")


\./tmp$
'''Alternative control port'''
\./home/Max Mustermann/videos.zip$
\./home/Max Mustermann/Verschiedene Versicherungsunterlagen/Abschluss für Geschäftsjahr 2006$


Alternatively, a "-p 11301" entry can be used instead of "-s". To use an alternative control port on the client side, change the following:
* on the client side edit the config file <SESAM_VAR>/var/ini/sm.ini, change the CTRL_PORT in section [CTRLD_SERVER] to the alternative port value
* GUI -> client properties ->tab: "Options" value: "Access Options" "-p <alternative port>"


{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"
'''Data transfer (data port)'''
| style="background-color: #DEB0B0;" | <font size="-1"><b>Achtung</b></font>
Three different options are available for data transfer to the device server: unencrypted transfer over FTP or HTTP and encrypted transfer over HTTPS.
|-
program:  used ports:                   port range:
|
stpd      11001 (listen port), 11002    11004-11009 (GUI -> client properties ->tab: "Options" value: "STPD Options")
Bitte beachten Sie, dass alle Exclude Einträge als Regular Expressions angegeben werden müssen.
stpd_http  11000 (listen port)          11000 (non entry in GUI required)
|}
stpd_https 11088                        11088 (non entry in GUI required)


Two data ports are always required for client backup via FTP. Three parallel backups are possible in the STPD sample (port range: 11004-11009).


Im Sicherungsauftrag steht z.B. als Quelle ''all'', da das gesamte System gesichert werden soll, außer den Einträgen in der Exclude Datei. Im Gegensatz zum Include, bleibt das das Feld '''Exclude-Liste''' leer. Im Register '''Optionen 1''' des Sicherungsauftrages im Feld '''Sicherungsoptionen''' ist folgendes einzutragen:
The selection of the data transfer method takes place during the start of the backup task. The TCPIP ports for data transfer will be used according to the selected interface of the device server.


-X /etc/sesam/excludefiles.txt
You must configure the interface values of the device server in the properties of the server in the sesam user interface (if it does not already exist).


Der Sesam wird nun beim Starten des Auftrages automatisch alle Dateien und Verzeichnisse in dieser Datei berücksichtigen und nur diese nicht mitsichern.
program:  used ports:                  interfaces for  device server bcksrv1.sep.de (sample name) :
stpd      11001                            bcksrv1 bcksrv1.sep.de
stpd_http  11000                        http://bcksrv1:11000 http://bcksrv1.sep.de:11000
stpd_https 11088                        https://bcksrv1:11088 https://bcksrv1.sep.de:11088


=== SEP sesam GUI unter Linux installieren ===
Add the short name and the FQDN of the server to the interface values.


Um eine '''SEP sesam''' GUI auf einem Linux System zu installieren wird auf diesem das aktuelle Installationspaket benötigt. Unter folgendem Link sind die aktuellen Pakete für die verschiedenen Distributionen zu finden [http://download.sep.de/linux/ download.sep.de], wie z. B. ''sesam_gui-4.0.2-10.sles11.i586.rpm''. Dieses Packet nach dem Download installieren, in unserem Beispiel wie folgt:
{{Box Hint|Hint|To use HTTPS with a device Server in which IP V6 is  deactivated, insert the entry "STPD_DISABLE_IPV6<nowiki>= </nowiki>1" into the config file "<SESAM_VAR>/var/ini/stpd.ini" of the device Server in section [STPD_Server]" .}}


rpm -Urh sesam_gui-4.0.2-10.sles11.i586.rpm
'''Unencrypted control communication and data transfer via FTP'''


Anschließend bitte prüfen ob der sesam Server erreichbar ist mit:
Define a control port and data port range in GUI: ''client'' -> '''Properties''' -> '''Options'''. With the "-s" switch, the default control port 11301 will be used. Alternatively, a "-p 11301" entry can be used instead of "-s".


nslookup "Name des sesam Servers"
The value for "Access options" always depends on the selected "Access mode" value in client properties.


Jetzt noch eine Verknüpfung erstellen mit folgendem Pfad:
[[Image:client_conf_ctrl_001_en.jpeg]]<br>
[[Image:client_conf_ctrl_002_en.jpeg]]
<br>
<br>
If no traffic is running on a port, it is necessary to check whether "Timeouts" are considered in the firewall options. This specifically affects port '''11001''' because it only transfers data at the beginning and end of a backup.


/opt/sesam/bin/gui/sesam_gui -S "Name des sesam Servers"
Transfer of the OOB-signal must be activated for all ports.
fertig


=== Probleme, die nach der Installation des SEP sesam RPM-Pakets auftreten können ===
If you want to make a data mover communicate with an OES-NetWare (6.5/6.0) Server that is inside a DMZ, only port '''40193''' needs to be unlocked for the TSA.


Folgende Meldung erscheint beim Starten der SEP sesam GUI:
The image below shows the connection as well as the port range:<br><br>
[[Image:ServerClient_en.jpg]]


  Der Verbindungsaufbau zum Server sesamserver wurde abgelehnt.
This means that the SEP sesam Client must always allow port '''11301''' and all ports from the range defined above for incoming connections by the SEP sesam Server.
  Die letzte Meldung lautete:


  java.rmi.RemoteException: Connection refused to host: [SEP sesam-Server]; nested
'''Encrypted control communication and data transfer via FTP'''
   exeption is:
<br>
  java.net.Connect.Exception: Connection refused
Define a control port and data port range in GUI: ''client'' -> '''Properties''' -> '''Options''':<br>
* Access mode:     SMSSH
* Access options: -p 11322
* STPD options:   11004-11009
<br>
<br>
[[Image:client_conf_smssh_001_en.jpeg]]<br>
[[Image:client_conf_smssh_002_en.jpeg]]
<br>
<br>
The public key of the SEP sesam Server will be transferred during client installation (Windows) or by the command "sm_setup set_client <SEP sesam server>" to the client and the content will be inserted into the <tt><SESAM_VAR>/var/ini/sm_ssh/authorized_keys</tt> file on the client side. Depending on your firewall configuration, the transfer may fail. In this case, transfer the key and insert the content manually:
* copy the public key of SEP sesam server <tt><SESAM_VAR>/var/work/sm_ssh_id_rsa.pub</tt> to USB stick or any other media
* on client side insert the content of <tt>sm_ssh_id_rsa.pub</tt> into <tt><SESAM_VAR>/var/ini/sm_ssh/authorized_keys</tt>


Bitte prüfen Sie, ob die SEP sesam RMI Serverkomponente aktiv ist und ob der verwendete Port übereinstimmt.
{{Box_Attention|Attention|
No additional <CR> or <LF> or any other control character will be inserted.
}}


Programm wird beendet.
=== Why do I get the error: 'Network communication problem: SOCKET error: 10038 – The descriptor is not a socket' when I try to connect to a client?===


Bei dieser Fehlermeldung sollte zuerst die Java Version mit folgendem
The Layered Service Provider (LSP) chain is defective or damaged. The cause can be an antivirus program or a virus. Another option is that the DLLs were switched during installation or uninstallation. This results in sub-processes not being able to inherit/open your socket handles.
Befehl überprüft werden:


  /opt/sesam/bin/sesam/java -version
In this example, the SEP sesam CTRL connection takes the SM_CTRLD_MAIN daemon call from SM_CTRLC, opens the necessary sockets and passes them onto the newly created sub-process SM_CTRLD. Due to the defective LSP, the sockets cannot use this information and return the following error during an operation such as setsockopt():


Sollte diese [[German_FAQ#Welche Java Version wird von SEP sesam benötigt?|Java Version]] nicht passen, muss sie aktualisiert werden
10038 – The descriptor is not a socket.


== Windows ==
Use the following free tools on the SEP sesam client:
=== Clientsicherung bricht nach starten der VSS-Writer mit 10061 ab ===
* lspfix.exe – identifies blocked DLL's, for example, bmnet.dll and removes them
Clientsicherung bricht nach starten der VSS-Writer mit "Access to the requested object is not possible. connect() failed. (10061)Es konnte keine Verbindung hergestellt werden, ab da der Zielcomputer die Verbindung verweigerte." ab, hat aber zuvor die VSS Writer auf dem System schon gestartet "ist im Backupprotokoll zu sehen".
* listdlls.exe – checks the chain of DLLs (alternatively use sm_list -f {PID of SM_CTRLD_MAIN})


Sollte das System eine virtuelle Maschine sein, kann folgender Workaround Abhilfe schaffen.
Corrective measures:


The following procedure to edit the Windows Registry should help you disable Task Offloading in Windows.
# Check if the Layered Service Provider (LSP) links with lspfix.
# Check the sm_ctrld[_main].exe indirectly used DLLs with listdlls.
# Remove the conflicting DLL with lspfix.


1. Click Start -  Search and type “regedit” (Start – Run in Windows XP/2003/2000). This launches the WIndows Regis
An example of a correct listdlls for an environment:


try.
      #> listdlls.exe sm_ctrld
      D:\kit\su\src\gui>listdlls sm_ctrld
      .
      ListDLLs v2.25 - DLL lister for Win9x/NT
      Copyright (C) 1997-2004 Mark Russinovich
      Sysinternals
      ------------------------------------------------------------------------------
      sm_ctrld_main.exe pid: 4872
      Command line: D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe -D
      .
      Base Size Version Path
      0x00400000 0x23000
      D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe
      0x7c910000 0xb7000 5.01.2600.2180 D:\WINDOWS\system32\ntdll.dll
      0x7c800000 0x106000 5.01.2600.2945 D:\WINDOWS\system32\kernel32.dll
      0x71a10000 0x17000 5.01.2600.2180 D:\WINDOWS\system32\WS2_32.dll
      0x77be0000 0x58000 7.00.2600.2180 D:\WINDOWS\system32\msvcrt.dll
      0x71a00000 0x8000 5.01.2600.2180 D:\WINDOWS\system32\WS2HELP.dll
      0x77da0000 0xaa000 5.01.2600.2180 D:\WINDOWS\system32\ADVAPI32.dll
      0x77e50000 0x91000 5.01.2600.2180 D:\WINDOWS\system32\RPCRT4.dll
      0x719b0000 0x40000 5.01.2600.2180 D:\WINDOWS\system32\mswsock.dll
      0x66710000 0x59000 5.01.2600.2180 D:\WINDOWS\system32\hnetcfg.dll
      0x77ef0000 0x47000 5.01.2600.3099 D:\WINDOWS\system32\GDI32.dll
      0x7e360000 0x90000 5.01.2600.3099 D:\WINDOWS\system32\USER32.dll
      0x719f0000 0x8000 5.01.2600.2180 D:\WINDOWS\System32\wshtcpip.dll


2.  In the registry, navigate to the following registry key
After removing the defective DLL, the socket can be inherited by the sub-process SM_CTRLD.


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
== SEP SESAM SPECIFIC==


    HKEY_LOCAL_MACHINE
=== What is SEP sesam ''NEWDAY''? ===
        \SYSTEM
              \CurrentControlSet
                  \Services
                        \Tcpip
                            \Parameters


3. In the right pane, right-click and select New – DWORD (32-bit value) and set its name as “DisableTaskOffload” and set its value as “1“. Setting “1” will disable TCP Task offoading. Should you like to enable it back at a later time, set it “0” or simply delete the this key.  
SEP sesam NEWDAY gives system administrators the flexibility to extend backup routines to run after midnight and retain the backup date of the prior day. This is very useful when the clients requiring backup exceed the time allotment between the end of day and midnight. SEP sesam defines the period between two NEWDAY events as one backup day. This event is predetermined at the installation and may need to be adjusted for specific requirements.


=== Clientsicherung scheitert mit WIN32 API error: 1450 - Nicht genügend Systemressourcen, um den angeforderten Dienst auszuführen. ===
When a daily NEWDAY event is set to 08:00, the backup day lasts until the morning of the next day 08:00 (8 a.m.). Backups that run after midnight – the real new day – will be administered (recorded) as a backup of the prior day.


Die Sicherung eines Clients endet mit der folgenden Fehlermeldung im Backup Protokoll:
'''Example''': The system administrator schedules a backup at 19:00 (7 p.m.) and the estimated finish time is 02:00 (2 a.m.) By selecting a NEWDAY event at 08:00 (8 a.m.), the job has time to complete and all data is stored in the backup file of the day on which the job was started.<br>
Weekends are often used for full backups. In such a case, you should interrupt the NEWDAY  event on the weekend. Define the execution as a weekly event but without execution since a [[The_Backup_4.0#Full-.2C_Diff-.2C_Inc-.2C_Copy-Backup|full backup]] is performed instead.


sbc-1148: Error:  W2KSS Error: [WIN32 API error: 1450 - Nicht genügend Systemressourcen, um den angeforderten Dienst auszuführen.
Additionally, a NEWDAY event carries out the following tasks:
Cannot store registry key: [SOFTWARE]. RegSaveKey() call failed in BackupRegistry().].


der Grund hierfür ist die zu kleine Größe der Registry/Paged Memory Area. Dieses Problem betrifft nicht nur
* completion of all running backups
SEP sesam, sondern auch andere Backup Tools wie z.B. NTBackup. Der folgende Technet Artikel erläutert die
* restarting the SMS- and STPD-processes
Lösungsansätze für verschiedene Windows Versionen:
* erasing files and database entry backup files that no longer exist
* calculating future tasks in the calendar


http://support.microsoft.com/kb/304101/en-us
You can configure the NEWDAY to a time other than 8 a.m., but you should not deactivate the NEWDAY event because the internal administration jobs in the system and database cannot work without it. This may eventually result in malfunctions in the SEP sesam system.


=== Client einrichten scheitert mit "Network communication problem: SOCKET error: 10038 - The descriptor is not a socket" ===
=== Is there an overview of SEP sesam services?===


Die Layered Service Provider (LSP) Chain ist gestört. Ursache kann ein Antivirus- oder auch Virus-Programm sein oder bei einer Installation bzw. Deinstallation wurden DLLs ausgetauscht. Die Folge ist, dass Prozesse ihre offenen Socket-Handles nicht mehr an Sohnprozesse vererben können.
There are different services depending on whether you dealing with a SEP sesam Server, a SEP sesam Client or a SEP sesam Remote Device Server. <!-- What is a tape server -> RDS? -->


Im Falle der sesam-CTRL-Verbindung nimmt der SM_CTRLD_MAIN-Dämon den Aufruf des SM_CTRLC entgegen, öffnet die für die Verbindung notwendigen Sockets und vererbt diese an den neu kreierten Sohnprozess SM_CTRLD. Aufgrund der gestörten LSP kann dieser die Sockets nicht verwenden und erhält bei einer Operation, z.B. setsockopt() die Fehlermeldung
The services can be found in the SEP sesam installation directory {{Sesamroot|/bin/sesam}}. To check the status of the services, use the following commands:
10038 - The descriptor is not a socket.


Überprüfen lässt sich das am besten auf dem Client mit den freien Tools:
* Linux/UNIX:


* [http://www.cexx.org/lspfix.htm lspfix.exe] - identifiziert blockierende DLLs, z.B. bmnet.dll und entfernt diese
./sm_main status
* [http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx listdlls.exe] - prüft die Kette der DLLs - (alternativ mit '''sm_list -f {PID des SM_CTRLD_MAIN}''')


* Windows:


Typisches Vorgehen:
sm_main status


1. Prüfen der Layered Service Provider (LSP) Chains mit lspfix
'''SEP sesam Server services'''
2. Prüfen der vom sm_ctrld[_main].exe indirekt genutzten DLLs mit listdlls
3. Konflikt DLL mit lspfix entfernen.


main    SEP sesam main processes
sepuler SEP Event calendar to control all tasks
db      SEP sesam databank services
qm      Queue Manager, administers backups, restores and devices
rmi    Server part of the graphical user interface
sms    Read/Write of SEP sesam Media
stpd    Linking protocol from the SEP sesam Client to the SEP sesam Server
passd  Security administration for SEP sesam
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client


Beispiel eines listdlls für korrekte Umgebung:
'''SEP sesam Client services'''
#> listdlls.exe sm_ctrld
D:\kit\su\src\gui>listdlls sm_ctrld
.
ListDLLs v2.25 - DLL lister for Win9x/NT
Copyright (C) 1997-2004 Mark Russinovich
Sysinternals
------------------------------------------------------------------------------
sm_ctrld_main.exe pid: 4872
Command line: D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe -D
.
Base Size Version Path
0x00400000 0x23000
D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe
0x7c910000 0xb7000 5.01.2600.2180 D:\WINDOWS\system32\ntdll.dll
0x7c800000 0x106000 5.01.2600.2945 D:\WINDOWS\system32\kernel32.dll
0x71a10000 0x17000 5.01.2600.2180 D:\WINDOWS\system32\WS2_32.dll
0x77be0000 0x58000 7.00.2600.2180 D:\WINDOWS\system32\msvcrt.dll
0x71a00000 0x8000 5.01.2600.2180 D:\WINDOWS\system32\WS2HELP.dll
0x77da0000 0xaa000 5.01.2600.2180 D:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 0x91000 5.01.2600.2180 D:\WINDOWS\system32\RPCRT4.dll
0x719b0000 0x40000 5.01.2600.2180 D:\WINDOWS\system32\mswsock.dll
0x66710000 0x59000 5.01.2600.2180 D:\WINDOWS\system32\hnetcfg.dll
0x77ef0000 0x47000 5.01.2600.3099 D:\WINDOWS\system32\GDI32.dll
0x7e360000 0x90000 5.01.2600.3099 D:\WINDOWS\system32\USER32.dll
0x719f0000 0x8000 5.01.2600.2180 D:\WINDOWS\System32\wshtcpip.dll


Nach Entfernen der störenden DLL kann der Socket ordentlich an den Sohnprozess SM_CTRLD übergeben werden.
main    SEP sesam main processes
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client


=== Exclude-Datei verwenden unter Windows ===
'''SEP sesam Remote Device Server services'''


Dieser Abschnitt beschreibt die Erstellung und Verwendung einer Exclude-Liste.
main    SEP sesam main processes
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client
sms    Read/Write of SEP sesam Media
stpd    Linking protocol from the SEP sesam Client to the SEP sesam Server
passd  Security administration for SEP sesam


Wenn viele Verzeichnisse von einer Sicherungsquelle ausgeschlossen werden sollen, wird auf dem zu sichernden Rechner eine Datei (mit der Endung .txt) hinterlegt, in der alle Verzeichnisse, die nicht mitgesichert werden sollen, stehen.
=== In ''Backups by state'', what do the flags in the column 'type' mean? ===


Z.B.:
The first letter shows the type of backup:


Auf dem zu sichernden Client wird im Verzeichnis
F/D/I/C:  Backup level (full, differential, incremental, copy)
{{path|C:\Programme\SEPsesam\var\ini}} die Datei {{path|exclude.txt}} erzeugt.
M:        Media event
N:        SEP sesam NEWDAY
S:        SEP sesam startup
X:       SEP sesam command event


In der {{path|exclude.txt}} steht folgendes:
The second letter is used when a database backup is performed. It has no significance for regular path backups.


  D:/DOWNLOAD
  HHot - online backup of a database
D:/PREKITS
  CCold - offline backup of a database
D:/Entwicklung
  D:/kit_2_3_1_7
  D:/kit_2_3_1_5
  D:/knoppix
D:/ACHIM
D:/gui
D:/Kunden Neue Ablage


Im Sicherungsauftrag steht als Quelle  D:
=== How do I configure a command event?===


Unter ''"Optionen 1"''  wird im Feld ''"Sicherungsoptionen"'' folgendes eingetragen:
To enable access of the SEP sesam Server from a client, a command must be entered from the administration console.


-X C:\Programme\SEPsesam\var\ini\exclude.txt 
'''Microsoft Windows Client'''


'''WICHTIG:'''
To set access rights for the user and command, use the following key: <tt>HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\{user}\{command}</tt>.
* In der Exclude-Datei (im obigen Beispiel "exclude.txt") bitte auf die Verwendung von "/" (Slash) achten - da kein "\" (Backslash) erlaubt!
* Jedes Verzeichnis bzw. jede Datei muss in einer eigenen Zeile angegeben werden, dies gilt auch für Pfade mit Leerzeichen.


{| WIDTH="95%" style="background-color: #E0E0FF; border: solid 2px #A0A0FF;"
# Call the Regedit editor. Go to <tt>HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\</tt> and create a new key called <tt>CommandEvents</tt>, if it does not already exist (right click and select "new Key").
|-
# Enter {user} and then {command} with the full path information as the key.
|
Achtung in der SEP sesam Version 3.4.1-69 muss mit einem doppelten Backslash (\\) statt dem einfachen Slash (/) gearbeitet werden!
(known bug)
|}


If there are any other commands present, the last command will be executed. If you use a wildcard (<tt>*</tt>), all commands will be executed.
Es wird in diesem Beispiel die gesamte Platte D: gesichert, ausgenommen die Verzeichnisse, die in der exclude.txt angegeben sind.


=== Wie kann man den SBC so einstellen, dass er die Excludeliste immer mit Filepattern (?,*) statt mit regulären Ausdrücken abarbeitet? ===
[[Image:Registryentry.JPG]]


In der Konfigurationsdatei {{path|<SESAM_VAR>/var/ini/sm.ini}} muss lediglich der
Below is an example for a registry file (*.reg) that allows all command events for the ''administrator'' and ''sesam'' user:
Eintrag
  [SBC_OPTIONS]
  EXCLUDE_MATCH=REGEXP
auf
  EXCLUDE_MATCH=PATTERN


geändert oder hinzugefügt werden.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\sesam\*]
[HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\Administrator\*]


'''Hinweis:''' Dieser Eintrag ist '''nur unter Windows''' gültig.
'''Linux/UNIX Client'''


=== Wie werden Archive Bits behandelt? ===
Copy the file <tt>sesam_cmdusers.allow</tt> from the {{Sesamroot|/skel}} directory to {{Path|/etc}} on the client and modify the file. You will now be able to enter a line for the user and command using the {<tt>User</tt>} {<tt>command</tt>} format. If you use a wildcard (<tt>*</tt>), all commands will be executed.


Seit der SEPsesam Version 3.4.1.67 werden ''Archive Bits'' nicht mehr für inkrementelle und differentielle Sicherungen auf Windows verwendet.  
'''Note''': No explicit permissions are required to execute SEP sesam commands such as <tt>sm_loader</tt>.


{| WIDTH="95%" style="background-color: #E0E0FF; border: solid 2px #A0A0FF;"
=== What happens when I set a profile? ===
|-
|
'''Hinweis:'''
Ab der SEP sesam Version 4.2.1 werden Dateisystem Sicherungen auf Microsoft Windows Rechnern immer mit Level COPY ausgeführt! Zum Einbeziehen von Dateien mit gesetztem 'Archive Ready' Attribut in die Sicherung dient die neue Option '-o add_archive_ready', zum Zurücksetzen der Archive Bits die Option '-o clear_archive'. Falls 'with_archive_bit' mit Wert 'yes' gesetzt wird, dann werden die Sicherungen mit Level FULL/DIFF/INCR jeweils mit Level COPY und den folgenden Optionen ausgeführt:
* FULL: -o clear_archive
* DIFF: -T {since_last_full} -o add_archive_ready
* INCR: -T {since_last_backup} -o add_archive_ready,clear_archive
|}


Die Benutzung der Archiv Bits kann mit dem folgenden Kommando gesetzt werden:
By setting a profile:
sql "update defaults set value='yes' where key='with_archive_bit'"
* the {{Sesamroot|/bin}} and {{Sesamroot|/var/db/}} directories (and their subdirectories) are added to the "<tt>$PATH</tt>" environment variable so that SEP sesam commands can be executed globally,
* you do not need to be in the actual "run directory".


Unter Windows werden dann je nach Sicherungstyp COPY/FULL/DIFF/INCR die Windows-Archiv-Bits der Dateien in der folgenden Weise berücksichtigt bzw. zurückgesetzt:
Set the profile as follows:


* COPY: Es werden alle Dateien gesichert, Archive Bits werden nicht berücksichtigt und auch nicht verändert.
'''Linux/UNIX'''
* FULL: Es werden alle Dateien gesichert, gesetzte Archiv Bit werden zurückgesetzt.
* DIFF: Es werden nur Dateien mit Archiv Bit gesichert, Archiv Bits wird nicht verändert.
* INCR: Es werden nur Dateien mit Archiv Bit gesichert und deren Archiv Bits werden zurückgesetzt.


Es ergeben sich daraus folgende, zu berücksichtigende Punkte:
Go to the directory {{Path|<SESAM_VAR>/var/ini}} and call:
. sesam2000.profile


# FULL-DIFF-INCR-DIFF-...-Ketten sind nicht möglich, da folgende DIFF-Sicherungen die vom INCR zurückgesetzten Dateien nicht mehr mitsichern!
'''Important!''' Do not forget the '''dot''' and the '''space'''!
# Werden Archiv Bits manuell oder durch andere Programme verändert, so wirkt sich dies auf die von SEP sesam in DIFF und INCR gesicherten Dateien aus!
# Können Archiv Bits nicht verändert werden, z.B. Read-Only Verzeichnisse, so führt dies zu Fehlermeldungen in FULL und INCR Sicherungen.


Auf Grund der obigen Punkte sollte nicht gemäß Archiv-Bit, sondern gemäß Creation- bzw. Modification-Zeit der Dateien gesichert werden!
Alternatively, use:
source sesam2000.profile


=== Wie kann man die Verwendung des Archive Bits vermeiden und gemäß Creation/Modification Zeit sichern? ===
{{Box Hint|Note|This sets the profile only for the current session. To set it permanently under Linux, see [[English_FAQ#How do I configure SEP sesam profile to run automatically during login? | How do I configure SEP sesam profile to run automatically during login?]]}}
Achtung: Seit der SEPsesam Version 3.4.1.67 werden ''Archive Bits'' nicht mehr für inkrementelle und differentielle Sicherungen auf Windows verwendet.


Mit den folgenden Schritten kann die Verwendung von Creation/Modification Zeit für FULL/DIFF/INCR Sicherungen gesetzt werden.
'''Microsoft Windows'''


Zunächst in das Verzeichnis {{path|<SESAM_ROOT>/bin/sesam}} wechseln und mit dem Kommando
Open a command window, then go to the directory {{Sesamroot|\var\ini}} and call:
sm_prof.bat


  sm_db "INSERT INTO defaults (key,user_name,value) VALUES ('with_archive_bit','sesam','no');"
Alternatively, use the link {{Sesamroot|\var\ini\sm_prof.bat.lnk}}


die Verwendung der Archiv Bits vermeiden.
=== Why does the SEP sesam GUI create so many Java processes under Linux? ===


Sollte der Eintrag bereits existieren muss der Wert mit folgendem Kommando eingestellt werden:
On some Linux Systems, the [http://en.wikipedia.org/wiki/Thread_%28computer_science%29#Programming_Language_Support threads] created by the SEP sesam GUI are shown in the process table. These are not real processes but only threads. There is a large number of processes because Java creates threads for all objects with 'Listener' functionality.


sm_db "UPDATE defaults SET value='no' WHERE key='with_archive_bit'"
=== Why does SEP sesam Server use so much disk space on the local hard disk? ===
One of the essential advantages of SEP sesam is that not all information is filed in a database but, instead, in simple text files. The largest files are usually the <tt>''*.lis''</tt> files which contain information about the a backup's unique files and are used by the restore wizard to select and restore unique files. <tt>''*.lis''</tt> files are stored in the following directories:


Danach werden die FULL-, DIFF- und INCR-Sicherungen ohne Berücksichtigung der Archiv-Bits ausgeführt. Die DIFF- und INCR-Sicherungen sichern dann alle Dateien und Verzeichnisse die seit dem Sicherungsstartzeitpunkt der zu referenzierenden Sicherung erstellt oder verändert wurden.
'''Linux/UNIX:'''
/<SESAM_ROOT>/var/lis


Für DIFF ist dies die zuletzt vorausgegangenen FULL und für INCR eine beliebige vorausgegangene Sicherung, wobei nur Sicherungen mit Status "erfolgreich" oder "mit Warnungen" berücksichtigt werden.
'''Microsoft Windows:'''
C:\<SESAM_ROOT>\var\lis


Optional kann ein Zurücksetzen der Archiv-Bits der gesicherten Dateien mit dem Eintrag
SEP sesam can compress <tt>''*.lis''</tt> files automatically. See [[Admin_Manual#Compressing_SEP_sesam_Listing_files|Compressing SEP sesam Listing files]].


  -o clear_archive
Before compressing the files, set the SEP sesam profile as follows:


in den Eigenschaften des Sicherungsauftrags Register ''"Optionen 1"'' im Feld ''"Sicherungsoptionen"'' bewirkt werden.
'''Linux/UNIX:'''  
  source /var/opt/sesam/var/sesam2000.profile
'''Microsoft Windows:'''  
  C:\<SESAM_ROOT>\var\ini\sm_prof.bat


=== Warum misslingt auf Windows 2000 die Sicherung verschlüsselter Dateien mit "The network path was not found" / "Der Netzwerkpfad wurde nicht gefunden." ? ===
Use the "<tt>sm_newday</tt>" command to run file compression immediately. The files will be compressed directly by the NEWDAY schedule.


Für die Sicherung verschlüsselter Dateien ([http://de.wikipedia.org/wiki/Encrypting_File_System Encrypting File System] - EFS) auf älteren Windows 2000 Versionen ist ein Hotfix von Microsoft seit dem 24.März 2004 verfügbar, siehe
As predefined in the command, ''*.lis'' files are not compressed immediately but three days after they are created. This is because most restores are triggered within three days after a backup.


http://support.microsoft.com/?scid=kb%3Ben-us%3B843198&x=10&y=8
All <tt>''*.lis''</tt> files are converted into a compressed file format and are uncompressed by SEP sesam automatically whenever necessary.


Erst mit diesem Hotfix wird die Unicode-Pfad-Konvention mit Präfix \\?\ unterstützt.
== BACKUP==


=== Wie sichere ich active directory subtrees in einer Clusterumgebung zurück? ===
=== How do I set up a UNC path backup from a CIFS share? ===


1. Booten Sie im Verzeichniswiederherstellungsmodus (Directory Services Restore Mode). Dadurch gehen Sie sicher, dass das Verzeichnis offline ist. Im normalen Bootmenü, während der Computer neu gestartet wird, achten Sie auf den unteren Bildschirmrand: Zur Fehlerbehandlung und fortgeschrittene Startup Optionen von Windows 2000, drücken Sie F8. Folgen Sie dieser Anweisung und wählen Sie "Verzeichniswiederherstellungsmodus" aus den "Abgesicherter Modus und andere Startup Optionen".
This example assumes that the SEP sesam Server or the SEP sesam Client is on a Microsoft Windows system. Not all rights of the backed up files and ACLs are considered. For a NetApp CIFS share backup, see [[NetApp-CIFS-Backup|NetApp CIFS backup]].


2. Sichern Sie die "System_State"-Sicherung mit dem SEP sesam GUI zurück.
In Microsoft Windows, services - and therefore the SEP sesam processes - usually run under the special SYSTEM account. This account has all local access rights but, for security reasons, no access rights for non-local or network drives. To access network drives, the following configurations must be modified:


3. Um Active Directory-Daten authoritativ rückzusichern müssen Sie die Ntdsutil utility verwenden - Beispiel mit dem Unterpunkt Marketing in der Domäne Antipodes.com:
* For SEP sesam Clients to which the backup task is assigned, the SEP sesam service should run under an administrator account (services.msc -> SEP sesam Server -> Logon as "Administrative" cccount) with full read and write privileges for the network drive.
* Share the network drive in such a way that it is not necessary to login for read and write privileges. This can be tested by opening the shared path on the SEP sesam Server in Windows Explorer. If the content of the share is displayed without a user and password request, the UNC path can be used as a source for the backup task.


#> ntdsutil
Because of the enhanced security introduced after Microsoft Windows 2000, it is not possible to assign a dedicated drive letter (for example, <tt>e:\</tt>). Instead, the path must be entered using UNC notation. The backup is performed over the UNC names, for example, {{Path|//fileserver/install/Driver}}.
ntdsutil: authoritative restore
authoritative restore: restore subtree OU=Marketing,DC=Antipodes,DC=COM


4) Oder alternativ restore der gesamten DB:
The image below is an example of a backup task configured in SEP sesam GUI:


#> ntdsutil au restore
[[Image:Netapp cifs.jpg]]
#> authoritative restore: restore database


Quellen: Microsoft Publication [http://windows.uwaterloo.ca/Server/Disaster/MS_docs/recovery.htm#_Toc475176610  Windows 2000 Server Disaster Recovery Guidelines - Active Directory]
{{Attention Box|Attention|The ''VSS'' Option must be disabled when backing up UNC paths. Only one path for each task is possible.
und [http://technet.microsoft.com/en-us/magazine/cc162459.aspx Disaster Recovery: Active Directory Users and Groups]
}}
Punkt "Performing an Authoritative Restore"


=== Warnung beim System_State Backup "Das System kann den angegebenen Pfad nicht finden. RegLoadKey()..." ===
'''Testing with the command line'''
Folgende Fehlerausgabe ist im NOT-Log ersichtlich:


C:\Programme\SEPsesam\var\tmp\usr_wf_S-1-5-21-220523388-1123561945-839522115-1003].  
The SEP sesam service must be running under an administrator account. In the command line, enter the following for a backup:
2010-04-13 02:04:20: sbc-2074: Warning: W2KSS Warning: [WIN32 API error: 3 -
Das System kann den angegebenen Pfad nicht finden. RegLoadKey() call failed for
file: [C:\Dokumente und Einstellungen\nn\ntuser.dat] in BackupUserProfiles().].


Hierbei handelt es sich um eine Inkonsistenz der Systemkonfiguration des Betriebssystems. Diese geht meistens darauf zurück, dass das Profil eines Benutzers gelöscht wurde, der User aber immer noch existiert und damit die Registry die zugehörigen Daten im Dateisystem sichern möchte, diese aber nicht findet. Hier ist mit Betriebssystemmitteln das System wieder konsistent zu machen (z.B. User löschen oder Profil wiederherstellen).
C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(hostname of the system) sbc -b -s @test.save
-v 2 \\fileserver\pub\customers


Prüfen Sie hier in der Registry den folgenden Pfad:
For a restore command, enter:


  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(hostname of the system) sbc -r -s @test.save
-v 2 -R \\fileserver\pub\customers_restore


ob dieser noch Schlüssel für Benutzer enthält die nicht mehr existieren.
This saves the files from {{Path|\pub\customers}} to the file (save set) <tt>test.save</tt>, i.e., it restores them from the save set <tt>test.save</tt> to the folder {{Path|\pub\customers_restore}}.


=== Powershell-Scripte werden auf Zielrechner nicht ausgeführt ===
'''Excluding a UNC directory'''
Standardmäßig wird die von Microsoft angebotene PowerShell mit der Ausführungsberechtigung '''Restricted''' installiert, wodurch zwar auf der Kommandozeile Befehle ausgeführt werden können, jedoch nicht aus einem Script heraus.<br>
Mit folgendem Befehl lässt sich dies in der PowerShell abändern:<br>
'''Set-ExecutionPolicy RemoteSigned'''<br><br>
Mehr Informationen zu diesem Eintrag sind hier zu finden:<br>
http://technet.microsoft.com/de-de/library/ee176961.aspx
{{Box Hint|Hinweis|Unter Umständen müssen Sie die PowerShell mit administrativen Rechten starten um die Ausführungsrichtlinie ändern zu können.}}


=== Kann man die Windows Volume Shadow Copy (VSS) nutzen um MS SQL / MS Exchange zu sichern? ===
To exclude a file or a directory, enter the following:
Grundsätzlich ist das möglich. Sinnvoll ist es nur in sehr kleinen Umgebungen, da ansonsten die Sicherungs und Restorezeiten viel Zeit in Anspruch nehmen. Weitere Informationen dazu in den englischen FAQ's:
[[English_FAQ#Can_I_backup_MS_SQL_.2F_MS_Exchange_with_the_Volume_Shadow_Copy_.28VSS.29_functionality_of_Windows.3F]]


<!-- missing text? -->


=== Kann ich einzelne VSS-Writer von der Sicherung ausschließen? ===
The excluded UNC path in this example is: <tt>\\server\share\subfolder1\subfolder2</tt>.
Mit folgendem Exclude lässt sich z.B. der "Microsoft Exchange Writer" bei einer all-Sicherung ausschließen:
VSS:/Microsoft Exchange Writer


* UNC path exclude syntax using ''"slash"'' is: <tt>//server/share/subfolder1/subfolder2</tt>.
* UNC path exclude syntax using ''"backslash"'' (works from version 4.2.1.41) is: <tt>\\\\server\\\share\\\subfolder1\\\subfolder2</tt>.


=== Windows Sicherung bricht ab mit "[ [CVssBaseObject::CreateVssBackupComponents] - Zugriff verweigert" ===
=== A client backup did not function properly. How can I determine where the problem is? ===


Sesam darf mit dem derzeitigen Benutzer keine Snapshots erstellen. Überprüfen Sie den Benutzer, der den Sesam Dienst ausführt, ob dieser ausreichend Berechtigung für alle Laufwerke besitzt und passen Sie den Dienst dementsprechend an.
The following test commands should help you isolate the problem. You can run a test backup for the target client from a SEP sesam Server or Client without writing data to a tape drive or disk drive. Run the following commands in the directory {{path|<SESAM_ROOT>/bin/sesam/}}.


{| WIDTH= "95%" style= "background-color: #FFF0F0; border: solid 2px #DEB0B0;"
| style= "background-color: #DEB0B0;" | <font size= "-1"><b>Caution!</b></font>
|-
|
The following commands produce a high network load.
|}


=== Was bedeutet die Meldung "Stream data length bigger than buffer can accept. Input buffer length = [65536], Stream data size = (High part)[0] (Low part)[65564]"? ===
'''Backup server Unix, client Windows'''


Die ACL eines Ordners oder einer Datei übersteigen den Puffer von 64Kb, den Sesam verwendet, um diese zu sichern. Die ACL's einer Datei oder eines Ordners hat aber mehr als 64Kb und dies führt zu dieser Meldung. Verwenden Sie den Windows-Befehl '''icacls''', um sich die Berechtigung der Datei oder des Ordners anzusehen. Ein Beispielaufruf könnte z.B. so aussehen:
sm_ctrlc -l system  {client name} sbc -b -s - f:/test >/dev/null
  C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp"
C:\Documents and Settings\LocalService\Local Settings\Temp NT AUTHORITY\LOCAL SERVICE:(I)(F)
                                                          NT AUTHORITY\LOCAL SERVICE:(I)(OI)(CI)(IO)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                                          BUILTIN\Administrators:(I)(F)
                                                          BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
Successfully processed 1 files; Failed processing 0 files


Data from the F:/ directory on Windows is written over the network to the directory {{path|/dev/null}} on Unix.


Wenn die Ausgabe etliche tausende Zeilen zeigt, stimmt dort etwas mit den ACL's nicht. Es ist diesem Fall ratsam, die Berechtigung der Datei bzw. des Ordner zurückzusetzen. Dies ist wie folgt möglich:
To display this, append <tt>-v 1</tt> to the command above. Everything written to {{path|/dev/null}} will be displayed.
C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp" /reset


Dabei werden die Berechtigungen des übergeordneten Verzeichnisses an diesen Ordner übergeben, mögliche manuelle Anpassungen müssen dann händisch nachgetragen werden.
sm_ctrlc -l system  {client name}  sbc  -b -s  -  -v 1      f:/test  >/dev/null


== Novell OES TSA  ==
'''Backup server Unix, client Unix'''


=== Exclude von Dateien und Verzeichnisen beim TSA Backup ===
sm_ctrlc -l root  {client name}  sbc  -b -s -  /usr  >/dev/null


Beim Backup über Novell TSA stehen die gleichen Möglichkeiten für den Exclude von Dateien/Verzeichnissen zur Verfügung, wie bei Windows und Linux Sicherungen.
To display the read data:
Die Eingabe des Excludes auf dem Reiter "Auftrag" in Feld "Exclude Liste" oder die Verwendung einer Exclude Datei auf dem Clienten.
Wenn viele Verzeichnisse oder Dateien in eine Sicherung ein- bzw. ausgeschlossen (exclude) werden sollen, dann kann die maximale Eingabelänge (max. 255 Zeichen) überschritten werden. Um dieses Problem zu umgehen, bietet der Sesam die Möglichkeit in einer Datei eine Liste von Verzeichnissen und Dateien zu hinterlegen, die ausgeschlossen werden sollen. Diese Datei ist auf dem Client zu erzeugen, auf dem die Sicherung ausgeführt werden soll.
<br>
{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"
| style="background-color: #DEB0B0;" | <font size="-1"><b>Achtung</b></font>
|-
|
Bitte beachten Sie, dass alle Exclude Einträge als Pattern (Wildcards) angegeben werden müssen. Der Novell SMDR / TSA kann keine regular expression interpretieren. Ein Verzeichnis Exclude muss mit einem Slash enden !
|}


<br>Die Datei heißt z.B. <tt>/etc/sesam/excludefiles.txt</tt>. Jede Datei oder Verzeichnis welches ausgelassen werden soll, ist in eine separate Zeile zu speichern:
sm_ctrlc -l root  {client name}  sbc  -b -s -  -v  1  /usr  >/dev/null


/media/nss/VOL1/data/tmp/
'''Backup server Windows, client Unix'''
/media/nss/VOL1/USR/*/Notes/Workspace/
/media/nss/VOL1/data/do_not_backup.txt


sm_ctrlc -l root  {client name}  sbc  -b -s -            /usr    > NUL


Im Sicherungsauftrag steht z.B. als Quelle ''/media/nss/VOL1'', da das gesamte Volume gesichert werden soll, außer den Einträgen in der Exclude Datei. Im Register '''Optionen 1''' des Sicherungsauftrages im Feld '''Sicherungsoptionen''' ist folgendes einzutragen:
With backup data logging:


  -X /etc/sesam/excludefiles.txt
  sm_ctrlc -l root  {client name}  sbc  -b -s -  -v  1  /usr    > NUL


Der Sesam wird nun beim Starten des Auftrages automatisch alle Dateien und Verzeichnisse in dieser Datei berücksichtigen und nur diese nicht mitsichern.
If the test backup is to be run on the target backup client only, execute the following command:


=== Wie wird eDirectory auf einem Novell-OES-Linux-System - ohne SP2 - gesichert? ===
'''In the Unix directory {{path|<sesam>/bin/sesam/}}:'''


Erst ab OES-Linux mit SP2 steht ein TSA-NDS ([http://www.novell.com/support/php/search.do?cmd=displayKC&docType=kc&externalId=10056428&sliceId=&docTypeID=DT_TID_1_1&dialogID=36738097&stateId=0%200%2036740072 Target Service Agent - NetWare Service Directory]) für eDirectory auf Novell-OES-Linux zur Verfügung. Für ältere Systeme bietet SEP sesam einen besonderen Backup-Typen "OES Novell Directory". Dieser Typ benutzt SEPs {{path|sbc_nds}} und Novells {{path|ndsbackup}} für die Sicherung des eDirectories. {{path|sbc_nds}} generiert eine jeweils passende Commandline für die Level FULL/DIFF und INCR. {{path|ndsbackup}} benötigt User und Passwort. Diese Werte müssen in den ''"Eigenschaften"'' des Sicherungsauftrags gesetzt werden und zwar sowohl als Sicherungsoption, als auch als Rücksicherungsoption mit: -a user={your user},pass={your password}
sbc -b -s  -  /usr  >/dev/null


Zum Beispiel:
'''In the Windows directory {{path|<SESAM_ROOT>\bin\sesam\}}:'''
-a user=cn=admin.o=novell,pass=novell


Eine selektive Rücksicherung ist nicht möglich, aber mit Hilfe der Filter-Option können Teilbäume ausgewählt werden. Dazu wird im Restore-Wizard unter ''"Expertenoptionen"'' unter ''"Filter"'' der Teilbaum angegeben.
sbc  -b -s  -  f:/test    > NUL


==== Vorgehensweise ====
Enter <tt>-v 1</tt> to show the backed up data on your monitor.


#  Verfügbarkeit des Backup-Task-Typen "OES Novell Directory".
=== Why do I receive the message: "Login incorrect. Password incorrect." during backup?===
## Welche SEP-sesam-Version wird benutzt? Notwendig ist die Version 3.0 oder höher.
#  Verfügbarkeit des {{path|sbc_nds}}-Moduls.
## Empfohlen wird die Benutzung des aktuellen Moduls unter: http://download.sep.de/netware/ sbc_nds_*.* or sesam-novell-client-*.*
## Ist der {{path|sbc_nds}} im ''"<SESAM_ROOT>bin/sesam"'' des Clients vorhanden und ausführbar?
# Sicherungsauftrag mit User und Passwort
## Falls nicht bereits vorhanden, definieren Sie einen Backup-User mit Passwort für eDirectory-Backup im Novell-iManager.
## Definieren Sie einen Sicherungsauftrag mit Typ "OES Novell Directory". Die Quelle ist der Bezeichner des eDirectory-Baums bzw. Teilbaums. Mit der ndsbackup-scan-Funktion können die Bezeichner ausgegeben werden.
## Setzen Sie die Sicherungsoption und Rücksicherungsoption zu: -a user={Ihr user},pass={Ihr password}
# Rücksicherung
## Das Ziel "/" restauriert die Daten in den originalen Baum.
## Mit ''"Filter"'' in den ''"Expertenoptionen"'' kann die Rücksicherung auf einen Teilbaum beschränkt werden.


==== Pfad für ndsbackup ab eDirectory 8.8.1 ====
Check your name resolution (DNS or <tt>etc/hosts</tt> file). The SEP sesam Server and SEP sesam Client must be reachable with or without FQDN and should be able to resolve each other correctly, including the reverse lookup. If the resolution is correct, do the following:
# In the SEP sesam GUI, go to '''Main Selection''' -> '''Tasks''' -> '''By clients''', and select the client where the backup problem is.
# Open the properties of the backup and click the tab the '''Options'''.
# Insert ''-v 4'' at backup options. <!-- There is no field backup options? Where should a user put this? -->
# Start the backup again. Then go to '''Main Selection''' -> '''Job state''' -> '''Backups''', and double-click the backup task to open its properties.
# Move to Protocol and search for the line "Login incorrect. Password incorrect.", then correct the respective name resolution. <!-- What Protocol? Main log?-->


Seit eDirectory Version 8.8.1 liegt {{path|ndsbackup}} nicht mehr unter {{path|/usr/bin}}, sondern unter {{path|/opt/novell/eDirectory/bin/ndsbackup}}
=== Is data that is collected for backup stored in a flat file or a database? ===


Damit SEP sesam {{path|ndsbackup}} ausführen kann ist ein Link in das {{path|bin}}-Verzeichnis des SEP sesam notwendig.
Data is stored in a flat file but information about the backup is stored in the SEP sesam database, including index pointers for fast and easy data recovery.


Bei einer Standardinstallation wird der Link mit folgendem Kommando angelegt:
=== When encryption is selected before transferring data to the server, does SEP sesam do a compression before it encrypts the data?===


ln -sf /opt/novell/eDirectory/bin/ndsbackup /opt/sesam/bin/sesam
Data encrypted by the system and transferred to the server will be compressed if stored to tape using the manufacturer's compression algorithms. If it is stored to disk, data can either be encrypted or compressed but not both.


=== In welchem Modus sollte der TSAFS bei OES Novell Filesystem Sicherungen geladen werden? ===
=== Where is the encryption key stored? ===


Der TSAFS sollte grundsätzlich im Linux Mode geladen und betrieben werden. Der Netware Mode und auch der Dual Mode sind nur für gemischte Umgebungen (Sicherung von native Netware) oder Novell Cluster im "mixed Mode" geeignet.
The encryption key is stored in the SEP sesam database - in the backup task entry (table Tasks) and in the result entry (table Results).<!-- I cannot find table Tasks? nor Results? --> If the encryption key is changed, the subsequent task will be executed with the new key and the new key will be stored in table Results.


Auf Cluster nodes von reinen OES Linux Clustern, darf der TSAFS nur im Linux Mode genutzt werden.
A restore uses the stored encryption key from table Results.


Bei gemischten Clustern (OES Netware und OES Linux), muß der TSAFS im Netware oder Dual geladen werden. Das Backup der Clustervolumes muss dann über das "Netware Cluster Filesystem" erfolgen.
=== How to set compression? ===
'''Compression for backup to virtual tape media'''


== Sicherung ==
{| WIDTH= "95%" style= "background-color: #f3fff0; border: solid 2px #b9deb0;"
| style= "background-color: #b9deb0;" | <font size= "-1"><b>Note</b></font>
|-
|
The option '''Compression''' under the tab ''Crypt and Compression'' in the properties of a backup task only applies to Microsoft Windows.
|}


=== Die Sicherung von einem Client funktioniert nicht, wie kann ich testen wo das Problem liegt? ===
To activate compression globally for all backup tasks under Linux, the {{path|sms.ini}} file under {{path|/var/opt/sesam/var/ini/}} must be modified. The ''Compresslevel'' option under the caption ''[SMS_Server]'', can be enabled with


Diese Testbefehle sollen Ihnen dabei helfen, ohne grafische Oberfläche ein Backup (lokal oder über das Netzwerk) zu testen. Von einem Sicherungs-Server, sowie von einem Client, kann die Testsicherung eines Clients Auftrages durchgeführt werden, ohne die Daten auf ein Medium (Band oder Disk) zu schreiben.
  Compresslevel= 1


{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"
This entry also applies to Microsoft Windows.
| style="background-color: #DEB0B0;" | <font size="-1"><b>Achtung</b></font>
|-
|
Alle folgenden Befehle erzeugen eine hohe Netzbelastung.
|}


Ausführen im Verzeichnis {{path|<SESAM_ROOT>/bin/sesam}}
'''Compression on tape drives'''


* z.B. Sicherungs-Server: '''Unix''', Client: '''Windows'''
Compression is done by the drive itself. Use the SEP sesam tool ''slu'' to check whether compression is activated or deactivated.
    sm_ctrlc –l system  {Client-Name}  sbc  -b –s -  f:/test  >/dev/null


Es werden die Daten des Verzeichnisses F:/test des Windows-Rechner über das Netz auf den Unix-Rechner nach  '''/dev/null''' geschrieben.
'''''Step 1''''': Display a list of connected drives


Wird in diese Befehlszeile noch ein '''–v 1''' eingefügt, dann wird alles was nach /dev/null geschrieben wird auf dem Monitor angezeigt.
Linux:
  cd <SESAM_INSTALL_DIR>/bin/sesam/


  sm_ctrlc –l system {Client-Name}   sbc  -b –s  - -v 1      f:/test  >/dev/null
  [root@sinus sesam]# ./slu scan
  ID= 0000 Loader: HP      ThinStor AutoLdr H43r (/dev/sg0)
   ID= <b>0020</b> Tape:    TANDBERG LTO-3 HH        D229 (/dev/nst0)
  ID= 0050 Tape:    HP      Ultrium 1-SCSI  E33P (/dev/nst1)
  STATUS= SUCCESS MSG= "OK"


* Sicherungs-Server: '''Unix''', Client: '''Unix'''
'''''Step 2''''': Check the tape drive settings


   sm_ctrlc –l root {Client-Name}   sbc  -b –s -  /usr  >/dev/null
   [root@sinus sesam]# ./slu <b>0020</b> -s
   Tape Info
  Read Attribute not supported
  internal_status_byte= 0x0
  buffered_mode= 1
  block_length= 0 (variable)
  media_type= unknown (0)
  write_protect= 0
  density_code= 44
  <b>compression= 1</b>
  STATUS= SUCCESS MSG= "OK"


oder mit der Anzeige der  gelesenen Dateien :
If compression is set to 1, drive compression is active. Setting the compression can also be done with "slu" or alternatively with the Linux tool "mt".


  sm_ctrlc –l root  {Client-Name}  sbc  -b –s -  -v  1  /usr  >/dev/null                   
'''''Step 3''''': Activate compression


* Sicherungs-Server: '''Windows''', Client: '''Unix'''
  [root@sinus sesam]# slu <b>0020</b> -c 1
  DCE= 1
  DATA COMPRESSION ENABLE:1
  TRY MODE SELECT (6) SET COMPRESSION DCE
  compression= 1
  DONE MODE SELECT (6) SET COMPRESSION DCE
  STATUS= SUCCESS MSG= "OK"


  sm_ctrlc –l root  {Client-Name}  sbc  -b –s -            /usr    > NUL
=== How can I configure a backup using another network or interface? ===


oder mit Anzeige der gelesenen Dateien:
You must first establish an IP address for the new interface. The IP address will then be entered to the properties table of the (tape) server <!-- SEP sesam Server? --> under '''Components''' -> '''Topology''' -> '''Clients''', field '''Interfaces'''. In the backup events, the IP name must be selected from the ''Parameter'' tab in the field ''Interfaces''. (<!-- Don't understand, where is the Parameter tab? -->


  sm_ctrlc –l root  {Client-Name}  sbc  -b –s -  -v  1  /usr    > NUL                     
For example, the computer 'testme' has a 2nd interface module with the name 'testmeb'. In the backup task properties, select 'testmeb' in the field '''Interfaces'''.


Wenn die Testsicherung  nur auf dem zu sichernden Client erfolgen soll, dann wird im
=== How can I exclude a directory from a backup? ===


* {{path|<SESAM_ROOT>/bin/sesam}} bei '''Unix'''
You can exclude a directory by creating of a special file - '.nosbc' (UNIX) or 'nosbc' (Windows) in the directory itself. The behavior can be switched off for a specific backup task by entering the '-o noexcl' switch under the '''backup task properties''', tab '''Options''' -> '''Save options'''.


  sbc –b –s  -  /usr  >/dev/null
=== How can I enter a backup source with more than 256 characters? ===


* und {{path|<SESAM_ROOT>\bin\sesam}} bei '''Windows'''
If you want to define a backup source with more than 256 characters in the complete filename (path and filename), create a text file with a list of all the paths as the backup source (for example, /opt/sesam/var/ini/large_source.txt). Each path must be written below the previous one, resulting in a fully qualified file or directory name on each line.


  sbc  -b –s  - f:/test    > NUL
Enter the backup option -f {file} in the '''backup task properties''', tab '''Options''' -> '''Save options''':<!-- I changed this according to new changed backup properties, please check. -->


eingegeben. Auch hier kann mit –v 1 die Anzeige der gesicherten Dateien eingeschaltet werden.
-f /opt/sesam/var/ini/large_source.txt


=== Ich bekomme beim Sichern eines Clients die Meldung: "Login incorrect. Password incorrect." ===
The SEP sesam Server reads this file during backup and stores the additional files and directories listed in the source directories.


Überprüfen Sie die Einstellungen ihres DNS-Servers bzw. der {{path|etc/hosts}}-Datei. Der Server und der Client müssen mit und ohne [http://de.wikipedia.org/wiki/FQDN#Fully_Qualified_Domain_Name_.28FQDN.29 FQDN] erreichbar sein. Beachten Sie vor allem, dass auch der so genannte "reverse lookup" d.h. die Auflösung der IP-Adresse zurück zum Namen stimmt. Sollte die Auflösung in Ordnung sein, gehen Sie wie folgt vor:
=== How can I specify an exclude list that is longer than 150 characters?===


Wechseln Sie zu ''"Aufträge -> nach Clients"'' und begeben Sie sich zu dem Client und dessen fehlgeschlagenem
Create a text file where all the paths are listed one below the other (for example, ''/tmp /opt/sesam/var/ini/large_exclude.txt'') and save this file to a folder of your choice. During the creation of a backup, enter the folowing statement.
Sicherungsauftrag. Öffnen Sie dort die ''"Eigenschaften"'' der Sicherung und gehen Sie zu dem Register ''"Optionen 1"''. Dort tragen Sie bei ''"Sicherungsoptionen"'' -v 4 ein. Starten Sie eine erneute Sicherung und gehen Sie auf ''"Sicherungen -> nach Status"'' Dort in die ''"Eigenschaften"'' der Sicherung und zu ''"Protokoll"'' wechseln. Suchen Sie hier nach dem Punkt "Login incorrect. Password incorrect." und ändern Sie die Namensauflösung dementsprechend um.


=== Wo wird bei der Verschlüsselung das Schlüsselwort abgelegt? ===
-X /example/directory/text file.txt


Das Schlüsselwort wird in der SEP sesam-DB wiederum verschlüsselt, sowohl beim Sicherungsauftrag - Tabelle "tasks" - als auch beim Sicherungslauf - Tabelle "results" - gespeichert. Wenn das Schlüsselwort geändert wird, dann werden die folgenden Aufträge mit dem Neuen ausgeführt und dieses in den "results" hinterlegt. Ein Restore läuft mit dem beim Sicherungslauf geltenden Schlüsselwort.
During backup, all directories in the .txt file will also be excluded.


=== Kompressionseinstellungen ===
[[Image:Fileexclude.jpg]]


==== Kompression bei Backup auf Virtuelle Tape Medien ====
{| WIDTH="95%" style="background-color: #f3fff0; border: solid 2px #b9deb0;"
| style="background-color: #b9deb0;" | <font size="-1"><b>Hinweis</b></font>
|-
|
Die Option ''"Komprimierung''", unter dem Reiter ''"Optionen 2"'' in den ''"Eigenschaften"'' eines Sicherungsauftrages, ist nur unter Windows gültig.
|}


Um die Kompression global, für alle Sicherungen unter Linux zu aktivieren, muss die {{path|sms.ini}} unter {{path|/var/opt/sesam/var/ini/}} bearbeitet werden. Dort kann unter dem Punkt ''[SMS_Server]'' die Option ''Compresslevel'' mittels
See also [[English_FAQ#How_can_you_set_the_SBC.2C_so_that_the_Exclude_List_always_uses_the_file_pattern_.28.3F.2C.2A.29_instead_of_using_the_regular_expressions.3F|How can I set the SBC so that the Exclude List always uses the file pattern (?,*) instead of using regular expressions?]].


Compresslevel=1
=== Does SEP sesam perform incremental backups after the initial backup? ===


aktiviert werden.
Depending on your backup strategy, SEP sesam can be set to perform any backup type in the desired sequence.  
{{Backup type}}


Dieser Eintrag ist auch unter Windows gültig.
=== Can users perform their own backup and restore?===


==== Kompression auf Tape Drives ====
Typically, users cannot backup their own computers but it is possible. The most efficient way to accomplish this would be to install a SEP sesam Server license on the target client (the user's computer). The user is then the SEP sesam administrator of this client/server and can backup and restore the files on this computer.


Die Kompression wird hier vom Laufwerk selbst vorgenommen. Um zu Prüfen ob die
=== Are backups performed directly to disk or tape?===
Kompression aktiviert oder deaktiviert ist, kann das Sesam tool "slu" verwendet
werden.


* Schritt 1: Liste der angeschlossenen Laufwerke anzeigen lassen:
Backups can be written directly to either tape or disk. SEP sesam version supports disk-to-disk-to-tape (D2D2T) functionality. Additionally, it can write directly from the backup tape to the server. This is beneficial and saves a lot of time when performing a disaster recovery.


Linux:
All backup functions are written and/or controlled by the server and may be written directly to the backup disk, tape or remote tape server. SEP sesam supports virtual tape libraries on disk with a pseudo autoloader function. Removable disk media are also supported.
cd <SESAM_INSTALL_DIR>/bin/sesam/
[root@sinus sesam]# ./slu scan
ID=0000 Loader:  HP      ThinStor AutoLdr H43r (/dev/sg0)
ID=<b>0020</b> Tape:    TANDBERG LTO-3 HH        D229 (/dev/nst0)
ID=0050 Tape:    HP      Ultrium 1-SCSI  E33P (/dev/nst1)
STATUS=SUCCESS MSG="OK"


* Schritt 2: Einstellungen zum Tape Drive prüfen:
=== How do I set up a backup to disk?===


[root@sinus sesam]# ./slu <b>0020</b> -s
Follow the steps below to set up a backup to disk:
Tape Info
Read Attribute not supported
internal_status_byte=0x0
buffered_mode=1
block_length=0 (variable)
media_type=unknown (0)
write_protect=0
density_code=44
<b>compression=1</b>
STATUS=SUCCESS MSG="OK"


Ist hier "compression" auf 1 gesetzt ist die Laufwerkskompression aktiv.
# In the SEP sesam GUI, find loader 0 (in newer versions, the virtual loader) in the '''Components''' -> '''Loader''' menu selection.
Das Setzen der Kompression kann ebenfalls mit "slu", oder alternativ mit dem
# Locate the local disk storage. Backups can also be performed using a UNC path on a NAS device, however the settings and user rights must be established on the NAS system.
Linux tool "mt" erfolgen:
# If the disk media pool intended for backup is on another or remote system (i.e., if the storage on the SEP sesam Server is insufficient), you will need to install a Remote Device Server license. A disk pool greater than 1TB in size requires an additional license.
# In the GUI under '''Components''' -> '''Media pools''', create a media pool and identify it with any recognizable name.
# Change the '''Drive group''' option to '''Disk drives'''.
# Provide a directory name where SEP sesam can enter the virtual tape drive.
# Determine the maximum size (in MB) that the media pool for the virtual loader is allowed to access. Use the conversion factor 1GB = 1024MB.
# Enter media into the media pool. <!-- Is this the correct way: Media -> Introduction? Previously: New media, but I cannot find this.-->
# Set various media sizes under '''Media type''', for example, DISK_100 sets the size of this media to 100MB. If a media pool had a limit of 1000MB, it is possible to select 10 DISK_100 media types.
# Click '''Start''' to begin the initialization process. Repeat this step until the maximum capacity has been reached.


* Schritt 3: Aktivierung der Kompression:
The number of media for a pool should be between 10 and 20, whereas the size of these media is not important. The initializaiton (recognition) of the new media can be automatically accomplished using '''Archive adjustment''' in '''Components''' -> '''Loader''' -> select loader -> '''Archive adjustment'''.


[root@sinus sesam]# slu <b>0020</b> -c 1
The numbering convention for media starts with a 0, for example, for 10 media the first slot would be 0 and the last slot would be 9. Automatic initialization must be activated. After completing the steps above, select '''Immediate backup''' on the new pool (Disk) to start the backup process.
DCE=1
DATA COMPRESSION ENABLE:1
TRY MODE SELECT (6) SET COMPRESSION DCE
compression=1
DONE MODE SELECT (6) SET COMPRESSION DCE
STATUS=SUCCESS MSG="OK"


=== Wie kann ich eine Sicherung über ein anderes Netz bzw. Interface konfigurieren? ===
=== How do I perform a file backup of a Linux/Windows cluster? ===


Zunächst muss für das weitere Interface ein IP-Name festgelegt werden. Dieser wird dann in den Eigenschaften des (Tape-) Servers unter ''"Topologie -> Clients"'' in den  Schnittstellen eingetragen. In den Sicherungsterminen muss im Tab ''"Parameter"'' im Feld ''"Interfaces"'' der IP-Name ausgewählt werden.
To perform a file backup of a Linux/Windows cluster:


Beispiel:
# Install the standard SEP sesam Client on each physical node
Rechner "testme" erhält zweite Interface-Karte, diese erhält den Namen "testmeb".
# Check if every node and every resource of the cluster can be correctly resolved using DNS forward and reverse lookup.
Im Sicherungstermin "testmeb" auswählen.
# Add each physical node and each cluster resource as a backup client under ''Components/Topology''
# After the clients have been successfully recorded, a backup task can be created for each cluster resource. During backup, the data is automatically transferred from the active node.


=== Wie kann ein Verzeichnis von der Sicherung ausgeschlossen werden? ===
=== When several users save the same file on separate clients, does SEP sesam backup all the files? ===


Verzeichnisse können durch das Anlegen der speziellen Datei '.nosbc' (UNIX) bzw. 'nosbc' (Windows) in dem entsprechenden Verzeichnis von der Sicherung ausgeschlossen (exclude) werden. Das Verhalten kann durch das Angeben der Option '-o noexcl' unter 'Eigenschaften des Auftrags->Optionen 1->Sicherungsoptionen' für einen Sicherungsauftrag aufgehoben werden.
For example, if members of a workgroup save the same file to their respective desktops, does SEP sesam make separate copies of the file or a single file with pointers to the changes?


===Führt SEP sesam nach der ersten Sicherung inkrementelle Sicherungen durch? ===
SEP sesam stores separate files for each user. Unless there is a very large amount of data being stored in the files, any changes that might be made to the main data array would have to be stored in multiple areas or tapes and, if a restore was required, more overheads would be required to restore the data.


SEP sesam Sicherungen können auf Full, Incremental, Differential oder Copy gesetzt werden. Der Nachteil von inkrementellen Sicherungen ist, dass nur Änderungen in eine tägliche/wöchentliche Datei gesichert werden. Im Falle einer Datenrücksicherung ist es notwendig alle inkrementellen Bänder zu laden. Differentielle Sicherungen benötigen diesen zusätzlichen Schritt nicht. Bei diesen können Rücksicherungen in Generationsansicht durchgeführt werden. In diesem Modus sichert SEP sesam automatische die Basisdatei und die letzte differentielle Sicherung. SEP sesam fordert die entsprechenden Medien an und mountet diese, wodurch der Rücksicherungsprozess vereinfacht wird. Dies wird für sämtliche Dateien, die für die Rücksicherung gewählt wurden, durchgeführt. Copy ermöglicht es eine Kopie der Daten zu machen ohne dabei an Stelle der normalen Archivierungsaktivität, die vom Master-Administrator gesetzt wurde, zu treten. Copy darf aber nicht für Daten- oder Systemrücksicherungen verwendet werden.
=== Does SEP sesam back up open files?===


=== Können Benutzer ihre eigenen Sicherungen und Rücksicherungen durchführen? ===
Yes, SEP sesam can back up open files on both Linux and Microsoft Windows.


Normalerweise können Benutzer ihre eigenen Computer nicht sichern, aber es gibt dennoch eine Möglichkeit. Der effizienteste Weg dies zu schaffen ist eine SEP sesam Server Lizenz auf dem Zielclient zu installieren (d.h. dem Rechner des Benutzers). So kann der Benutzer als Administrator für sein System bestimmt werden und der Server kann mit dem SEP sesam GUI gesichert werden, als wäre er ein Client.
'''Microsoft Windows'''


=== Werden Sicherungen direkt auf Disk oder Band durchgeführt? ===
Open files can be backed up with Microsoft's Volume Shadow Copy Service . To perform an open file backup, a Windows Snapshot is made of the data and partition intended for backup and the partition is backed up. Databases should be backed up using the relevant SEP sesam database module.


Sicherungen können entweder auf Band oder Disk geschrieben werden. Seit SEP sesam Version 3.0 wird die Disk-to-Disk-to-Tape-Funktionalität unterstützt. Sämtliche Sicherungsfunktionen werden vom Server kontrolliert und können direkt auf Sicherungsdisk oder -band oder Remote Tape Server geschrieben werden. SEP sesam unterstützt virtuelle Tape-Libraries auf Disk mit Pseudo-Autolader-Funktion. Wechseldiskmedien werden ebenfalls unterstützt.
System Requirements:


=== Ich habe mich entschlossen, Wechsel- oder USB-Medien für meine Sicherungsstrategie zu verwenden. Unterstützt SEP sesam diese Gerätetypen? ===
* Client O/S: Microsoft Windows 2003
* SEP sesam Server Version 3.0 or higher
* SEP sesam Client Version 3.0 or higher


Wechselmedien, einschließlich USB-Laufwerke, werden technisch nur eingeschränkt unterstützt und nicht offiziell unterstützt.
=== How do I include or exclude a large number of files for backup in Linux? ===
If several directories or files are to be included in or excluded from a backup task, it may be possible that the character count limit of the field (max. 255 character) will be exceeded. To solve this problem, use a file to define a backup source or an exclude list. This file must be created on the backup client on which the backup is to be executed.


== Sicherung eines Clusters ==
'''Include:'''


=== Filesicherung eines Linux/Windows Clusters ===
Create a separate line for each directory or file item in a file (for example, <tt>/etc/sesam/backupfiles.txt</tt>):


*  Den SEP sesam Client auf jeden physikalischen Teilnehmer/Node des Clusters installieren.
  /lib
*  Kontrollieren ob jede Node und jede Ressource des Clusters vom DNS richtig forward und reverse aufgelöst werden kann.
  /usr/share
*  Die einzelnen Nodes + Ressourcen im SEP sesam unter dem Menüpunkt Components/Topologie als Client aufnehmen.
  /usr/bin/a2ps
*  Nach der erfolgreichen Aufnahme des Clients können für die einzelnen Cluster-Ressourcen Aufträge erstellt werden. Während der Sicherung wird der Datenstrom automatisch von der aktiven Node gezogen.
  /srv/Dos6.22.img
  /var/opt/sesam/var/ini


== Rücksicherung ==


=== Allgemeine Fragen ===
{| WIDTH= "95%" style= "background-color: #FFF0F0; border: solid 2px #DEB0B0;"
| style= "background-color: #DEB0B0;" | <font size= "-1"><b>Attention</b></font>
|-
|
Wildcards are not allowed in file or directory entries.
|}


==== Wie kann man bei einem Restore nur einzelne Dateien zurücksichern, wenn das sesam-Listing-File nicht mehr zur Verfügung steht? ====


Dazu können im Restorewizard Auswahlmuster, sogenannte Filepatterns, angegeben werden. Zunächst wird im Register ''"Aufträge"'' das gewünschte Saveset
At least one item must be entered in the Source field, for example, the include file itself. This file is then also included in the backup set (for example, <tt>/etc/sesam/backupfiles.txt</tt>). In addition, you have to set up the following entry in the Save options field of the Options 1 register in the backup task definition:
und die Option ''"gewählten Auftrag komplett zurücksichern ausgewählt"''. Im Register ''"Start"'' wird mit dem Button ''"Experten Optionen"'' das Experten-Optionen-Fenster geöffnet. In dessen Register ''"Filter"'' werden die Filepatterns eingegeben. Mehrere Pattern werden durch einen Leerschritt getrennt. Nur Dateien, auf die diese Pattern passen, werden dann restauriert. Alle anderen werden übersprungen.


Beispiele:
-f /etc/sesam/backupfiles.txt
  /*.xls          -> sichert alle Dateien mit der Endung ".xls" zurück
  /*/X11/XF86*    -> sichert alle Dateien aus dem Verzeichnis "/X11" die mit
                      "XF86" beginnen zurück.
  /*.ini /*.conf  -> sichert alle Dateien zurück, die auf ".ini" oder
                      ".conf" enden


ACHTUNG: Der führende "/" in der Patternangabe ist zwingend notwendig.
In addition to the value of the Source field, all values that are contained in the file are backed up.


==== Selektiver Restore auf der Kommandoebene ====


# Im Verzeichnis {{path|<SESAM_ROOT>\var\work}} ein Verzeichnis {{path|root}} erstellen
'''Exclude:'''
# Man benötigt von einem Backup das .sgm- und das .lis-File
# [[German_FAQ#Ein Supportmitarbeiter hat gesagt ich soll das Profile setzen, was meint er damit?| Sesamprofile]] ausführen, in das Verzeichnis {{path|root}} eine Textdatei namens {{path|selected.txt}} anlegen und aus dem .lis-File die gewünschten Zeilen einfügen
Beispiel:


    "C :/WINDOWS/system32/config/AppEvent.Evt" f 8.10.2004 13:26:54 8.8.2005 15:56:07 1 4096 540672
The procedure for exclude is similar. The exclude file may be called <tt>/etc/sesam/excludefiles.txt</tt>, for example. Each file or directory that you want to exclude from the backup must be entered on a separate line in the file, for example:


Auf der Kommandozeile am SEP sesam Server folgenden Aufruf eingeben:
  \./tmp$
  \./home/John Doe/videos.zip$
  \./home/John Doe/Business Documents/YearEnd Closing for business year 2006$


sm_restore -s SC20050809155617 -R c:/temp -v 1 -l s -c Clientrechner -d 1 -V
{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"
| style="background-color: #DEB0B0;" | <font size="-1"><b>Attention</b></font>
|-
|
Please keep in mind that the exclude entries have to be set up with a regular expressions syntax.
|}


Parameter:


-j ursprünglicher Auftragsname des Backup-Jobs
If, for instance, ''all'' is entered in the source of the task definition, the complete system is backed up, excluding the items in the exclude file. Leave the Exclude List empty.
-s Der Savesetname des Backup-Jobs muss eingetragen werden, zu finden ist dieser im .sel-File des Restore-Jobs
-r Rücksicherungsziel (bitte nur auf des gedrehte "/" achten)
-l das "s" steht für selektiven Restore
-S der Hostname des SEP sesam Servers
-v 1 erhöhen des Loglevels
-V um die Ausgabe im Vordergrund zu behalten
-c Hostname des Clients auf den zurückgesichert werden soll
-d Laufwerksangabe des LWs in dem das SEP sesam-Medium liegt z.B. "1"


==== Alle Daten von einem Band zurücksichern ohne SEP-sesam-DB ====
Set up the following entry in the Save options field of the Options 1 register in the backup task definition:


Um den Datenbestand ohne eine lauffähige Installation von SEP sesam wieder von einem Band zu restaurieren ("sesam-DB-Restore") gibt es folgende Vorgehensweise. In das Verzeichnis {{path|<SESAM_ROOT>/bin/sesam}} wechseln und das Programm {{path|sm_recover}} starten. In der ersten Ausgabe erscheint eine Übersicht aller erkannter Laufwerke, die an diesem System angeschlossen sind. Es besteht die Möglichkeit eines dieser Laufwerke auszuwählen.
  -X /etc/sesam/excludefiles.txt


azurix:~ # sm_recover
SEP sesam will exclude all listed files and directories from the backup.
num device          name            typ
  1  disk1          Drive-1        DISK_HARD
  2  /dev/nst0      Drive-2        DLT
Enter drive number, (r) to repeat list, (q) to quit:


Durch Eingabe der Ziffer "2" wird der {{path|sm_recover}} den gewünschten Inhalt auf dem physikalischen Bandlaufwerk suchen. Die nächste Abfrage sollte nur mit "y" bestätigt wenn keine wichtigen Sicherungen oder Rücksicherungen laufen.
=== How do I use an Exclude File in Microsoft Windows? ===


Analyse a media: restore data or listings of savesets
To exclude several directories from a backup source, create a .txt-file that contains all the directories you want to exclude from the backup. This file should be created on the computer that you want to backup. For example:


Restoring data while SEP sesam is active may cause conflicts
Create the file {{path|exclude.txt}} on the client in the directory {{path|C:\Programme\SEPsesam\var\ini}}. THe {{path|exclude.txt}} may, for example, contain the following:
due to concurrently running activities on the drive.
If you're shure, that there are no activities scheduled during
recover, you don't neeed to block SEP sesam
Blocking SEPsesam during recover prevents execution of activities
scheduled for the other drives too.
Do you want to block SEP sesam ? (y|n] >
Bestätigen Sie mit "y"


wait until SEPuler - the timecontrol of SEPsesam - finishes its current work ...
  D:/DOWNLOAD
SEPuler is blocked ...
  D:/PREKITS
Die nächste Ausgabe mit "n" bestätigen, außer die Suche sollte mit einem gewünschten Filter vorgesetzt werden.
  D:/Dev
  D:/kit_2_3_1_7
  D:/kit_2_3_1_5
  D:/knoppix
  D:/ACHIM
  D:/gui


Do you wish to enter label, saveset-name and segment-number directly ( no searching on media ) (y/n) > n
The backup task source is set to D:. In the backup task window, under the '''Save options''' field, enter:


Die nächste Ausgabe ist eine Meldung, dass das Band zurück gespult wird.
-X C:\Programme\SEPsesam\var\ini\exclude.txt


now tape will be rewinded and scanned until end ...
'''IMPORTANT:'''
* Use only "/" (slash) in the exclude file and NOT "\" (backslash)!
* Every directory and file must be entered in a new line. This also applies to paths that include spaces.
* Known bug: in SEP sesam version 4.3.1-69, you must use a double backslash (\\) instead of a single slash (/)!


In der nächsten Anzeige können die ausgegebenen Savesets ausgewählt und diese dann mit Eingabe der Nummer mit weiteren Instruktionen zurückgesichert werden. Bitte starten Sie nach diesen Schritten alle SEP sesam-Dienste neu.
In this example, the entire drive D: is backed up except the directories that are declared in the exclude.txt.


==== Fehlerhafte Sicherungen zurücksichern, bei denen Teile der Daten gesichert worden sind ====
=== How can I set the SBC so that the Exclude List always uses the file pattern (?,*) instead of using regular expressions?===


Normalerweise zeigt sesam im Restore-Wizard keine abgebrochenen Sicherungen an. Um so eine fehlerhafte Sicherung, bei der schon Daten gesichert worden sind, zu restaurieren muss diese in der SEP sesam Datenbank zuerst auf erfolgreich gesetzt werden.
In the configuration file <SESAM_VAR>/var/ini/sm.ini on the sesam client, the entry


Dazu wird zuerst die '''Saveset ID''' benötigt. Diese findet man in der GUI unter ''"Sicherungen nach Status -> fehlerhaftes Backup -> Eigenschaften -> Saveset"'' (S...).
  [SBC_OPTIONS]
Dann auf der Kommandozeile folgende Befehle eingeben:
EXCLUDE_MATCH= REGEXP


# [[German_FAQ#Ein Supportmitarbeiter hat gesagt ich soll das Profile setzen, was meint er damit?| Sesamprofile]] ausführen
must be changed to
# Eintrag in der DB ändern. Der ''saveset'' muss natürlich angepasst werden.
  sm_db "update results set state='1',blocks=1 where saveset='SC20060101121314'"


Danach sollte der Saveset unter Sicherungen nach Status grün sein und eine Rücksicherung möglich sein. Sollte es trotz dieser Einstellungen Probleme geben, sollte überprüft werden ob tatsächlich Daten gesichert worden sind.
EXCLUDE_MATCH= PATTERN


==== Wie kann ein Abbruch der Rücksicherung mit '553 RETR Failed. Data Synchronization lost - Restore terminating' umgangen werden? ====
=== What should I do when a client backup fails with a WIN32 API error: "1450 - Not enough system resources to execute the requested service"? ===
Daten der Linux/UNIX Sicherungen werden in CPIO Sicherungssätzen gespeichert. Während der Rücksicherung werden die Daten auf korrektes CPIO Format überprüft. Ist das Format nicht vollständig korrekt dann wird die Rücksicherung abgebrochen und endet mit:
'<code>BSA Call BSAEndData (closing saveset) failed: System detected error, operation aborted. TRANSIENT or PERMANENT NEGATIVE reply: 553 RETR Failed. Data Synchronization lost - Restore terminating'</code>


Die folgenden Möglichkeiten bestehen um die Rücksicherung fortzusetzen
The backup of a client may end with the following error message in the backup log:


;Für die Rücksicherung: Eingeben der Option '-F none' im letzten Tab 'Restore Wizared' -> 'Expert Options' -> 'Restore Options'
sbc-1148: Error:  W2KSS Error: [WIN32 API error: 1450 - Not enough system ressources to execute the requested service.
;Für alle folgenden Rücksicherungen am RDS: Setzen der GLBV restore_no_abort am RDS mit 'sm_glbv w restore_no_abort yes'. Falls die non-CPIO Bytes zu weiteren Problemen führen können diese ausgeblendet werden mit: 'sm_glbv w restore_no_junk yes'.
Cannot store registry key: [SOFTWARE]. RegSaveKey() call failed in BackupRegistry().].


=== Fragen zur Microsoft-Windows-Rücksicherung ===
The reason for this is the small size of the registry/paged memory area. This problem not only affects SEP sesam but also other backup tools, such as NTBackup. The following Technet article explains approaches for different versions of Microsoft Windows:


==== Wie kann ich in einem Active Directory Teile des ADS restaurieren, ohne dass diese von anderen ADS-Replikanten überschrieben werden? ====
http://support.microsoft.com/kb/304101/en-us


Im Boot-Modus "Verzeichnisdienst wiederherstellen" erfolgter Rücksicherung des "System_States" mit überschreiben muss mit Hilfe des Tools "ntdsutil" der Teilbaum des ADS der restauriert wurde und nicht durch Abgleich mit den anderen ADS-Replikanten überschreiben werden soll "authoritative" gesetzt werden:
=== How are Archive Bits processed?===


Beispiel Teilbaum Marketing aus Anitpodes.com:
As of SEPsesam version 3.4.1.67, archive bits are no longer used for incremental and differential backups on Microsoft Windows. This can be changed if necessary.


#> ntdsutil
{| WIDTH= "95%" style= "background-color: #E0E0FF; border: solid 2px #A0A0FF;"
ntdsutil: authoritative restore
|-
authoritative restore: restore subtree OU=Marketing,DC=Antipodes,DC=COM
|
'''Note:'''
As of SEP sesam version 4.2.1, file system backups on Microsoft Windows are always executed with COPY! Two new options were introduced:
* '-o add_archive_ready' to add files with the 'Archive Ready' attribute
* '-o clear_archive' to reset the 'Archive Ready' attribute.


Siehe hierzu Microsoft-Publikation [http://windows.uwaterloo.ca/Server/Disaster/MS_docs/recovery.htm#_Toc475176610  Windows 2000 Server Disaster Recovery Guidelines - Active Directory]
If 'with_archive_bit' is set to the value 'yes', then all FULL/DIFF/INCR backups will be executed as COPY. The following are additional options:
bzw. [http://technet.microsoft.com/en-us/magazine/cc162459.aspx Disaster Recovery: Active Directory Users and Groups]
* FULL: -o clear_archive
Abschnitt "Performing an Authoritative Restore"
* DIFF: -T {since_last_full} -o add_archive_ready
* INCR: -T {since_last_backup} -o add_archive_ready,clear_archive
|}


=== Fragen zu NOVELL Rücksicherungen ===


==== Kann ich bei einem mittels TSA gesicherten Volume/Verzeichnis beim Wiederherstellen die Pfad Reduktion verwenden ? ====
You can set the use of archive bits with the command:
sql "update defaults set value= 'yes' where key= 'with_archive_bit'"


Seit Version 4.2.1-37 des Sesam Novell Clients ist die Verwendung der Pfadreduktion möglich.
After setting the value to 'yes', the files' Windows archive bits are treated as follows, depending on the backup type:


Bei allen Versionen des Sesam Novell Clients vor 4.2.1-37, ist diese Funktionalität bei TSA Sicherungen / Wiederherstellungen nicht möglich. Es muss in den "Experten Optionen" des Restore Wizards immer "Ohne Reduktion" ausgewählt sein (default Wert).
;COPY: Saves all files without regard to the archive bit, archive bit is not reset.
;FULL: Saves all files without regard to the archive bit, resets archive bit.
Dadurch wird unterhalb des als Zielverzeichnis ausgewählten Verzeichnisses die komplette Verzeichnisstruktur aus der Sicherung aufgebaut. Bei einem Restore mit "auf Original -Zielpfad rücksichern" werden die Dateien am ursprünglichen Ablageplatz erstellt.
;DIFF: Only files with archive bit are saved, archive bit is not reset.
;INCR: Only files with archive bit are saved, resets archive bit.


The following issues must be considered when selecting a backup strategy:


[[Image:Novell__restore_reduction_02_de.png]]
# A backup sequence FULL-DIFF-INCR-DIFF-... is not logical. Following an INCR backup with a DIFF will not save files saved by the INCR backup because the archive bit is reset!
#If the file archive bits are reset manually or by other programs, a following DIFF or INCR backup may not save the files!
#If archive bits are not changeable, for example, if they cannot be reset because they are in 'ReadOnly' directories, warnings will be returned during FULL and INCR backups.


==== Ist es möglich beim Restore einer TSA Sicherung Dateien aus mehreren Verzeichnis "flach" in ein Zielverzeichnis zu restoren ? ====
=== How do I get backups to ignore Archive Bits and use creation/modification time?===


Diese Funktionalität ist bei TSA Sicherungen / Wiederherstellungen nicht möglich. Es muss im Restore Wizard der Haken "ursprüngliche Baumstruktur" gesetzt sein, unabhängig davon, ob auf den "original Zielpfad" oder ein "neues Rücksicherungziel" restored werden soll.
As of SEP sesam version 3.4.1.67, ''Archive bit'' are not used for incremental and differential backups on Microsoft Windows!


To set the use of creation/modification time, go to the <SESAM_ROOT>/bin/sesam directory and call:


[[Image:novell_restore_path_01_de.png]]
sm_db "INSERT INTO defaults (key,user_name,value) VALUES ('with_archive_bit','sesam','no');"


== Datenbanken ==
FULL, DIFF and INCR backups will now ignore archiv bits. DIFF and INCR backups use the start time of the last referenced backup - for DIFF, the preceding FULL backup and for INCR, any preceding backup.


=== Anzahl der SID für Oracle ermitteln ===
The option below executes optional resetting of archive bits when it is inserted in the backup task properties in the 'Options 1' tab of the 'Save options' field:


;Im Betriebssystem einen Blick in die Prozessliste werfen
-o clear_archive
:Ist eine Oracle-Instanz gestartet, ist unter anderem auch der System-Monitor (smon) gestartet. Die Namen der Oracle-Prozesse tragen steht's als Bestandteil auch den Instanz-Namen. Die allgemeine Form lautet ora_<prozess_name>_<sid>


;Beispiel:
=== Why does the backup of encrypted data fail on Microsoft Windows 2000 with the message "The network path was not found"?===
oracle@myhost:/ ps -ef | grep smon
oracle 23557 11596 0 Dec 19 ? 0:22 ora_smon_rac1


In diesem Fall wäre die SID also rac1.  
Microsoft released a Hotfix dated 24 March 2004 for older Microsoft Windows 2000 versions for the backup of encrypted data (Encrypting File System - EFS). See:


;Die oratab prüfen
http://support.microsoft.com/?scid=kb%3Ben-us%3B843198&x= 10&y=8
:Unter /var/opt/oracle die oratab öffnen. Dort findet man den Instanz-Namen und das Oracle-Home für automatisch zu startende Oracle-Instanzen.


;Beispiel:
Beginning with this Hotfix, there is support for the Unicode Patch Convention with the \\?\ prefix.
oracle@myhost:cat /var/opt/oracle/oratab
rac1:/opt/app/oracle/product/10.2.0/db_1:N


=== What does the warning "The system cannot find path. RegLoadKey()..." during System_State backup mean? ===
You may see the following output in NOT-Log:


;Einen Blick in die Parameter-Datei werfen
C:\Program Files\SEPsesam\var\tmp\usr_wf_S-1-5-21-220523388-1123561945-839522115-1003].
:Im Oracle-Home unter dbs bzw. database findest Du entweder die init<sid>.ora oder das passende SPFile. Hier ist die Parametrisierung der Instanz hinterlegt. Die Parameter db_name und instance_name geben Auskunft über Datenbanknamen und SID.
2010-04-13 02:04:20: sbc-2074: Warning: W2KSS Warning: [WIN32 API error: 3 -
The system cannot find path. RegLoadKey() call failed for
file: [C:\Documents and Settings\nn\ntuser.dat] in BackupUserProfiles().].


;Als DBA an der Instanz anmelden und die entsprechenden Views abfragen
This is an inconsistency of the system configuration of the operating system. The reason is that a user profile has been deleted but the user account still exists. The System_State backup is looking for files corresponding to the user in the file system but the files no longer exist. To resolve the problem, delete the user in question or restore the profile date in the file system.


In SQL*Plus als DBA-User: SQL
Check the following Hive in your registry to see whether it still includes references to usernames which no longer exist:
1. SHOW parameter db_name
2. SHOW parameter instance_name


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList


Folgende SQL-Statements sind aus jedem Tool heraus nutzbar
=== Why is the Powershell script not executed on a target machine? ===
1. SQL> SELECT instance_name FROM v$instance;
By default, Microsoft installs Windows Powershell with the permission set to '''Restricted'''. This setting only allows the execution of commands in Powershell but no scripts.
2. SQL> SELECT [name] FROM v$database;


Weitere Informationen zum Thema SID gibt es hier: http://www.ordix.de/ORDIXNews/1_2004/db_1.html
This can be changed with following command in Powershell:


== Medien ==
Set-ExecutionPolicy RemoteSigned


=== "Backup to Disk -> Datastore" einrichten ===
For more information, see http://technet.microsoft.com/en-us/library/ee176961.aspx
[[Konfiguration eines DataStores]]


[[Verwendung von DataStores]]
=== Can I backup MS SQL/MS Exchange with the Volume Shadow Copy (VSS) functionality of Microsoft Windows? ===


[[Administration von DataStores]]
Yes, it is possible to use the VSS functionality to backup MS SQL or MS Exchange environments but it is only recommended for small installations.


[[Betreiben von DataStores]]
There are two strategies for consistently backin up a running MS Exchange or MS SQL environment:
# Using the SEP sesam Online Extensions for MS Exchange or MS SQL.
# File system backup with the activation of the VSS Writer for MS Exchange or MS SQL (Volume Shadow Copy functionality of Microsoft Windows).


==== !!Für ältere Versionen bis. 4.0 ====
'''SEP sesam Online Extensions'''
* In der Sesam GUI sicher stellen, dass der ''"Lader 0"'' (in neueren Versionen ''"Virtual Loader"'') unter dem Menüpunkt ''" Komponenten -> Lader"'' vorhanden ist.
* Lokalen Speicherplatz ausfindig machen. Es ist auch möglich, über einen [http://de.wikipedia.org/wiki/Uniform_Naming_Convention UNC]-Pfad auf ein NAS-Gerät zu sichern, wobei die Einstellungen und Berechtigungen am NAS-System selbst vorzunehmen sind.
* Der Diskpool ist ab einer Größe von 1 TB kostenpflichtig.
* Soll der Disk-Medienpool an einem zweiten System installiert werden (zu wenig Platz auf dem SEP sesam Server) muss dort ein lizenzpflichtiger RDS (Remote Device Server) installiert werden.


In der SEP sesam GUI unter ''"Komponenten -> Medienpools'' einen neuen Pool anzulegen. Dieser kann mit einem beliebigen Namen versehen werden. Die erste Einstellung die verändert werden muss, ist der Wert "Laufwerksgruppe". Diesen auf ''"Diskdrives"'' stellen. Im nächsten Schritt
* Dedicated backup of Groupware data/database data, independent of the files in the file system.
das Verzeichnis, in dem der SEP sesam die virtuellen Tapes anlegen kann, angeben. Die darauffolgende Eingabe ist die max. Größe die der Medienpool in dem angegebenen Verzeichnis in Anspruch nehmen darf. Diese in MB angeben und den Umrechnungsfaktor 1 GB = 1024 MB beachten. Nachdem dieser gespeichert ist, können neue Medien dem Pool hinzugefügt werden (neues Medium). Unter ''"Konfiguration - > Medientyp"'' (in der Menüleiste) können verschiedene Größen angelegt werden. z.B. ''"DISK_100"''. Dieses Medium hat die Speicherkapazität von 100 MB.
* Full, Differential and Incremental backups are possible.
* Granular backup of single databases and database instances is possible.
* Backup of the transaction log – other systems accessing the database are aware that a backup is performed
* Restore of the database/Groupware data only (without files from the filesystem)
* Granular restore of single instances and databases is possible. In a restore scenario, there is no need to restore the complete database – this is important for larger databases/Groupware systems
* Online restore is possible


Ein Beispiel wäre: Wenn der Medienpool zuvor auf 1000 MB beschränkt wurde, ist es möglich zehn vom Typ "DISK_100" aufzunehmen.
'''Backup via the Microsoft VSS Writer'''


Dann mit ''"Start"'' die Initialisierung beginnen. diesen Schritt so oft wiederholen bis die maximale Kapazität erreicht ist. Sollte sich die Frage stellen, wie viele Medien in einen Disk-Pool aufgenommen werden sollen, ist ein gängiger Erfahrungswert zwischen 10 und 20 Stück, wobei die Größe eigentlich keine Rolle spielt. Die Neuaufnahme der Medien lässt sich über einen ''"Archivabgleich"'' automatisieren (''"GUI -> Komponenten -> Lader -> Lader0 -> Archivabgleich"''). Für zehn Medien wäre der erste Slot 0 und der letzte 9. ''"Automatische Neuaufnahme"'' muss aktiviert werden. Wenn alle Punkte erfolgreich durchgeführt wurden, kann ein Sofortbackup auf diesem Pool (Disk) gestartet werden.
* The Volume Shadow Copy Functionality of Microsoft Windows is included in the regular SEP sesam file backup agent for Microsoft Windows. It also supports the VSS backup of MS Exchange and MS SQL.
* A VSS-based backup of a database/Groupware system is always a file system backup. If the file backup agent starts backing up a filesystem with a MS SQL / MS Exchange Database, the VSS functionality is used to inform the database about the backup. The database/Groupware system delivers the data consistently.
* A VSS backup of a database/Groupware system always backs up all of the data. Incremental or differential backups are not possible. Further, the backup of single databases or single instances is not possible.
* A restore of the database only is not possible. The database/Groupware system is part of the complete file system backup and the complete file system backup must be restored in order to restore the database.
* Restore of single instances or single databases is not possible
* The transaction log file is not backed up – other applications are not informed about the backup of the database.


=== Einrichten eines automatisierten Archivabgleichs ===
To enable a consistent restore in distributed environments, the different components must be informed if a backup of one of the systems is performed. For example, in a Sharepoint Server environment, the database and mailserver run on different servers. A VSS backup of a single server will result in an inconsistent restore. Here, only the backup via the SEP sesam Online Extensions will guarantee consistent data.


* Unter ''"Zeitpläne"'' einen neuen Zeitplan erstellen
In summary, the backup of MS Exchange or MS SQL environments via VSS is a viable option to get a consistent backup of the running environment as long as the data volume is not too large. It is an alternative for small environments with 1-5 users. In critical productive environments, the use of the SEP sesam Omline Extensions for MS Exchange/MS SQL is highly recommended.
* die gewünschte Zeit einstellen,
* unter diesem Zeitplan einen Befehlstermin einfügen und den folgendermaßen editieren:


Priorität:    standardmäßig auf 1.
=== Is it possible to exclude specific VSS writers from a backup? ===
Name:          es sollte ein aussagekräftiger Name für diese Aufgabe eingetragen werden.
Yes. To include all VSS writers except the Microsoft Exchange Writer from an "all" backup task, use this exclude:
Befehl:        Beispiel für Lader 1, Laufwerk 2 und 10 Slots: sm_robot -l 1 -d 2 -s 0-9
Client:        den sesam-Server-Namen auswählen
Benutzer:      Wird dieser Befehl auf einem Unix Rechner ausgeführt bitte ''"root"'' eintragen,  
                bei Windows ''"system"''.


Hinweis: Siehe auch [[German_FAQ#Wie richtet man einen Befehlstermin ein?|Wie richtet man einen Befehlstermin ein?]]
  VSS:/Microsoft Exchange Writer


=== Ich habe ein Band ohne Beschriftung gefunden und möchte wissen ob sich auf dem Band ein sesam-Label befindet ===  
=== Why does a Microsoft Windows backup via VSS stop with "[ [CVssBaseObject::CreateVssBackupComponents] - Access denied?" ===


Legen Sie das Band in das Laufwerk, selektieren Sie das Laufwerk in der GUI unter ''"Komponenten -> Laufwerke"'' und führen Sie dann die Laufwerksaktion ''"Label bestimmen"'' aus. In der Anzeige ''"laufende Meldungen"'' wird unter dem Laufwerk das - gegebenenfalls - vorhandene Label ausgegeben.
SEP sesam is not allowed to create a snapshot with the current user. Check the user running the SEP sesam daemon and make sure that the user has all permissions to access the volume(s).


Alternativ gehen Sie auf die Kommandozeile, wechseln Sie in das Verzeichnis
=== What does "Stream data length bigger than buffer can accept. Input buffer length = [65536], Stream data size = (High part)[0] (Low part)[65564]" mean? ===
  <SESAM_ROOT>/bin/sms
und geben folgendes ein:
* Für Unix
  ./sm_sms_interface getlabel -d /dev/nst0


* Für Windows
SEP sesam uses 64 Kb to back up Windows ACL files and folders and one object exceeds this buffer. You can use the Windows command '''icacls''' to display the ACL of a file or folder. The output looks like this:
   sm_sms_interface getlabel -d Tape0
  C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp"
  C:\Documents and Settings\LocalService\Local Settings\Temp NT AUTHORITY\LOCAL SERVICE:(I)(F)
                                                          NT AUTHORITY\LOCAL SERVICE:(I)(OI)(CI)(IO)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                                          BUILTIN\Administrators:(I)(F)
                                                          BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
   Successfully processed 1 files; Failed processing 0 files


Das für den Aufruf notwendige Gerät (Schalter -d) entnehmen Sie den Eigenschaften ihres Laufwerks unter ''"Komponenten > Laufwerke"''.
If you get several hundred or thousand lines, there is something wrong with the ACL. In such an event, it would make sense to reset the permissions of the file's respective folder. Use this command:
  C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp" /reset


=== Wie kann man manuell ein Label auf ein Band schreiben? ===
This command inherits the permissions of the parent object. You may have to adjust the permissions after this command if manual settings have been made for this object.


Gehen Sie auf die Kommandozeile und wechseln in das {{path|<SESAM_ROOT>/bin/sms}}-Verzeichnis und geben folgendes ein:
=== How do I exclude files and folders during a TSA based backup? ===
* Für Unix
  ./sm_sms_interface init -d /dev/nst0 -t testpool00001:1


* Für Windows
You can use the "exclude list" field on the first tab of the backup task. If several directories or files are to be excluded from a backup task, it may be possible that the count or character limit of the field (max. 255 character) will be exceeded. To solve this problem, use a files to define an exclude list. This file must be created on the backup client on which the backup is to be executed.
  sm_sms_interface init -d Tape0 -t testpool00001:1


{| WIDTH="95%" style="background-color: #FFF0F0; border: solid 2px #DEB0B0;"  
{| WIDTH= "95%" style= "background-color: #FFF0F0; border: solid 2px #DEB0B0;"
| style="background-color: #DEB0B0;" | <font size="-1"><b>Achtung</b></font>  
| style= "background-color: #DEB0B0;" | <font size= "-1"><b>Attention</b></font>
|-  
|-
|  
|
Das Band wird dabei ohne Rückfrage überschrieben.
Only a pattern format can be used for exclude. Wildcards are allowed in the file or directory entries. An exclude folder must end with a slash!
|}
|}


Das ''Tapelabel'' besteht aus folgenden Teilen:
Create a separate line for each directory or file item in a file (for example, <tt>/etc/sesam/backupfiles.txt</tt>):
# Name des im sesam eingerichteten Pools (hier testpool)
 
# der Tape-ID, einer 5 stelligen Ziffer
  /media/nss/VOL1/tmp/
# einer Zahl nachdem ":", die der vorherigen entspricht.
  /media/nss/VOL1/USR/*/Notes/Workspace/
  /media/nss/VOL1/data/do_not_backup.txt


=== Band nach Backup automatisch entladen ===
For instance, ''/media/nss/VOL1'' is entered in the source of the task definition. This means that the complete VOL1 is backed up, excluding the items in the exclude file. Next, set up the following entry in the "Save options" field of the "Options 1 "register in the backup task definition:


Dafür wird am besten die '''sm_notify'''-Schnittstelle verwendet. Eine Beschreibung der Schnittstelle mit einem Beispiel wie man nach der Beendigung aller Sicherungen ein Band entlädt befindet sich im [[Admin_Handbuch#Notify|Admin-Handbuch]]
  -X /etc/sesam/excludefiles.txt


Der eigentliche Befehl zum Entladen lautet:
SEP sesam will exclude all the files and directories from the backup that are listed in the file.


sm_drive dismount 2 unload
=== How do I back up the eDirectory on Novell OES Linux without SP2 -? ===


wobei die '''2''' durch die jeweilige Laufwerksnummer zu ersetzten ist.
Starting with OES SP2, a TSA-NDS (Target Service Agent - NetWare Service Directory) is available for eDirectory on Novell OES Linux. For older OES versions, SEP sesam provides a special backup type called "OES Novell Directory". This backup type uses SEP's <tt>sbc_nds</tt> and Novell's <tt>ndsbackup</tt> to back up the eDirectory. Using <tt>sbc_nds</tt> generates the appropriate command line for backup levels FULL/DIFF and INCR. The <tt>ndsbackup</tt> function requires User and Password information. These values must be defined in the properties of the Backup Task as Backup Option and Restore Option with <tt>-a user= {your user},pass= {your password}</tt>


=== Verhalten beim Einlegen eines Reinigungsbandes ===
For example:


Ein Reinigungsband wird derzeit nicht explizit erkannt. Bei einem Archivabgleich wird dieses in dem Fach, in dem das Reinigungsband liegt, erfasst und geladen, und damit eine Reinigung angestoßen.
-a user= cn= admin.o= novell,pass= novell


Um ein ungewolltes Reinigen zu vermeiden ist es empfehlenswert, das Reinigungsband in das höchste Fach des Laders einzulegen und die Anzahl der Fächer beim Lader um ein Fach zu reduzieren.
Selective restore is not possible but you can filter specific subtrees. To do this, choose "Expert Options" in the restore wizard and enter the requested subtree under the 'Filter'  tab.


Ein Reinigungslauf wird dann nur durch explizites Laden des Mediums angestoßen.
;Availability of Backup Task Type 'OES Novell Directory :Which SEP sesam version are you using? It should be version 3.0 or higher.
;Availability of recent sbc_nds :Please use the recent version: http://download.sep.de/netware/ <tt>sbc_nds_*.*</tt> or <ttsesam-novell-client-*.*</tt>
:Is sbc_nds in <tt>bin/sesam</tt> on client side available and executable?
;Backup Task with User and Password :If it doesn't exist define, a backup user and password for eDirectory backup in Novell iManager.
:Define a backup task with the type 'OES Novell Directory'. The source is the identifier of your eDirectory tree or subtree. You may check this with the <tt>ndsbackup</tt> scan function.
:Set the backup option and restore option to: <tt>-a user= {your user},pass= {your password}</tt>
;Restore :Use the target '/' to restore into the original tree.
:With expert options you may set the filter to the requested subtree.


=== Nach eine Sicherung sperrt SEP sesam Bänder, die nicht benutzt wurden. Was ist los? ===


Das hat mit full->diff oder full->inc->inc->inc->... Backups zu tun.<p>
'''Path for ndsbackup after eDirectory 8.8.1'''
Ein Beispiel sollte diese Situation erklären.<br>
full-backup      ->    Benötigte 3 Bänder (backup00001, backup00002, backup00003)<br>
inc-backup      ->    Benötigte 1 Band (backup00004)<br>
inc-backup      ->    Benötigte 1 Band (backup00005)<br>
inc-backup      ->    Benötigte 1 Band (backup00006)<br><br>


Das erste INC Backup änderte die EOL (end of lifetime) für die drei Tapes (backup00001 bis backup00003). Das zweite INC Backup ändert die EOL für die ersten 4 Tapes (backup00001 bis backup00004), das dritte INC Backup ändert die EOL der ersten 5 Tapes (backup00001 bis backup00005), usw.<br><br>
As of eDirectory version 8.8.1, ndsbackup is no longer located in <tt>/usr/bin</t> but instead in <tt>/opt/novell/eDirectory/bin/ndsbackup</tt>. A link into the SEP sesam bin directory is necessary to enable an execution with SEP sesam. Use the following command in case of a standard installation:


If the next full backup fails, the following incremental backup will use the chain from the last successful backup(s) and so the chain expands.<br>
  ln -sf /opt/novell/eDirectory/bin/ndsbackup /opt/sesam/bin/sesam
This is necessary for a generation restore, because an incremental backup just includes the changes from the last backup, no matter, whether this was full, differential or incremental. All tapes are needed to perform a successful restore.<br>
With backup type differential instead of incremental sesam just locks the tapes from full backup and the tapes, which were used by the differential itself.


=== Das älteste Band aus einem Pool vor dem Backup mitteilen lassen ===
=== Which mode should I use for TSAFS backup of OES Novell File systems? ===


In manchen Fällen ist es ganz hilfreich, vor einem Backup das zu verwendende Band zu kennen, um dieses einlegen zu können. Um diese Information zu erhalten, kann folgender Befehl verwendet werden
The TSAFS should generally be loaded in Linux mode. The Netware mode and Dual mode are only intended for mixed environments (backup of native netware servers) or for a Novell cluster in "mixed mode" .


sm_arch_getoldest 1 full-disk
* On cluster nodes of a pure Linux OES cluster, use the TSAFS ONLY in Linux mode.
* On a mixed cluster (OES Netware and OES Linux nodes), the TSAFS must be loaded in Netware or Dual mode. For the backup of the cluster volumes, the "Netware Cluster Filesystem" target must be used.


Damit wird für Laufwerk 1 das nächste freie Medium aus dem Pool '''full-disk''' angezeigt.
== RESTORE==


=== Konsistenz Prüfung eines Data Stores ===
=== Is it possible to restore only single files if the SEP sesam listing file is no longer available ?===


Das folgende Kommando ermöglicht die Prüfung der Konsistenz eines Data Stores:
Yes. In order to do this, enter the file patterns into the Restore Wizard. First, the desired "Saveset" is selected in the registry tasks and the option "fully restore" is selected. Click on the '''Expert Options''' button to open the Expert Options Window. Enter the file patterns in the "Filter" register. Many patterns are separated by blanks. Only files which fit into this pattern will be restored. All others are ignored.


sm_data_store check_db -L {datastore} | -d {drive_num}
Examples:


'''Beispiel 1:'''
  /*.xls          -> restores all files with the ending ".xls"
Das Beispiel zeigt einen Data Store der 2 Sicherungssätze mit falschen Dateigrößen beinhaltet (Dateigrößen kleiner als die Größen die in der SEP sesam Datenbank gespeichert sind). Da die beiden Sicherungen den Status fehlerhaft ('X') bzw. abgebrochener Datentransfer ('3') besitzen wird dennoch ein Status 'SUCCESS' (erfolgreich) zurückgegeben.
  /*/X11/XF86*    -> restores all files from the directory "/X11" which start with
                    "XF86".
  /*.ini /*.conf  -> restores all files which end on ".ini" or ".conf"


#>sm_data_store check_db -L DATA_STORE2
'''Note''': is is essential to use '/' when writing the pattern.
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $  Sesam Id: None
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: DB:              select * from data_stores where name='DATA_STORE2'
2014-08-28 14:39:59: DB:              select * from hw_drives where data_store='DATA_STORE2' order by drive_num
2014-08-28 14:39:59: DB:              select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
  results.saveset=result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location='DATA_STORE2'))
  and results.data_size>0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:              select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
  results.saveset=result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location='DATA_STORE2'))
  and results.data_size=0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:              select label,pool from media where location='DATA_STORE2'
2014-08-28 14:39:59: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 14:40:00: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 14:40:00: ==================================================================================
2014-08-28 14:40:00: Savesets in Sesam DB:          187.
2014-08-28 14:40:00: Saveset files found:          187.
2014-08-28 14:40:00: Saveset in DB and on FS:      187.
2014-08-28 14:40:00: Savesets not found on disk:      0.
2014-08-28 14:40:00: Saveset files not in DB:        0.
2014-08-28 14:40:00: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 14:40:00: 3  SF20140826212205682@gp_o1hNIc8g  miraculix_dev 2014-08-26 00:00:00 4430717952 > 4430686656
2014-08-28 14:40:00: X  SC20140825083202946@iW9ZD7vcSw2  SESAM_BACKUP 2014-08-21 00:00:00 1323736064 > 1323385536
2014-08-28 14:40:00: -------------------- List of savesets without data file --------------------------
2014-08-28 14:40:00: -------------------- List of files without DB entry ------------------------------
2014-08-28 14:40:00: -------------------- List of files without data file -----------------------------
STATUS=SUCCESS MSG=OK


'''Beispiel 2:'''
=== How do I use the Selective Restore Commands?===
Die Data Store Konsistenz Prüfung ermittelt einen Sicherungssatz mit falscher Dateigröße und Sicherungsstatus erfolgreich ('0'), der Status 'ERROR' (fehlerhaft) wird zurückgegeben.


G:\DATA_STORE2\DATA_STORE2\DataStore1\DataStore100002>sm_data_store check_db  -L DATA_STORE2
# Create a new directory root in the <SESAM_ROOT>\var\work directory
2014-08-28 15:03:05: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
# You will need the <tt>.sgm</tt> and <tt>.lis</tt> files from the backup
  2014-08-28 15:03:05: Arguments: sm_data_store check_db -L DATA_STORE2
# Execute 'Sesamprofile'
...
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 15:03:06: ==================================================================================
2014-08-28 15:03:06: Savesets in Sesam DB:          188.
2014-08-28 15:03:06: Saveset files found:          188.
2014-08-28 15:03:06: Saveset in DB and on FS:      188.
2014-08-28 15:03:06: Savesets not found on disk:      0.
2014-08-28 15:03:06: Saveset files not in DB:        0.
2014-08-28 15:03:06: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 15:03:06: 0! SI20140826150006895@ch-Gdm3Id_6  miraculix_dev 2014-08-26 00:00:00 106962944 > 1274932
2014-08-28 15:03:06: -------------------- List of savesets without data file --------------------------
2014-08-28 15:03:06: -------------------- List of files without DB entry ------------------------------
2014-08-28 15:03:06: -------------------- List of files without data file -----------------------------
2014-08-28 15:03:06: ERROR: File size does not match:        1.
STATUS=ERROR MSG=ERROR: File size does not match: 1.


In diesem Fall ist der Sicherungssatz beschädigt. Die Ursache muss ermittelt werden (Disk IO Problem, oder Dateisystem mit eingeschränkter Dateigröße, etc.).
In the 'root' directory, create a text file with the name "selected.txt" and extract the desired lines from the <tt>.lis</tt> file, for example:
Der 'results state' für diesen Sicherungssatz muss auf abgebrochen '3' gestellt werden um die Benutzung des Sicherungssatzes zu vermeiden.


sm_db "update results set state='3', msg='corrupt saveset (size)' where saveset='SI20140826150006895@ch-Gdm3Id_6'"
      "C :/WINDOWS/system32/config/AppEvent.Evt" f 8.10.2004 13:26:54 8.8.2005 15:56:07 1 4096 540672


Falls die Sicherungsdaten noch verfügbar sind muss eine entsprechende Sicherung nachgestartet werden.
In the command line of the SEP sesam Server, enter:


== SEP sesam-GUI ==
sm_restore -s SC20050809155617 -R c:/temp -v 1 -l s -c client -d 1 -V


Für jeden GUI-Client muss am SEP sesam Server die Erlaubnis erteilt werden. Dazu in folgendem Verzeichnis {{path|<SESAM_ROOT>/bin/sesam}} das Programm {{path|sm_setup}} aufrufen. Nach diesem Aufruf wird eine Information über alle kombinierbaren Möglichkeiten ausgegeben.
'''Parameters''':


Der Komplette Aufruf sollte dann lauten:
  -j Original task name of the backup job
  -s The saveset name of the backup job must be entered. You can find this in the .sel file from the restore job
  -r Restore target (note the slash "/"!)
  -l The "s" is used for selective restore
  -S The hostname of the SEP sesam servers
  -v 1 increase the log levels
  -V Suppress output to the background
  -c Hostname of the client to be restored
  -d Disk drive entry of the drive where the SEP sesam media is kept, for example, "1"


  sm_setup allow_gui -u <username> -c <hostname> -m <Berechtigung>
=== How do I restore all the data from tape media without the SEP sesam DB?===


; Benutzername
To restore data without a current license from SEP sesam, follow the restore procedure described below (SESAM DB Restore):
: der Systemuser der am System die GUI benutzen möchte
; Hostname
: Name des Rechners an dem die GUI geöffnet werden soll
; Berechtigung
: Rechte des einzelnen GUI Bediener setzen:


; admin
Change to the <tt><SESAM_ROOT>/bin/sesam</tt> directory and run the program <tt>sm_recover</tt>. In the first response, all known devices currently active on the system will be displayed. You can choose one of these drives.
: darf alles
; operator
: nur Betrachten des Sicherungsstatus
; restore
: Rücksicherungen starten, von Daten des Clients, von dem er sich verbindet


'''Beispiel:'''
azurix:~ # sm_recover
num device          name            typ
  1  disk1          Drive-1        DISK_HARD
  2  /dev/nst0      Drive-2        DLT
Enter drive number, (r) to repeat list, (q) to quit:


für einen Windows Rechner, dessen Hostname '''sinus''' ist. Der User '''sesam''' soll die Erlaubnis bekommen alles mit SEP sesam auszuführen.
By entering "2", <tt>sm_recover</tt> will look for the desired data on the physical tape drive. The following question should be answered with yes ("y") if no other backups or restores are active:
  <SESAM_ROOT>/bin/sesam/sm_setup allow_gui -u sesam -c sinus -m admin


'''WICHTIG'''
Analyse media: restore data or listings of savesets


Wenn dieser Befehl unter Linux verwendet wird, ist es nötig den Parameter -u und -c zu maskieren.
Restoring data while SEP sesam is active may cause conflicts due to concurrently running tasks on the drive. If you're sure that there are no activities scheduled during recovery, you do not need to block SEP sesam. Blocking SEP sesam during recovery prevents the execution of backup activities scheduled for the other devices.


  z.B. <SESAM_ROOT>/bin/sesam/sm_setup allow_gui -u 'sesam' -c 'sinus' -m admin
  Do you want to block SEP sesam ? (y|n] >


Es sollte jetzt möglich sein die GUI zu starten. Es ist wichtig bei der Angabe des Users Groß- und Kleinschreibung zu beachten und beim Hostnamen auf [http://de.wikipedia.org/wiki/FQDN#Fully_Qualified_Domain_Name_.28FQDN.29 FQDN] oder NOFQDN zu achten. Alle benötigten Daten um diesen Befehl vollständig abzusetzen, werden in ''"laufende Meldungen"'' als Fehlermeldung bei einem Verbindungsaufbau der GUI zum Server ausgewiesen oder mit
Confirm by typing "y"
  <SESAM_ROOT>/bin/sesam/sm_info p


=== Master-GUI einrichten ===
wait until SEPuler - the timecontrol of SEPsesam - finishes its current work ...
SEPuler is blocked ...


Die SEP sesam-Master-GUI ist eine technische Möglichkeit, um mehrere SEP sesam Server remote über eine oder mehrere GUIs zu administrieren und zu konfigurieren.
The following question should be answered with no ("n") unless you wish the data search to continue with a desired filter.


Die Firewall muss für die GUI-Verbindung frei sein.
Do you wish to enter label, saveset-name and segment-number directly ( no searching on media ) (y/n) > n


'''Wichtig:''' Die Verbindung findet zwischen den Servern und einem ausgewählten Knotenserver statt, auf den sich dann die Standard GUIs verbinden können und somit automatisch zur Master-GUI werden.
You will then be notified that the tape is rewinding.


Technisch funktioniert die Master-GUI-Option folgendermaßen. Sie haben an Außenstellen mehrere SEP sesam Server, die administriert werden sollen. Im Normalfall besteht die Möglichkeit, für alle Server eine eigene GUI-Engine auf einem ausgewählten Host "Wartungsrechner/GUI-Rechner" zu installieren. Mit der Master-GUI-Option ist es möglich, sich einen lokalen SEP sesam Server (oder bereits vorhanden) zu installieren, der sich dann auf alle anderen Server verbindet und diese über die eigene GUI darstellt. Um diese Verbindung zwischen dem Knotenserver und den außenstehenden Servern herzustellen, muss an den einzelnen SEP sesam Servern mit
The tape will now rewind and scanned to the end EOT...


sm_setup allow_gui -u *|<user> [-c *|<client>]  [-m admin|operator|restore]
In the next response, you may choose the desired savesets. By entering the saveset number, you can insert further instructions to restore the data. After finishing, restart all SEP sesam services, if desired.


[http://wiki.sepsoftware.com/wiki/index.php/German_FAQ#Sesam_GUI dieser Knotenserver] erlaubt werden. An der GUI, die auf den SEP sesam-Knotenserver zugreift, muss nichts verändert werden. Nach einspielen der Lizenz und einem Neustart der GUI, erscheint im rechten oberen Bereich ein neues Fenster, das nach der Einrichtung das Wechseln zwischen den einzelnen aufgenommenen Servern ermöglicht.
=== How do I restore all the data from a disk/data store media without the SEP sesam DB?===


Server können über den Punkt ''"Konfiguration -> Remoteserver"'' in der Menüleiste hinzugefügt werden.
'''Microsoft Windows''':


==== Konfiguration ====
sbc.exe -r -S $SERVER_HOSTAME -s @SF.....data -v 1 -R c:\target\
*!!! Wichtig !!! Diese Funktion ist aktuell nur möglich, wenn alle SEP sesam Server die identische Version haben.  
* Um die Master-GUI Option zu aktivieren, ist ab der Version 4.0.x keine zusätzliche Lizenz mehr erforderlich.
* Um auch die Master-GUI Option zu ermöglichen, muss die GUI mit dem zusätzlichen Aufrufargument '''-M1''' gestartet werden.  
WINDOWS: Auf einem Windowssystem ist dafür der Befehl in der Desktopverknüpfung zu erweitern. ''Rechtsklick auf des SEP sesam Icon
--> Eigenschaften --> hinzufügen des Parameters '-M1' am Ende der Zeile des Ziels --> GUI neu starten.
LINUX: Auf einem Linux System starten Sie die GUI Datei /opt/sesam/bin/gui/sesam_gui mit dem Parameter -M1 (i.e. ./opt/sesam/bin/gui/sesam_gui -M1)


=== Probleme bei der Neuaufnahme eines Clients ===
'''Linux''':


Folgende Meldungen können in der SEP sesam GUI bei der Neuaufnahme eines Clients erscheinen:
sbc -r -S $SERVER_HOSTAME -s @SF.....data -v 1 -R /target/


Meldung:
=== How can I restore a backup that has errors? The backup log file reported that the backup was partially successful.===
    Kein Zugang auf Rechner pc2 - bitte dort für pc1 einrichten
oder
    Auf dem Rechner pc2 ist noch keine SEP sesam Software installiert, bitte nachholen


Problem:
If a backup has failed but some or most of the data was backed up, you can update the sesam database manually to show the backup in the restore wizard. First, the saveset ID is required. This can be found in the GUI under backups by status-> failed backup> Properties> saveset (p. ..). Next, use the following commands in the command line :
Es ist entweder kein SEP sesam Client installiert, es wurde der falsche Rechnername in der SEP sesam GUI eingetragen oder eine Firewall ist zwischen den
beiden Rechnern bzw. auf einem der beiden aktiv. Z.B. bei Windows XP mit SP2 und ab SuSE 9.1.


Lösung:
    1 Source the sesam profile from $SESAM_ROOT/var/ini/sesam2000.ini
* SEP sesam Client auf gewünschten Rechner installieren
    2 Modify the entry in the DB. The saveset must be changed below.
* Bei falschem Rechnernamen den Client aus der ''"Topologie"'' löschen und neu anlegen
    3 sm_db "update results set state= '1',blocks= 1 where saveset= 'SC20060101121314'"
* Firewalls deaktivieren oder die Firewall-Option erwerben


Meldung:
After this change, the saveset for this backup should be show in green on the status display and appear in the recovery wizard. Nevertheless, you should still verify whether the data was backed up successfully.
    Fehlende Berechtigung - bitte [pc1.domain.de system] in pc2:<SESAM_VAR>/var/ini/sm_ctrld.auth


Problem:
=== Why don't the data lists appear in the Restore Wizard?===
Der SEP sesam Server hat keine Berechtigung, auf den Client zuzugreifen


Lösung:
If the data lists don't appear in the restore wizard, verify whether the CTRLD switch permission is set to <on>, and if not, please activate it.
Tragen Sie den Wert in der eckigen Klammer auf dem Client in die Datei {{path|<SESAM_VAR>/var/ini/sm_ctrld.auth}} ein


Meldung:
=== How do I avoid the problem "553 RETR Failed. Data Synchronization lost - Restore terminating"? ===
  Testsicherung von pc2 kommt nicht auf pc1 zurück - bitte prüfen (ping, DNS, lokaler STPD)
Linux/UNIX data is stored in CPIO saveset which is checked during the restore to ensure that the CPIO format is correct. If a format error is detected, the restore is aborted and ends with


Problem:
'BSA Call BSAEndData (closing saveset) failed: System detected error, operation aborted.
Die Verbindung vom SEP sesam Client zum SEP sesam Server funktioniert nicht
TRANSIENT or PERMANENT NEGATIVE reply: 553 RETR Failed. Data Synchronization lost - Restore terminating'


Lösung:
The following settings allow you to avoid a premature termination of the restore.
Prüfen Sie mit Hilfe des nslookup-Befehls, ob die Auflösung Forward mit und ohne [http://de.wikipedia.org/wiki/FQDN#Fully_Qualified_Domain_Name_.28FQDN.29 FQDN], sowie Reverse korrekt ist


Achtung: Die Prüfung muss auf dem SEP sesam Server UND dem Client erfolgen!
;Avoid the current restore task: Enter the sbc option <tt>'-F none'</tt> to the restore command in the last tab of the 'Restore Wizard' -> 'Expert Options' -> 'Restore Options'
;Avoid all further CPIO restores on the RDS: Set the SEP sesam GLBV <tt>restore_no_abort</tt> at the RDS with <tt>'sm_glbv w restore_no_abort yes'</tt>. If the suspicious (non-CPIO) bytes lead to further problems, they can be skipped with <tt>'sm_glbv w restore_no_junk yes'</tt>.


    nslookup {client}
=== How can I Restore Active Directory Subtrees in a Clustered Environment?===
    nslookup {IP-Address of client}                        # Wichtig: Reverse Lookup
    nslookup {SEPsesam Server name}
    nslookup {IP-Address of SEPsesam Server}                # Wichtig: Reverse Lookup


Beispiele - Prüfe Auflösung für mysesam und Reverse Lookup:
# Boot into Directory Services Restore Mode. This ensures that the directory is offline. In order to do this during the normal boot menu while restarting the computer, presee F8 when the message "For troubleshooting and advanced startup options for Microsoft Windows 2000, press F8" appears at the bottom of the screen. After pressing F8, select Directory Services Restore Mode from the Safe Mode and Other Startup Options list.
# Restore the "System_State" Backup with the SEP sesam GUI.
# To authoritatively restore Active Directory data, you need to run the Ntdsutil utility. See the following example (subtree organizational unit Marketing in the domain Anitpodes.com):


  #>nslookup mysesam
    #> ntdsutil
  Server:   dns.domaine.de
        ntdsutil: authoritative restore
  Address: 192.168.1.254
      authoritative restore: restore subtree OU= Marketing,DC= Antipodes,DC= COM


  Name:    mysesam.domaine.de
Refer to the Microsoft publication "Windows 2000 Server Disaster Recovery Guidelines-recovery.doc"
  Address:  192.168.1.1


  #>nslookup 192.168.1.1
=== Can I use path reduction of a TSA backed up Volume/Directory when restoring data ? ===
  Server:  dns.domaine.de
  Address:  192.168.1.254


  Name:    mysesam.domaine.de
Path relocation has been available as of Sesam Novell Client version 4.2.1-37.
  Address:  192.168.1.1


With older versions of the Sesam Novell Client, this functionality is not available when using a TSA backup or restore operation. You must always select "Without Reduction" in "Expert Options" of the Restore Wizard (this is the default value).


Sollte kein DNS im Einsatz sein und die Auflösung über die {{path|/etc/hosts}}-Datei laufen, verwenden Sie bitte den ping-Befehl zur Überprüfung der einzelnen Clients.
Thus, the complete directory structure is re-created to the target directory using the directory from the selected backup. Using the command "Restore to original destination on path", the directory is restored to the original storage space with all of the files.


=== Wie kann eine Sicherungsquelle mit mehr als 256 Zeichen oder eine vordefinierte Sicherungsquelle angeben werden?===


Zur Eingabe einer Sicherungs-Quelle (im SEP sesam Auftrag) mit mehr als 256 Zeichen Pfad- oder Dateibezeichnungslänge kann eine Datei, als Sicherungsquelle angegeben werden.
[[Image:Novell__restore_reduction_02_de.png]]
Erstellen Sie dazu eine Textdatei auf dem zu sichernden Clienten, in der alle Pfade untereinander aufgelistet werden (z.B. {{path|/opt/sesam/var/ini/large_source.txt}}). D.h. in jeder Zeile steht ein voll qualifizierter Datei- oder Verzeichnisname.


In den ''"Eigenschaften"'' des Sicherungsauftrags gibt es unter dem Reiter ''Optionen 1'' im unteren Teil die ''Experten Optionen''. Dort tragen Sie in den ''Sicherungsoptionen'' -f {file} ein, z.B.:


  -f /opt/sesam/var/ini/large_source.txt
=== Is it possible to restore flat files/directories from multiple locations when restoring a TSA backed up file? ===


Der SEP sesam Server liest diese Datei dann während der Sicherung ein und sichert die dort angegebenen Verzeichnisse oder Dateien, zusätzlich zu den unter Quelle angegebenen Dateien.
This functionality is not possible with TSA backups/restores. You should select "original tree structure" in the Restore Wizard, regardless of whether "original destination path" or a "new restore target" is desired.


Tipp: Das Befüllen dieser Datei ist auch dynamisch möglich.
[[Image:novell_restore_path_01_de.png]]


=== Wie kann man eine Excludeliste angeben, die länger als 150 Zeichen ist? ===
== STORAGE, DEVICES AND MEDIA MANAGEMENT==


Excludepattern können auch in einer Datei angegeben werden. Erstellen Sie eine Textdatei, in der alle Pattern untereinander aufgelistet werden (z.B. {{path|/opt/sesam/var/ini/large_exclude.txt}}). D.h. in jeder Zeile steht ein regulärer Ausdruck oder Dateimuster.
=== How do I set up automatic Archive adjustment? ===


Siehe auch [[German_FAQ#Wie kann man den SBC so einstellen, dass er die Excludeliste immer mit Filepattern (?,*) statt mit regulären Ausdrücken abarbeitet?|Windows Exclude mit File Pattern]]
# Go to '''Scheduling''' -> '''Schedules''' and create a new schedule. For details, see [[Standard_Backup_Procedure#Step_2:_Creating_a_backup_schedule|Creating a schedule]].
# Link the event to the schedule. For details, see [[Standard_Backup_Procedure#Step 3: Creating a backup event|Creating an event]]. Then enter the following:


In den ''"Eigenschaften"'' des Sicherungsauftrags gibt es unter Reiter ''"Optionen 1"'' im unteren Teil die ''"Experten Optionen"''.  
Priority:      Standard set to 1.
Dort tragen Sie in den ''"Sicherungsoptionen"'' -X {{path|Pfad/zur/Exclude/Datei}} ein, z.B.:
Name:          Enter a description that is easily recognizable.
Command:      Example for Tape Loader 1, Drive 2 and 10 Slots: sm_robot –l 1 –d 2 –s 0-9
Client:        Choose the desired SEP sesam Server name
User:          For a Unix System enter: root. For Microsoft Windows: system.


  -X /opt/sesam/var/ini/large_exclude.txt
'''Note''': No explicit permissions are required for the simple activation of SEP sesam commands.


Der SEP sesam Server liest diese Datei dann während der Sicherung ein und exkludiert, die den Pattern entsprechenden Dateien, zusätzlich zu den in der Excludeliste im Sicherungsauftrag angegeben.
=== Does SEP sesam support removable or USB media for backup?===


=== Anforderung Status- oder Tagesprotokoll meldet "Host SEP sesam is not allowed to connect or security problem for user" ===
There is limited support for removable disk media, including USB drives.
Bei der Anforderung des Status- oder Tagesprotokolls meldet der GUI


''scd-1136: Error:  Host [{SEPsesam}] is not allowed to connect or security problem for user: [{user}].''
=== How can I determine whether a tape is a SEP sesam tape or not?===


Der RMI-GUI-Server am SEP sesam Server benötigt für die Ausführung von SEP sesam-Kommandos die CTRL- oder SMSSH-Berechtigung. Fügen Sie den Sesam server auf dem Backup Client als Zugriffberechtigten hinzu.
Place the tape into a drive, select the drive in the GUI under '''Components''' -> Drives and execute the '''Identify label''' drive action. If the label is found, it will be diplayed under the drive in the ''Current messages'' display.


Ausführen des folgenden Kommandos:
Alternatively, go to the command line, change to the directory <tt><SESAM_ROOT>/bin/sms</tt> and execute the following:


  sm_setup set_client <SEP sesam server hostname>
'''Unix'''


Zum Beispiel: Wenn der SEP sesam Server Hostname <tt>backup01</tt> ist:
  ./sm_sms_interface getlabel -d /dev/nst0
'''
Microsoft Windows'''


Auf Windows in Verzeichnis <tt>C:\Programme\SEPsesam\bin\sesam</tt> ausführen:
  sm_sms_interface getlabel -d Tape0


  sm_setup set_client backup01
The necessary device (switch -d) can be found in GUI under Components -> Drives.


Auf Linux:
=== How can I manually write a label on a tape?===


  /opt/sesam/bin/sesam/sm_setup set_client backup01
Go to the command line, change to the <tt><SESAM_ROOT>/bin/sms</tt> directory and execute the following:


=== Im Rücksicherungswizard werden die Dateilisten nicht dargestellt ===
'''Unix'''


Bitte prüfen Sie, ob die
./sm_sms_interface init -d /dev/(z.B. nst0) -t testpool00001:1
[[German_FAQ#Anforderung Status oder Tagesprotokoll meldet 'Host SEPsesam is not allowed to connect or security problem for user'|CTRLD-Berechtigung]] vorhanden ist und setzen diese.


=== Ich kann in der GUI nichts eingeben und Buchstaben werden mir seltsam angezeigt. ===
'''Microsoft Windows'''


Dieser Fehler kann auftreten, wenn Java 1.3 installiert ist. Installieren Sie in diesem Fall am besten ein SUN [http://de.wikipedia.org/wiki/Java_Runtime_Environment JRE] ab der Version 1.4. Anschließend muss noch der Java Link geändert werden. Im
sm_sms_interface init -d Tape0 -t testpool00001:1
{{path|<SESAM_ROOT>/bin/sesam}}-Verzeichnis zeigt der Link {{path|java} auf den alten Java-Pfad. Ändern Sie diesen auf die neue Java-Version, um und geben


  ./sm_main reload rmi
'''Note''': The tape will be overwritten without warning!


ein.
The '''media label''' consists of three parts:


Falls Umlaute nicht richtig dargestellt werden, so liegt dies an den aktiven Zeichensätzen, insbesondere bei der Verwendung von Unicodes.
# Name of the pool (in the above example, the name is "testpool").
Bitte überprüfen Sie die eingestellten Codeseiten (Auf UNIX mit locale, auf Windows unter Systemsteuerung) und stellen diese geeignet ein.
# The tape ID, a 5-digit number.
# A number after the colon (':') that complies with the preceding number.
Da ab SLES9 Unicode die Standard-Zeichenkodierung für SuSE Linux ist, sind SEP sesam-Versionen für SLES9 und höhere in Unicode erstellt.
Sollte Ihr System nicht mit Unicode arbeiten, so erhalten Sie statt einem Umlaut im Allgemeinen zwei Sonderzeichen. Bitte Ihr System umstellen oder einen anderen Kit verwenden.


=== How do I automatically remove a tape after a backup is finished?===


=== Wie setze ich Berechtigungen für GUI Clients? ===
The best way of removing a tape after a backup is by using the <tt>sm_notify</tt> interface. You can find a complete description of this command interface with examples of how to unload tapes following backups in the [[SEP_Sesam_Admin_Manual|SEP sesam Administration Manual]].


Um GUI Berechtigungen für einen GUI Client einzustellen, kann das Programm <SESAM_ROOT>/bin/sesam/sm_setup mit der Syntax
The standard unload command is as follows:


sm_setup allow_gui -u (User) -c (Hostname of GUI client} -m (Berechtigung: "admin" - alle, "operator" - Konfigurieren und Starten von Sicherungen, "restore" - Rücksicherungen starten)
sm_drive dismount 2 unload


Beispiel für einen Windows Client mit dem Hostnamen "ruoffnix". Der Benutzer "cr" soll alle Berechtigungen für SEP sesam bekommen.
This command refers to the selected drive, in this case drive 2.


<SESAM_ROOT>/bin/sesam/sm_setup allow_gui -u cr -c ruoffnix -m admin
=== Where do I install the cleaning tape?===


Nach diesem Aufruf bekommt der RMI Server die Änderungen übermittelt und startet neu. Es sollte nun möglich sein, die GUI zu starten. Starten Sie die GUI vom host "ruoffnix", Benutzer "cr".
Currently, a cleaning tape is not explicitly identified. When selecting an '''Archive adjustment''', the cleaning tape will automatically be loaded in sequence and an unwanted cleaning operation may be initiated. To prevent an unwanted cleaning operation from initiating, select the last (highest numbered) slot for the cleaning tape and reduce the number of slots by one (1).


Beachten Sie dabei Groß-/Kleinschreibung und überprüfen Sie FQDN oder NFQDN.
Cleaning may take place by manually entering the cleaning tape or by following the manufacturer's instructions.


Im Falle eines Fehlers können Sie Informationen zu fehlenden Einträgen "Laufende Meldungen" in der aktiven SEP sesam GUI bekommen, oder indem Sie
=== Why does SEP sesam lock tapes that were not involved in a backup?===
<SESAM_ROOT>/bin/sesam/sm_info p
verwenden.


Jeder GUI Client muss die die Berechtigungen am SEP sesam Server eingetragen haben. Gehen Sie in das Verzeichnis <SESAM_ROOT>/bin/sesam und geben Sie sm_setup ein. Nach diesem Befehl bekommen Sie Informationen über alle möglichen Kombinationen.
This is related to FULL->DIFF or FULL->INC->INC->INC-> ... backups.


Der vollständige Befehl sollte folgendermaßen aussehen:
The following example explains this problem:


sm_setup allow_gui -u (Systembenutzer, der der GUI Administrator sein soll) -c (Hostname des Servers/Clients auf dem die GUI geöffnet wird) -m (Setzt die Privilegien für individuelle GUI Benutzer): "admin" - alle, "operator" - Erstellung und Start von Sicherungen, "restore" - initiiert Rücksicherungen)
* full backup      ->    requires three tapes (backup00001, backup00002, backup00003)
* inc backup      ->    requires one tape (backup00004)
* inc backup      ->    requires one tape (backup00005)
* inc backup      ->    requires one tape (backup00006)


=== Wie können Chinesische Fonts genutzt werden? ===
The first backup merely changes the EOL (end of lifetime) for the three tapes (backup00001 to backup00003), the second backup changes the EOL for the first four tapes (backup00001 to backup00004) and the third backup changes the EOL for the first five tapes (backup00001 to backup00005), and so on.


Der Standard GUI Font Typ 'Tahoma' bietet keine Darstellung für Chinesische Zeichen. Der Standard Font kann mit dem Eintrag 'key=default_font[_...]' in der Sesam Tabelle 'defaults' umgestellt werden.
If the next full backup fails, the succeeding incremental backup will use the chain from the last successful backup(s) and so the chain expands. This is necessary for a generation restore because an incremental backup includes only the changes from the last backup, regardless of whether it was a full, differential or incremental backup. All tapes are needed to perform a successful restore.


Da die verfügbaren Chinesischen Zeichensätze vom Betriebssystem abhängig sind gibt es die folgenden Einträge:
With a differential rather than an incremental backup, SEP sesam locks the tapes from full backup and the tapes that were used by the differential backup.
* Windows: 'default_font_windows'
* Linux  : 'default_font_linux'
* Oder allgemenin: 'default_font'


* Beispiel für den Zeichensatz 'MS Song' als 'default_font_windows':
=== How do I get information on the oldest tape in a pool before backup starts? ===
sm_db "INSERT INTO defaults (key,user_name,value,host,protection) VALUES ('default_font_windows','sesam','MS Song',NULL,NULL);"


It is sometimes very useful to know which the next free medium in a pool will be before a backup starts. To get this information, type the folowing command:


=== Wie kann ich die Sprache der SEP sesam GUI einstellen? ===
sm_arch_getoldest 1 full-disk


Die SEP sesam GUI startet standardmäßig immer mit der Sprache des Betriebssystems. Um dies umzustellen, muss nur der Parameter '''-r''' beim Aufruf angepasst werden. Dies kann entweder beim direkten Aufruf (z.B. unter Linux) oder in einer Verknüpfung angepasst werden. Folgende Einstellungen sind hier möglich (zwischen dem Parameter und der Option darf kein Leerzeichen bestehen):
The command shows the next free medium of pool '''full-disk''' in drive 1.
-rde
-ren
-ren_us
-ren_gb


=== How do I check the consistency of a data store? ===


Die erste Option steht für deutsch. Die anderen drei Optionen stehen für englisch, wobei beim zweiten und dritten Eintrag die Uhrzeitangabe im 12 Stunden Format dargestellt wird (AM und PM), ansonsten im 24 Stunden Format.
The following command allows you to check the consistency of a data store:


== SuSE-Linux-10.0-Professional-Community-Version ==
sm_data_store check_db -L {datastore} | -d {drive_num}


=== Wie installiere ich die kostenlose SEP-sesam-Version? ===
'''Example 1:'''
The example shows a data store check that detects 2 save sets with the wrong data file size (sizes smaller than stored in the SEP sesam database). The state of both backup operations is either a fail ('X') or broken data transfer ('3') and the result status is therefore 'SUCCESS'.


Die Installation kann mit dem YaST durchgeführt werden. Ist noch kein SUN-Java auf dem Rechner installiert, wird diese von YaST automatisch mit ausgewählt. Selbstverständlich kann das Paket auch mit
#>sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $  Sesam Id: None
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: DB:              select * from data_stores where name= 'DATA_STORE2'
2014-08-28 14:39:59: DB:              select * from hw_drives where data_store= 'DATA_STORE2' order by drive_num
2014-08-28 14:39:59: DB:              select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
  results.saveset= result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location= 'DATA_STORE2'))
  and results.data_size>0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:              select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
  results.saveset= result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location= 'DATA_STORE2'))
  and results.data_size= 0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:              select label,pool from media where location= 'DATA_STORE2'
2014-08-28 14:39:59: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 14:40:00: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 14:40:00: ==================================================================================
2014-08-28 14:40:00: Savesets in Sesam DB:          187.
2014-08-28 14:40:00: Saveset files found:          187.
2014-08-28 14:40:00: Saveset in DB and on FS:      187.
2014-08-28 14:40:00: Savesets not found on disk:      0.
2014-08-28 14:40:00: Saveset files not in DB:        0.
2014-08-28 14:40:00: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 14:40:00: 3  SF20140826212205682@gp_o1hNIc8g  miraculix_dev 2014-08-26 00:00:00 4430717952 > 4430686656
2014-08-28 14:40:00: X  SC20140825083202946@iW9ZD7vcSw2  SESAM_BACKUP 2014-08-21 00:00:00 1323736064 > 1323385536
2014-08-28 14:40:00: -------------------- List of savesets without data file --------------------------
2014-08-28 14:40:00: -------------------- List of files without DB entry ------------------------------
2014-08-28 14:40:00: -------------------- List of files without data file -----------------------------
STATUS= SUCCESS MSG= OK


rpm -U <sesam serverpackage>
'''Example 2:'''
A data store check that detects a save set with the wrong data file size and with a successful backup state ('0'). The result status shows 'ERROR'.


installiert werden.
G:\DATA_STORE2\DATA_STORE2\DataStore1\DataStore100002>sm_data_store check_db  -L DATA_STORE2
2014-08-28 15:03:05: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
2014-08-28 15:03:05: Arguments: sm_data_store check_db -L DATA_STORE2
...
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 15:03:06: ==================================================================================
2014-08-28 15:03:06: Savesets in Sesam DB:          188.
2014-08-28 15:03:06: Saveset files found:          188.
2014-08-28 15:03:06: Saveset in DB and on FS:      188.
2014-08-28 15:03:06: Savesets not found on disk:      0.
2014-08-28 15:03:06: Saveset files not in DB:        0.
2014-08-28 15:03:06: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 15:03:06: 0! SI20140826150006895@ch-Gdm3Id_6  miraculix_dev 2014-08-26 00:00:00 106962944 > 1274932
2014-08-28 15:03:06: -------------------- List of savesets without data file --------------------------
2014-08-28 15:03:06: -------------------- List of files without DB entry ------------------------------
2014-08-28 15:03:06: -------------------- List of files without data file -----------------------------
2014-08-28 15:03:06: ERROR: File size does not match:        1.
STATUS= ERROR MSG= ERROR: File size does not match: 1.


==Probleme, die nach der Installation mit SEP sesam RPM Paketen auftreten können==
In this case, the save set is corrupted. You have to determine the reason for the corrupted save set (disk IO problem, file system with limited file size, etc.). To avoid the corrupted save set from being used, its result state must be changed to broken data transfer ('3').


Die folgenden Fehlermeldungen können auftreten, wenn die SEP sesam GUI gestartet wird:
sm_db "update results set state= '3', msg= 'corrupt saveset (size)' where saveset= 'SI20140826150006895@ch-Gdm3Id_6'"


Verbindung zum Server sesamserver wurde abgelehnt.
If the data is still available on the backup source, the backup operation must be restarted!
Letzte Meldung lautet:


java.rmi.RemoteException: Connection refused to host: [SEPsesam-Server]; nested
=== Why can't I find my Exabyte single tape drive in the list of devices when I try to initialize it?===
exeption is:
java.net.Connect.Exception: Connection refused


Bitte prüfen Sie, ob die SEP sesam Serverkomponente aktiv ist und ob der verwendete Port korrekt ist.
First, inspect the media pool to which you tried to enter the tape drive. If there is no number (0,1,2, etc.) behind 'Tape', the drive was not detected by SEP sesam. You can also check this by entering ''slu scan'' on the command line prompt.


  Programm wird beendet.
If the device is not listed, the driver is not installed correctly. Look for the appropriate driver at the manufacturer's site or elsewhere on the internet, download it to your computer and run the program to install the driver. The media pool should now show the Tape (0). Finally, initialize the tapes. For details, see [[Media_Strategy_4.4|Media Strategy]].


Wenn diese Meldung auftaucht, überprüfen Sie als Erstes die Java Version mit folgendem Befehl:
=== Why do I get the error message ''skipping blocks'' when I try to perform a SEP sesam backup with an Exabyte VXA172?===


  /opt/sesam/bin/sesam/java -version
Some manufacturers often require a different driver for each tape model they manufacture. In this case, the VXA tape you initialized is not recognized by SEP sesam in the Exabyte tape drive. Go to the tape type selection in the GUI and change [VXA] to [EXA]. This will fix the problem.


Wenn die Java Version älter als 1.4.2 ist, müssen Sie diese aktualisieren.
=== Why does SEP sesam not write to my LTO drive on my x86 system? ===


== Tape drives ==
The OS enables PAE (Physical Address Extension) automatically on x86 systems if more than 3.25GB RAM are in use. With PAE, the OS cannot write more than 32KB to a tape drive whereas SEP sesam needs 64KB for LTO. The most efficient solution is to switch to an x64 OS. Decreasing the RAM to a maximum of 3.25GB should also solve the problem. Additional information can be found at [http://support.microsoft.com/kb/289261/en-us Microsoft support site].


==="Ich habe ein Exabyte Magnetband Laufwerk. Aber wenn ich versuche die Band-Initialisierung vorzunehmen, finde ich es aber nicht in meiner Laufwerks-Liste. Wo liegt das Problem?"===
== NOTIFICATIONS AND LOGGING==


=== What does the notification "Disk space for listings and logging below critical threshold" mean? ===
In the NEWDAY task, SEP sesam Server checks the free disk space on the partition where the log files and listings are stored.


Sehen Sie sich zuerst den Medienpool an, ob das Bandlaufwerk eingetragen ist. Wenn hinter dem Laufwerk keine Nummer zu sehen ist (also z.B. nicht '''Laufwerk 1''' zu sehen ist), wurde das Laufwerk nicht korrekt erkannt bzw. eingerichtet.
<SESAM_ROOT>\var\log
Mit dem Befehl '''slu scan''' in bin/sesam sind sämtlich angeschlossenen Laufwerke sichtbar. Die Ausgabe könnte dann z.B. auf Linux wie folgt aussehen:
<SESAM_ROOT>\var\lis


# slu scan
If free space falls below the critical threshold value, the server sends an email notification.
ID=0000 other:  ATA      ST380013AS
ID=1000 other:  TOSHIBA  ODD-DVD SD-M1802
ID=2040 Tape:    Quantum  DLT4000          D67E (/dev/nst0)
ID=2050 Tape:    Quantum  DLT4000          D67E (/dev/nst1)
ID=2060 Loader:  HP      C1194F          1.04 (/dev/sg4)


The threshold value (default = 5000, 5000MB) can be configured in <tt>sm.ini</tt> under the [Params] section <tt><SESAM_ROOT>\var\ini\sm.ini</tt>.


Achten Sie bei Verwendung von Windows darauf, dass die Bandtreiber im Geräte-Manager korrekt installiert sind. Unter Windows ist das 1. Bandgerät mit '''slu scan''' als '''Tape0''' zu sehen.
[Params]
Nun können Sie eine Neuaufnahme von Medien starten, wie es bereits im Benutzerhandbuch beschrieben ist.
gv_min_free= 5000


==="Ich habe ein Exabyte VXA172, und ich habe mein Backup konfiguriert wie im Handbuch beschrieben. Aber wenn ich versuche ein Backup zu starten, bekomme ich 'Error Message': Skipping blocks. Was bedeutet dies?"===
{{Box Hint|ATTENTION|
If there is no more disk space available on the partition, the server cannot write additional logs and listings. This can result in critical errors and lead to data loss. This error should be addressed at the earliest possible opportunity.}}


Manche Hersteller stellen für jedes Laufwerk eigene Treiber zur Verfügung. In diesem Fall wird das VXA-Laufwerk nicht korrekt von sesam erkannt. Um dieses Problem zu beheben, wechseln Sie in der GUI in die Eigenschaften des Laufwerkes und ändern den Laufwerkstyp von '''VXA''' auf '''EXA'''.
=== How do I set a higher logging level? ===


=== Warum kann SEP sesam auf meinem x86 OS nicht auf das Band schreiben? ===
Sometimes a backup must be performed with a higher logging level to provide support engineers and developers with more detailed information.


Wenn bei einem x86 OS mehr als 3,25GB RAM in Verwendung sind, wird vom OS automatisch PAE (Physical Address Extension) aktiviert und dies führt dazu, dass nicht mehr als 32KB-Blöcke auf ein Band geschrieben werden können, SEP sesam benötigt aber 64KB bei LTO. Um dies zu ermöglichen, muss die betroffene Maschine entweder auf unter 3,25GB RAM reduziert oder auf ein x64 OS migriert werden. Anbei noch ein von Microsoft zu diesem Problem: http://support.microsoft.com/kb/289261/en-us
Log level can be set separately for backup and restore.


== Verschlüsselung ==
'''Backup log level'''


=== Führt SEP sesam eine Kompression durch und verschlüsselt die Daten, bevor Daten auf den Server übertragen werden? Wird vor der Verschlüsselung der Daten komprimiert?===
The backup log level can be set in the properties of the backup task. Double-click the backup task and select the '''Options''' tab. Loook for the '''additional call arguments''' fields. The log levels are as follows:


Daten, die vom System verschlüsselt und auf den Server übertragen werden, werden mit den Kompressionsalgorithmen des Herstellers komprimiert, wenn sie auf Band gesichert werden. Wird auf Disk geschrieben, können die Daten entweder verschlüsselt, oder komprimiert werden, aber nicht beides.
0= ERROR
1= EMERGENCY
2= WARNING
3= NOTICE
4= INFO
5= DEBUG
6= TRACE


== Multiple Files ==
Set the log level as shown in the image below:


=== Kann SEP sesam erkennen, dass mehrere Benutzer die selbe Datei auf verschiedenen Clients gespeichert haben und eine Sicherung nur einer Datei machen, mitsamt aller Änderungen? ===
[[Image:Loglevel_sbc.jpg]]


Zum Beispiel, wenn Workgroup-Mitglieder die gleiche Power-Point-Präsentation bekommen und diese auf ihren Desktops speichern, macht sesam dann separate Kopien oder nur eine Kopie mit Verweisen auf die Orte und Sammlung aller Änderungen?
'''Restore log level'''


SEP sesam speichert die Datei für jeden Benutzer. Wir haben uns über eine Alternative Gedanken gemacht. Außer in dem Fall, dass sehr große Datenvolumina gespeichert werden, wird so eine Sicherung eine komplizierte und aufwendige Rücksicherung erfordern, da alle Verweise und Daten dann auf verschiedenen Medien gespeichert werden. Außerdem ist eine solche Sicherung nur auf einem entsprechenden Betriebssystem sicher durchzuführen, d.h. das Betriebssystem muss entsprechende Mechanismen anbieten.
The restore log level can be set '''in the last step of the restore wizard''' by clicking the '''Expert options''' obutton, as shown in the image below:


== Offene Dateien - Kann sesam offene Dateien speichern? ==
[[Image:Loglevel_restore.jpg]]


Sesam kann auf Linux und Microsoft Windows offene Dateien sichern.
=== Why do the request status or daily protocol (log files) return "Host SEPsesam is not allowed to connect or security problem for user"? ===


=== Linux ===
Typically, there is an issue with client's access privileges. The error message reads:


sesam auf Linux erlaubt das Sichern offener Dateien.
scd-1136: Error: Host [{SEPsesam}] is not allowed to connect or security problem for user: [{user}].


=== Microsoft Windows ===
There is a problem with the RMI GUI Server on the SEP sesam Server. The system requires '''CTRL''' or '''SMSSH''' privileges to complete the SEP sesam commands. Add the SEP sesam server to the backup client in order to give it access permissions. <!-- I don't get this: add the server - should a SEP sesam server be installed additionally? -->


Mit Hilfe des Volume Shadow Copy Service von Microsoft können offene Dateien gesichert werden. Dazu ist ein Windows-Snapshot notwendig.
Execute the following command at the client:
Datenbanken sollen nur unter Verwendung der entsprechenden [http://wiki.sepsoftware.com/wiki/index.php/SEP_sesam_OS_and_database_support_matrix#SEP_sesam_database_and_groupware_online_backup_modules SEP sesam Datenbank-Module] gesichert werden, da trotz Verwendung des Volume Shadow Services nicht immer garantiert werden kann, dass die Datenbanken konsistent gesichert werden.


Voraussetzungen unter Microsoft Windows Server 2003 (als Client) sind:
  sm_setup set_client <SEP sesam server hostname>
* SEP sesam Server Version 3.4 oder höher
* SEP sesam Client Version 3.4 oder höher


== Datenspeicherung - Methodik ==
For example, if the SEP sesam Server hostname is <tt>backup01</tt>:


=== Werden die Daten der Sicherungen in einer Datenbank gesammelt oder in einer Datei gespeichert? ===
* On Microsoft Windows, in the directory <tt>C:\Program Files\SEPsesam\bin\sesam</tt>, call:


Die Beschreibung der Sicherungssätze ist in der SEP sesam Datenbank gespeichert. Die Inhalte der Sicherungssätze, z.B. die Namen der gesicherten Dateien, werden in Dateien auf dem SEP sesam Server gespeichert.
  sm_setup set_client backup01


== Reporting ==
* On Linux, call:


===  Kann ich Berichte über gelaufen/nicht gelaufene Backups, Backup-Zeit, Rücksicherungen, usw. generieren? ===
  /opt/sesam/bin/sesam/sm_setup set_client backup01


SEP sesam ermöglicht die Erstellung von Berichten mit Hilfe der {{path|sm_notify}} Schnittstelle. Die zu Grunde liegenden Skripte können vom Anwender angepasst werden. Auf Grund strenger EU-Anforderungen <!-- Quellen? --> bzgl. Daten-Sicherheit sind einige Reports schon vorhanden. Die Aktivierung kann der System-Administrator ohne viel Aufwand vornehmen.
== REPORTING==


=== Ich möchte sowohl Reports zur Übersicht als auch für einzelne Sicherungen erstellen. Erlaubt sesam dies? ===
=== Can special reports be generated for backups, backup time, performed restores, etc.? ===


SEP sesam erstellt Reports in übersichtlicher oder detaillierter Form für jede gelaufene Sicherung. SEP sesam kann eine Auflistung über die sesam-sm_notify-Schnittstelle zu einen E-Mail-Konto nach dem Ende der letzten geplanten Sicherung versenden. Dies ist möglich, weil SEP sesam täglich eine Zusammenfassung erstellt. Der Ablaufplan und die Reihenfolge können vom System-Administrator bestimmt werden, der Beginn des sesam-Tages kann beliebig gewählt werden. Wurde der sesam-Tag um 8:00 Uhr begonnen, so enthält der Report alle Sicherungen die während dieser Zeit gemacht wurden.
Yes. Special scripts can be written and inserted for the execution of both pre- and post-operations using the commands <tt>execute_pre</tt> or <tt>execute_post</tt>. Due to stringent EU requirements for reporting, data security and data restore, many required reports may already be included without additional administrator intervention.


=== Wie kann ich das Tagesprotokoll am Ende des Sicherungstages versenden? ===
=== I would like to generate both summary and detailed reports for backups. Does SEP sesam provide this extra granularity?===


SEP sesam ermöglicht mit Hilfe der sm_notify-Schnittstelle auch das Versenden des Tagesprotokolles als E-Mail.
SEP sesam provides both a summary of and detailed information on every backup executed. In addition, the system can send a summary report over the SEP sesam notify interface to an email account after finishing the last backup. SEP sesam summarizes the backup information on a daily basis. The time schedule and sequence can be selected by the user or system manager and may be set to any 24-hour period. For example, if you specify a backup time of Monday 11 p.m. to 8 a.m. on Tuesday, all backups performed within this window will be recorded as Monday.


Wir empfehlen zunächst das
=== How can I send a SEP sesam daily protocol to an email account? ===
[[Benutzer_Handbuch#Support_-_Email_Einstellungen|Einrichten von Support-Accounts]]
und die Verwendung des sm_notify-Templates aus der SEP sesam-Installation unter


We recommend that you [[Configuration_4.4#E-Mail_Settings|configure support accounts]] and use <tt>sm_notify</tt> templates from
  {sesam_Root}\skel\templates\sm_notify.cmd
  {sesam_Root}\skel\templates\sm_notify.cmd
 
or
bzw.
 
  {sesam_Root}/skel/templates/sm_notify
  {sesam_Root}/skel/templates/sm_notify


Bitte unter
Copy the templates to:
 
  {sesam_Root}/bin/sesam
  {sesam_Root}/bin/sesam  
and modify them as necessary, especially in the line:
 
einkopieren und anpassen. Insbesondere in der Zeile:
 
  sm_smtp -A sesam -M gv_dayfile: -a gv_prot: -s "Sesam backup status: "+%1+" "+%2+
  sm_smtp -A sesam -M gv_dayfile: -a gv_prot: -s "Sesam backup status: "+%1+" "+%2+
""<tt>A</tt>"" {account} must be changed to the email account that was configured with the GUI.


sollte mit '''-A {account}''' der gewünschte E-Mail Account der per GUI konfiguriert wurde angegeben werden.
After the execution of the last backup or command event, the <tt>sm_notify</tt> interface is called with the module "ALL_JOBS_DONE" and the SEP sesam daily protocol will be sent to the specified email account.
 
Nach Abschluss der letzten geplanten Sicherung oder Befehlstermins wird die sm_notify Schnittstelle mit dem Bezeichner "ALL_JOBS_DONE" aufgerufen
und das Tagesprotokoll an den angegebene Account versandt.
 
== Lizenzprobleme ==
 
=== W008-License Lizenzierte TCPIP Adresse stimmt leider nicht mit der lokalen Adresse 127.0.0.2 überein. ===
 
Dieses Problem tritt meistens auf SLES Basierten Linux Systemen auf. Hier ist das file
 
/etc/hosts
 
zu überprüfen, und der entsprechende Eintrag für die Loopback Adresse "127.0.0.2" abzuändern oder
ganz aus der /etc/hosts file zu entfernen.

Revision as of 17:09, 18 September 2015

Template:Copyright SEP AG en

LICENSES AND VERSIONS

Does SEP sesam require identical versions of SEP sesam Client and Server?

To avoid general version compatibility issues, the SEP sesam Client and the SEP sesam Server / Remote Device Server should always have the same version number.
Forward and backward compatibility is limited to path backups only.

How do I order a new licence?

To obtain a licence, contact SEP sesam sales at Contact or sales@sep.de and provide the following information:

  • Hostname of the SEP sesam Server
  • IP address of the SEP sesam Server

To determine which specific names are used by SEP sesam (for example, if more than one network card is installed on the server), go to Help -> Licence info in the SEP sesam menu bar and check the information. Licenses are made available immediately your purchase or renewal is completed and will be sent to you by e-mail.

Licence info also tells you the number of clients and modules needed by your configuration if your SEP sesam Server is currently running in trial mode.

Note: Some features require a special licence, for example, SEP sesam Exchange Recovery Pro and SEP sesam SharePoint Recovery Pro. SEP sesam licences are issued on the basis of the size and requirements of your environment, so make sure that you are aware of feature/application specific licensing. For details on newly introduced licenses, see SEP sesam Exchange Recovery Pro license and SEP sesam SharePoint Recovery Pro license.

License info 1.png


How do I activate a license?

The procedure for activating a license is version specific. From SEP sesam v. 4.4.2 onwards, licenses are imported using the GUI.

SEP sesam v. 4.4.2 and higher

Your license will be sent to you by e-mail. After receiving your license, proceed as follows:

  1. Open SEP sesam and select Help from the menu bar.
  2. Click License info, then click Import new license. A new window opens prompting you to paste a valid license file.
  3. Copy sm_lic.ini and paste it from the clipboard or use the file manager to browse and select the required license as a .ini or .zip file.
  4. Click Apply to enable the license.

Tip: License info also allows you to check the expiration date and to upgrade your license. All licensed components currently in use are displayed.

If the program displays any errors (for instance, in the hostname or IP address), email the SEP sesam License info to sales@sep.de by clicking the Send as mail button. Clicking Send as mail opens an email with the license information loaded. Address the message to sales@sep.de and send it.

License info import.png



Note

The procedure for activating special licenses, such as SEP sesam Exchange Recovery Pro or SEP sesam SharePoint Recovery Pro, is different. These licenses are activated as follows:

  1. Go to Start -> All Programs -> SEP sesam Exchange Recovery Pro or Start -> All Programs -> SEP sesam SharePoint Recovery Pro and open the extension. A License file not installed message appears.
  2. Click the License info button and import the license.ini file.

Both SEP sesam Exchange Recovery Pro and SEP sesam SharePoint Recovery Pro extensions require specific installation and configuration. For details on these procedures, see SEP sesam Exchange Recovery Pro and SEP sesam SharePoint Recovery Pro.

Why does the W008-License TCPIP address not match the local address 127.0.0.2?

This problem usually occurs on SLES-based Linux systems. Check the file /etc/hosts and change the relevant entry for the loopback address 127.0.0.2 or remove it from the /etc/hosts file entirely.

How do I obtain the Community Version?

The SEP sesam Community Version is available to the general public for private use on Windows and Linux. Please note that the software, manuals, licensing and terms from SEP AG and SEP Software Inc remain unchanged.

During the installation of a SEP sesam demo version (available at the SEP's download page), a Community License file is created automatically. This file must be copied to the license file location after the 30-day trial period is over.

The file sm_lic.ini.com can be found at <SESAM_ROOT>/skel. Copy the file to <SESAM_ROOT>/var/ini and rename it to sm_lic.ini.

If you want to check the license status, go to Help -> Licence info in the SEP sesam menu bar.

Technical support is not provided for the SEP sesam Community Version and it cannot be upgraded. Visit the SEP Forum and the SEP Wiki for help.

How do I obtain the free Zarafa Extension?

Free Backup for Zarafa environments

In addition to the most common server operating systems such as Novell Netware, Linux, Windows, Unix and Solaris, SEP sesam provides extensions that execute hot backups on common groupware and database applications. A complete overview of supported software is available in the SEP sesam OS and Database Support Matrix.

Zarafa users can download the complete SEP sesam environment to backup their Zarafa installation for free. The following modules are provided in the free download:

  • SEP sesam ONE Server for scheduling and managing all backup and restore tasks. SEP sesam ONE supports backup to tape and disk. A 500GB Virtual Tape Library is integrated into the base product.
  • SEP sesam Zarafa Online Module for up to 10 users. The module supports online backup and restore of the complete Zarafa Server environment for up to 10 users, including restore and recovery of single mailboxes and e-mails.
  • SEP sesam MySQL Online Module. The module supports hot backup and restore of the Zarafa Database.
  • SEP sesam Graphical User Interface (GUI), which includes the powerful Restore wizard.

The free Zarafa Server backup license does not expire but is limited to this dedicated environment. Note that no upgrade services or technical support are included.

The free Zarafa version can be upgraded with the following additions, available at the SEP homepage:

  • High-capacity SEP sesam Servers License (Standard Server with 5 streams and 1TB or Advanced Server with 124 data streams and 1TB)
  • Additional SEP sesam Clients to back up servers other than the Zarafa Server
  • Additional online database extensions
  • Autoloader support
  • Disaster recovery modules
  • SAN backup capability
  • Citrix XenServer or VMware ESX/ESXi disaster recovery
  • Expanded storage capability
  • or additional Zarafa users

To apply for a free Zarafa backup, send the following information to sales@sep.de:

* Name of your company
* Complete address
* Contact person, including phone and email
* Which additional servers do you use in your IT environment?
* Which backup software do you use besides SEP sesam?

Additionally, provide the Zarafa related information:

* SEP sesam Server installation – is it on a Zarafa server or on a dedicated SEP sesam Server?
* IP address of the SEP sesam Server
* Hostname of the SEP sesam Server
* Operating system of the SEP sesam Server
* Number of Zarafa users

All SEP sesam software is available at the SEP Download Center.

SEP sesam Server for Linux
SEP sesam Server for Windows
Zarafa module (included in SEP sesam Client for Linux since version 3.6)
MySQL module (included in SEP sesam Client for Linux since version 3.6)
An introduction on backing up the Zarafa server with SEP sesam is available on the SEP Wiki: SEP sesam Extension for Zarafa.

REQUIREMENTS

What are the hardware and software requirements for a SEP sesam Server?

Hardware requirements depend on the SEP sesam Server edition.

SEP sesam Server hardware requirements

  • SEP sesam Server Standard edition:
    • 4GB RAM
    • 1x Core CPU
    • Minimum 100GB hard disk for SEP sesam metadata
    • Up to 15 backup clients.
  • SEP sesam Advanced Server edition:
    • Minimum 8GB RAM
    • 1x Core CPU
    • Minimum 300GB hard disk for SEP sesam metadata
    • Recommended up to 50 backup clients.
  • SEP sesam Premium Server edition:
    • 16GB RAM
    • 2x Core CPU
    • Minimum 500GB hard disk for SEP sesam metadata
    • Recommended up to 150 backup clients.
  • SEP sesam Enterprise Server:
    • Minimum 32GB RAM
    • Minimum 4x Core CPU
    • Minimum 500GB hard disk for SEP sesam metadata
    • Recommended for more than 150 backup clients.

SEP sesam Server software requirements

  • Java: min. version 1.7. See also Which Java version does SEP sesam require?.
  • Linux: the installed PostgreSQL-Server package from the Linux distribution is required for 64-bit Linux.
  • Microsoft Windows: SEP sesam Server requires .Net 3.5.; SEP sesam version 4.2 requires .Net 4.
Note:

We recommend that you use a separate partition for the SEP sesam metadata in order to prevent the sesam metadata from filling up the operating system partition.

  • Linux: create a mount point for /var/opt/sesam/var (see recommended size above)
  • Microsoft Windows: add a new drive (see recommended size above) and install SEP sesam on this drive.

Which Java version does SEP sesam require?

From version 4.4., SEP sesam requires Java version 1.7 or higher. Oracle/Sun Java, IBM Java or OpenJDK can be used. You can check your Java version with the following command:

  java -version

Example:

#> java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Note:

The examples below still refer to Java 1.6!

Linux – RPM

If the SEP sesam Server is installed as an RPM package, Java must also be installed as an RPM.

Note: To install a SEP sesam Server on an OES2 system, Java 1.5 must remain the default version so that Novell-specific functions can operate. If a different Java version (such as 1.6) is installed on the system via RPM, the default Java version is kept, i.e. the reinstallation doesn't overwrite it. Java and the SEP sesam Server can be installed as described below.

In the example below, 64-bit Sun Java is used:

  • After the download is complete, give the package execution rights:
#> chmod +x jre-6u25-linux-x64-rpm.bin
  • Install the JRE Binary package:
#> ./jre-6u25-linux-x64-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: jre-6u25-linux-amd64.rpm
Preparing...                ########################################### [100%]
   1:jre                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        localedata.jar...
        plugin.jar...
        javaws.jar...
        deploy.jar...
Done.
  • Verify that the Sun Java version was properly registered in the package database:
#> rpm -qa | grep jre
jre-1.6.0_25-fcs
  • The SEP sesam Server is installed via an RPM package. The SEP sesam installer finds the Java information in the package manager and automatically creates a link to it in the directory /opt/sesam/bin/sesam. If the SEP sesam Server and Java are installed via Tarball, you must create the link manually.

Linux – Tarball

If Java is installed as Tarball, the SEP sesam Server must also be installed as Tarball. The installation of a SEP sesam Server package with --nodeps is not supported.

Install Java Tarball as follows:

  • Download a Java version that is compatible with you operating system, such as SUN Java 32-version jre-6u25-linux-i586.bin, to /opt/java.
  • Go to the directory /opt/java.
  • After the download is complete, give the package execution rights:
#> chmod +x jre-6u25-linux-i586.bin
  • Extract the Tar archive by executing the binary:
#> ./jre-6u25-linux-i586.bin
  • Java is now unpacked into the subfolder jre1.6.0_25 and is ready to use. Java functions can be tested as follows:
#>  /opt/java/jre1.6.0_25/bin/java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
  • Create the directory structure /opt/sesam/bin/sesam to link Java to the SEP sesam Server installation:
#> ln -s /opt/java/jre1.6.0_25/bin/java /opt/sesam/bin/sesam/java
  • You can now proceed with the installation of SEP sesam Server via Tarball.

Windows

You can operate several Java versions on Windows. The SEP sesam Server can work with a Java version other than the operating system's default Java version. Enter the path of your Java version into the <SESAM_ROOT>\var\ini\sm.ini file in the [JAVA] section:

  [JAVA]
  java_interpreter="C:\Program Files\Java\jre6\bin\java"
  java_home="C:\Program Files\Java\jre6"
  java_exit_on_fail=no

This gives the SEP sesam Server its own Java environment on startup.

Where can I get the latest 64-bit version of Sun's JRE?

The link below takes you to a list of different versions of Sun's Java Runtime Environment for your operating system and architecture (64- and 32-bit). After accepting the license agreement, you can download the relevant package.

http://www.java.com/en/download/manual.jsp

INSTALLATION and CONFIGURATION

How do I install a Remote Device Server (RDS)?

Detailed instructions can be found at How to create a Remote Device Server (RDS).

    • Linux/UNIX: Select and install the SEP sesam Remote Device Server package (for example, sesam_rts-4.0.2-13.rhel5.i386.rpm for RedHat) from the SEP download center.
    • Windows: Select the SEP sesam Server package (for example, sesam-srv-4.0.2.13-windows.exe) from the SEP download center. Start the installation and choose SEP sesam Remote Tape as the package.
  1. Add the computer as a normal SEP sesam Client under Components -> Topology. Ensure that the DNS between the SEP sesam Server and SEP sesam Remote Device Server is properly handled.
  2. Create a new drive group under Components -> Disk Drives and select the drive from the remote computer as a new drive.
  3. To see the name of the new device on the Remote Device Server, use the command: <SESAM_ROOT>/bin/sesam/slu scan (for example, Tape0 or /dev/nst0). If you selected a disk drive, you only need to enter the drive type DISK_HARD.
  4. Create a new media pool and assign it to the new drive group.
  5. Register the new media to the media pool.

How do I install the SEP sesam GUI on a Linux system?

To install a SEP sesam GUI on a Linux system, you will need to load the current GUI software package onto the target computer. Installation packages for different Linux distributions can be downloaded from download.sep.de (for example, sesam_gui-3.4.1-31.SuSE.i586.rpm).

Install the package after the download is complete. For example:

rpm -Urh sesam_gui-3.4.1-31.SuSE.i586.rpm

After installing, check that the SEP sesam Server is available by using the following command:

nslookup "name of your SEP sesam Server"

Next, make a shortcut with the following path:

/opt/sesam/bin/gui/sesam_gui -S "name of your SEP sesam Server"

What problems may occur after installing the SEP sesam RPM package?

The following message appears when starting the SEP sesam GUI:

The connection to the server sesamserver was denied.

The last message was:

  java.rmi.RemoteException: Connection refused to host: [SEP sesam-Server]; nested
  exeption is:
  java.net.Connect.Exception: Connection refused

Make sure that the SEP sesam RMI Server component is active and that the correct port is being used.

The program is terminated.

If you get this error message, check the Java version with the following command:

/opt/sesam/bin/sesam/java -version

If the Java version is not 1.4.2 or higher, you will need to update the Java files.

How do I change the IP address and server name of the SEP sesam Server?

Your license must first be modified to match the new server name and/or IP address. Send the original license, the new server name and the IP address to info@sep.de. Until you receive the license, make the following changes to the database. Set the SEP sesam profile and execute the following commands:

  sm_db "select * from servers"

In this table, the name and ip_address must be changed.

  sm_db "update servers set name= 'newname',ip_address= 'new IP' where name= 'old name'"
  sm_db "update clients set name= 'new name' where name= 'old name'"

When you receive the new license information, you can change the SEP sesam Server name using sm_setup. Set the SEP sesam profile and enter the following command:

sm_setup change_servername mynewserver

What effect does an antivirus scanner have on SEP sesam?

Antivirus scanners may negatively impact the backup and restore operation:

  • The GUI is slow or hangs for several seconds
  • Backup and restore jobs are terminated abruptly
  • Reduced data throughput and speed

Solution
Use antivirus exclusions rules for SEP sesam. The following items must be excluded from any virus scanning activities:

  • All SEP sesam installation directories on the SEP sesam Server, Client and Remote Device Server (RDS):
    • SESAM_BIN directory including all subfolders
    • SESAM_VAR directory including all subfolders
  • Data store on the SEP sesam Server and Remote Device Server:
    • Any partition on which data store has been configured for backup must be excluded from virus scanning.
  • All SEP sesam processes on the SEP sesam Server, Client and Remote Device Server:
    • Exclude all executable files from the following directories:
 <SESAM_ROOT>/bin/sesam/*.*
 <SESAM_ROOT>/bin/sms/*.*

With some virus scanners, you can disable the Child Process Monitoring rule option. In this case, only the following SEP sesam processes must be excluded:

Windows:

 sm_main.exe
 sm_ctrld_main.exe
 sm_db_main.exe
 sm_passd.exe
 sm_rmi_main.exe
 sm_sepuler.exe
 sm_sms_main.exe
 sm_data_server.exe
 sm_stpd_main.exe
 sbc.exe

Linux:

 sm_qm_main
 sm_ctrld_main
 sm_db_main
 sm_passd
 sm_rmi_main
 sm_sepuler
 sm_sms_main
 sm_data_server
 sm_stpd_main
 sbc

How do I calculate the data store capacity (free space calculation and license check)?

In SEP sesam version 4.2.2, if non-SEP sesam data is stored on the same volume as the SEP sesam data store, then a SEP sesam storage license is required for this data. Now only SEP sesam data is counted.

The method for calculating the required disk space changed with SEP sesam version 4.4. It is now possible to store non-SEP sesam data on the same partition as the data store. The new formula is as follows:

space occupied by Sesam + free disk space > DS capacity

where "DS capacity" is the configured capacity value in SEP sesam's data store configuration.

SEP sesam expects the configured data store space to be available:

It is essential that the value of volume size of non-sesam data is always larger than the data store capacity value! If the configured data store capacity is not completely available for SEP sesam (i.e., if the non-sesam data occupies more space), backup or migration tasks will fail, even if there is free space on disk.


DatastorePositive.pngDatastoreNegative.png DatastorePositiveError2.png



Example:

   Volume size:     10 TB
   Used by Sesam:    4 TB
   Used by non Sesam 3 TB
   Free disk space:  3 TB
   ======================
   DS capacity:      6 TB
   4 TB + 3 TB     > 6 TB:  -> Backup can start
   ----------------------
   DS capcity:       8 TB
   4 TB + 3 TB     < 8 TB:  -> Backup will fail

For example, data store reports the following error:

 Not enough disk space could be freed to reach high water mark of -100GB for data store Data-Store. 
 (Data store: Data-Store. Free space: 696GB . Freed: 3GB). 

Solution: You have to correct the capacity value of your data store.


How do I determine the number of SID for Oracle?

View the list of the operating system's running processes

If an Oracle instance is running, the system monitor will also be running. The name of the Oracle process always contains part of the instance name. The common form is ora_<process_name>_<sid>

Example
oracle@myhost:/ ps -ef | grep smon
oracle 23557 11596 0 Dec 19 ? 0:22 ora_smon_rac1

In this case, the SID is rac1.

Check the oratab

Open the oratab in /var/opt/oracle. You will find the name of the instance and the Oracle home for automatically starting Oracle instances.

Example
oracle@myhost:cat /var/opt/oracle/oratab
rac1:/opt/app/oracle/product/10.2.0/db_1:N

View the parameter file

In the Oracle home under dbs or database, you will find either init<sid>.ora or the relevant SP file. The parameters of the instance are stored here. The db_name and instance_name parameters provide information about the database name and SID.

Sign in on the instance as DBA and query the relevant views

In SQL*Plus as DBA-User: SQL

1.	SHOW parameter db_name
2.	SHOW parameter instance_name

The following statements can be used from every tool

1.	SQL> SELECT instance_name FROM v$instance;
2.	SQL> SELECT [name] FROM v$database;

For more information on SID, see: http://www.ordix.de/ORDIXNews/1_2004/db_1.html (German).

How do I configure SEP sesam profile to run automatically during login?

Create a link in the directory /etc/profile.d/:

ln -s /var/opt/sesam/var/ini/sesam2000.profile /etc/profile.d/sesam.sh

How do I set permissions for a GUI Client?

Every GUI client must be allowed access to the SEP sesam Server using the program <SESAM_ROOT>/bin/sesam/sm_setup with the following syntax:

sm_setup allow_gui -u (user) -c (hostname of GUI client} -m (permission: "admin" – all,
"operator" – configure and start backups, "restore" – start restores)

Example for a Windows client with the hostname "ruoffnix". The user "cr" will get all permissions for SEP sesam.

<SESAM_ROOT>/bin/sesam/sm_setup allow_gui -u cr -c ruoffnix -m admin

After this call, the RMI server receives the changes and restarts. It should now be possible to restart the GUI. Start the GUI from the host "ruoffnix" user "cr".

Be careful with upper and lower case letters and check FQDN or NOFQDN.

If there is an error, you can find the information on missing entries in "Current Messages" in the active SEP sesam GUI or by using <SESAM_ROOT>/bin/sesam/sm_info p.

Every GUI Client must have permissions entered into the SEP sesam Server. Go to the directory <SESAM_ROOT>/bin/sesam and enter sm_setup. You will receive information regarding all possible combinations.

The complete command should be as follows:

sm_setup allow_gui -u (system user that will be GUI administrator)
-c  (hostname of server/client where the GUI will be opened)
-m (sets privileges for individual GUI users: "admin" – all, "operator" – creation and start of backups, "restore" – initiate restores)

Problems when adding a new client

The following error messages may appear when adding new clients to the SEP sesam Server.

Error Message:

No Access for Computer pc2 - please enter for pc1

or

There is no SEP sesam installed on computer pc2, please install it.

The problem might be:

  • There might be no SEP sesam Client software installed.
  • The wrong system name has been entered in the SEP sesam GUI.
  • There is an active firewall between the two computers. By default, a firewall is active on Windows XP with SP2 and SuSE Linux after 9.1.

Solution:

  • Install the SEP sesam software on the target client.
  • If the name was entered incorrectly, delete it then re-enter it.
  • Deactivate the firewalls or install the SEP sesam Firewall option.

Error Message:

Rights Restriction –  [pc1.domain.de system] in pc2:<SESAM_VAR>/var/ini/sm_ctrld.auth

Problem: The SEP sesam Server has no privileges to access the client.

Solution: Enter the value in the [___] into the client's <SESAM_VAR>/var/ini/sm_ctrld.auth.

Error Message:

Test backup from pc2 does not restore to pc1 - please verify ( ping, DNS, local STPD)

Problem: The connection between client and server is not functioning.

Solution: Check with the help of the nslookup command if the name resolution "Forward" with and without FQDN as well as "Reverse" is correct.

Important: Check on the SEP sesam Server AND on the SEP sesam Client

       nslookup {client}
       nslookup {IP-Address of client}                         # important reverse lookup
       nslookup {SEPsesam Server name}
       nslookup {IP-Address of SEPsesam Server}                # important reverse lookup

Example: check mysesam name resolution and reverse lookup:

     #>nslookup mysesam
     Server:   dns.domaine.de
     Address:  192.168.1.254
     Name:     mysesam.domaine.de
     Address:  192.168.1.1
     #>nslookup 192.168.1.1
     Server:   dns.domaine.de
     Address:  192.168.1.254
     Name:     mysesam.domaine.de
     Address:  192.168.1.1

If DNS is not being used and the verification is taking place over the etc/hosts file, use ping to verify individual clients.

How can I install the freeware version of SEP sesam on SuSE LINUX 10.0 Prof. Community Version?

The installation can be accomplished using YasT. If there is no SUN Java currently running on your computer, it will be automatically selected by YasT. In addition, SEP sesam can be installed using the rpm -U <sesam serverpackage>.

How do I use the Nagios plugin from Netway to query and monitor the SEP sesam database?

Attention – Disclaimer

Open source monitoring tools like Nagios are not part of, nor are they supported by, SEP AG and/or its partners and subsidiaries. Neither are other programs or scripts which query data from the SEP sesam DB or any other SEP sesam module that are not specifically distributed by SEP AG. SEP cannot and will not make any guarantees or warranties as to the usability or functionality of such scripts. Therefore, for obvious reasons, SEP cannot offer support for any of these customer and client designed and implemented tools or programs. Consequently, there is no support for the client specific programs.

NETWAYS GmbH has developed an open source database query routine for SEP sesam – the Nagios plugin. In accordance with the OSF foundation rules, this is a free software package and comes with the standard disclaimers regarding warranty, usability and functionality. In other words, use it for free at your own risk.

Note:

Since many names of parameters in the SEP sesam database have changed in version 4.0, you have to choose the relevant version of the plugin. You can download it here.

Demo scripts from projects Various scripts have been written for specific projects to allow customers to query (retrieve information from) the SEP sesam DB. These scripts are very specific to the client environments and are in no way guaranteed to work in other environments. Sample scripts to query the SEP sesam database have been written illustrating the use of the Nagios methodology and are meant to be used for demonstration purposes only. They can be found at this [ http://download.sep.de/utils/nagios/SesamToNagios_DemoScripts.tgz third party site].

GUI

How do I set a specific language for the SEP sesam GUI?

By default, the SEP sesam GUI always starts with the language of the operating system. This can be changed by adjusting the parameter -r of the GUI client. The parameter can be used when calling the GUI directly (i.e. on Linux) or when editing the link itself. The following settings are possible (do not use space after the parameter!):

-rde
-ren
-ren_us
-ren_gb

The first option represents German. The other three options represent English: the first English option shows time in 24-hour format whereas the second and the third option show time in the 12-hour format (AM and PM).

How to set Chinese fonts?

The default GUI font type 'Tahoma' does not supply Chinese characters. The default type can be modified with the entry 'key= default_font[_...]' in the SEP sesam 'defaults' table.

As the available Chinese font sets depend on the operating system, the following platform specific keys are provided:

  • Windows: 'default_font_windows'
  • Linux: 'default_font_linux'
  • Common setting: 'default_font'

Example to set 'MS Song' as 'default_font_windows':

sm_db "INSERT INTO defaults (key,user_name,value,host,protection)
VALUES ('default_font_windows','sesam','MS Song',NULL,NULL);"

Why can't I type anything into the GUI?

This may occur if Java 1.3 is installed. In this case, install SUN JRE Java version 1.4.2. After installation, the Java link must be changed. In the <SESAM_ROOT>/bin/sesam directory the Java link still refers to the old Java path. Change it to the new Java version and restart the server portion of the SEP sesam GUI by entering:

./sm_main reload rmi

With SLES9, Unicode became the standard character setting/coding for SuSE Linux. All SEP sesam versions for SLES9 and higher are in Unicode. Reset you system to Unicode or install a new toolkit.

Can I administer more than on SEP sesam server via the GUI?

To administrate more that one SEP sesam server, enable the Master GUI functionality.

Configuration

  • Important! All SEP sesam Servers must be of the same version to use this functionality!
  • No special license is required.
  • Use the switch -M1 to enable this function.

On a Windows system, edit the SEP sesam desktop shortcut and add the parameter -M1 to the target:

"C:\Program Files\Java\jre6\bin\java.exe" -classpath sm_gui.jar;sm_lib.jar;
de.sep.sesam.gui.client.Frame -ucr -sbackupserver -lwindows -p11401 -P local -v2 -ren -M1).

On a Linux system start the GUI executable /opt/sesam/bin/gui/sesam_gui with the parameter -M1:

./opt/sesam/bin/gui/sesam_gui -M1)

NETWORK

How can I verify that the SEP sesam server has full access to a specific client?

Even if you can reach a client from the SEP sesam server with nslookup and ping over DNS names, it is still possible that the SEP sesam Server cannot connect to the client. In this case, check the availability of the client from the SEP sesam Server with the following command:

For Linux/UNIX client:

sm_ctrlc -l root {nameofclient} sbc

For Windows client:

sm_ctrlc -l system {nameofclient} sbc

The output should be similar to the following standard output of the sbc command (example for a Linux client):

  smsrv:~ # sm_ctrlc -l root dbsrv.local sbc
  2007-10-26 13:29:11: sbc-3036: Info:     # @(#)SESAM BACKUP CLIENT FOR UNIX
  FILE SYSTEMS, VERSION: 1.8R2 Build: 1.165 20070829 18:45:14 Linux i586
  postfix #
  2007-10-26 13:29:11: sbc-3000: Info:
  usage:
   sbc -b|r|g|p|k|h   [-C <control_host>] [-d <device>] [-f <list_source>]
                      [-F <data_format>] [-i <saveset_info>] [-j <job_name>]
                      [-l <level>] [-L <control_target>] [-n <segment_number>]
                      [-o {options}] [-O <STOR/RETR_direct>]
                      [-R <restore_target>] [-s <saveset_spec>][-S
  <storage_node>]
                      [-t <tape_spec>] [-T <since_time>][-x <exclude_patterns>]
                      [-X <exclude list>] [-v <level>]
  # Backup  #   [<backup_source1>[ <backup_source2> <backup_sourceN>]] |
  # Restore #   [<restore_source1>[ <restore_source2> <restore_sourceN>]] |
  # Get     #   [<remote_file> [<local_file>]] |
  # Put     #   [<local_file> [<remote_file>]]
  {options}: comma separated list of
                       compress, encrypt[_plain]= {passwd}
   only for backup:    verify                # verify data after backup
                       plain                 # do not decend into subdirectories
                       hard= defer            # defer hardlinks
                       hard= sort             # expect i-node sorted input
                       plain                 # decend into subdirectories
   only for restore:   rename, overwrite     # rename/overwrite if file exists
                       plain, tree           # restore plain/tree in target dir
                       next                  # start from subsequent tape
  2007-10-26 13:29:11: sbc-3001: Info:     Exiting.

When a network problem occurs, the output may look like:

  2007-10-26 13:25:59: scc-1128: Error: Network communication problem: STDLIB
  error: 110 - Connection timed out. connect() call failed for host:
  [dbsrv.sep.de].

Or a connection from SEP sesam Server to the SEP sesam Client may be forbidden:

  2007-10-26 13:28:29: scc-1128: Error: Network communication problem: CTRLD
  reply: 2007-10-26 13:37:55: scd-1136: Error: Host [smsrv.local] is not
  allowed to connect or security problem for user: [root].

Which are SEP sesam default TCPIP ports?

When using the standard configuration for SEP sesam, the following ports must be opened to allow backups: program used ports control ports

stpd       11001, 11002 (listen port)    --> 11003-11006 (enter in SEP sesam GUI for 2 parallel streams)
ctrl       11301 (listen port)           --> 11302-11305 (enter in SEP sesam GUI)

First, the port range needs to be adjusted. This can be done in the SEP sesam GUI via the options of the relevant clients by using the "Access Options" and "STPD options." The following ports must be opened to back up a client behind a firewall:

Control communication (control port)

program:    used ports:                  control port/option:
ctrl        11301 (listen Port)          -s or -p 11301 (GUI -> client properties ->tab: "Options" value: "Access Options")
smssh       11322 (listen Port)          -p 11322 (GUI -> client properties ->tab: "Options" value: "Access Options")

Alternative control port

Alternatively, a "-p 11301" entry can be used instead of "-s". To use an alternative control port on the client side, change the following:

  • on the client side edit the config file <SESAM_VAR>/var/ini/sm.ini, change the CTRL_PORT in section [CTRLD_SERVER] to the alternative port value
  • GUI -> client properties ->tab: "Options" value: "Access Options" "-p <alternative port>"

Data transfer (data port) Three different options are available for data transfer to the device server: unencrypted transfer over FTP or HTTP and encrypted transfer over HTTPS.

program:   used ports:                   port range:
stpd       11001 (listen port), 11002    11004-11009 (GUI -> client properties ->tab: "Options" value: "STPD Options")
stpd_http  11000 (listen port)           11000 (non entry in GUI required)
stpd_https 11088                         11088 (non entry in GUI required)

Two data ports are always required for client backup via FTP. Three parallel backups are possible in the STPD sample (port range: 11004-11009).

The selection of the data transfer method takes place during the start of the backup task. The TCPIP ports for data transfer will be used according to the selected interface of the device server.

You must configure the interface values of the device server in the properties of the server in the sesam user interface (if it does not already exist).

program:  used ports:                   interfaces for  device server bcksrv1.sep.de (sample name) :
stpd       11001                            bcksrv1 bcksrv1.sep.de
stpd_http  11000                         http://bcksrv1:11000 http://bcksrv1.sep.de:11000
stpd_https 11088                         https://bcksrv1:11088 https://bcksrv1.sep.de:11088

Add the short name and the FQDN of the server to the interface values.

Hint:

To use HTTPS with a device Server in which IP V6 is deactivated, insert the entry "STPD_DISABLE_IPV6= 1" into the config file "<SESAM_VAR>/var/ini/stpd.ini" of the device Server in section [STPD_Server]" .

Unencrypted control communication and data transfer via FTP

Define a control port and data port range in GUI: client -> Properties -> Options. With the "-s" switch, the default control port 11301 will be used. Alternatively, a "-p 11301" entry can be used instead of "-s".

The value for "Access options" always depends on the selected "Access mode" value in client properties.

Client conf ctrl 001 en.jpeg
Client conf ctrl 002 en.jpeg

If no traffic is running on a port, it is necessary to check whether "Timeouts" are considered in the firewall options. This specifically affects port 11001 because it only transfers data at the beginning and end of a backup.

Transfer of the OOB-signal must be activated for all ports.

If you want to make a data mover communicate with an OES-NetWare (6.5/6.0) Server that is inside a DMZ, only port 40193 needs to be unlocked for the TSA.

The image below shows the connection as well as the port range:

ServerClient en.jpg

This means that the SEP sesam Client must always allow port 11301 and all ports from the range defined above for incoming connections by the SEP sesam Server.

Encrypted control communication and data transfer via FTP
Define a control port and data port range in GUI: client -> Properties -> Options:

  • Access mode: SMSSH
  • Access options: -p 11322
  • STPD options: 11004-11009



Client conf smssh 001 en.jpeg
Client conf smssh 002 en.jpeg

The public key of the SEP sesam Server will be transferred during client installation (Windows) or by the command "sm_setup set_client <SEP sesam server>" to the client and the content will be inserted into the <SESAM_VAR>/var/ini/sm_ssh/authorized_keys file on the client side. Depending on your firewall configuration, the transfer may fail. In this case, transfer the key and insert the content manually:

  • copy the public key of SEP sesam server <SESAM_VAR>/var/work/sm_ssh_id_rsa.pub to USB stick or any other media
  • on client side insert the content of sm_ssh_id_rsa.pub into <SESAM_VAR>/var/ini/sm_ssh/authorized_keys
Attention

No additional <CR> or <LF> or any other control character will be inserted.

Why do I get the error: 'Network communication problem: SOCKET error: 10038 – The descriptor is not a socket' when I try to connect to a client?

The Layered Service Provider (LSP) chain is defective or damaged. The cause can be an antivirus program or a virus. Another option is that the DLLs were switched during installation or uninstallation. This results in sub-processes not being able to inherit/open your socket handles.

In this example, the SEP sesam CTRL connection takes the SM_CTRLD_MAIN daemon call from SM_CTRLC, opens the necessary sockets and passes them onto the newly created sub-process SM_CTRLD. Due to the defective LSP, the sockets cannot use this information and return the following error during an operation such as setsockopt():

10038 – The descriptor is not a socket.

Use the following free tools on the SEP sesam client:

* lspfix.exe – identifies blocked DLL's, for example, bmnet.dll and removes them
* listdlls.exe – checks the chain of DLLs (alternatively use sm_list -f {PID of SM_CTRLD_MAIN})

Corrective measures:

  1. Check if the Layered Service Provider (LSP) links with lspfix.
  2. Check the sm_ctrld[_main].exe indirectly used DLLs with listdlls.
  3. Remove the conflicting DLL with lspfix.

An example of a correct listdlls for an environment:

      #> listdlls.exe sm_ctrld
      D:\kit\su\src\gui>listdlls sm_ctrld
      .
      ListDLLs v2.25 - DLL lister for Win9x/NT
      Copyright (C) 1997-2004 Mark Russinovich
      Sysinternals
      ------------------------------------------------------------------------------
      sm_ctrld_main.exe pid: 4872
      Command line: D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe -D
      .
      Base Size Version Path
      0x00400000 0x23000
      D:\programme\SEPsesam\bin\sesam\sm_ctrld_main.exe
      0x7c910000 0xb7000 5.01.2600.2180 D:\WINDOWS\system32\ntdll.dll
      0x7c800000 0x106000 5.01.2600.2945 D:\WINDOWS\system32\kernel32.dll
      0x71a10000 0x17000 5.01.2600.2180 D:\WINDOWS\system32\WS2_32.dll
      0x77be0000 0x58000 7.00.2600.2180 D:\WINDOWS\system32\msvcrt.dll
      0x71a00000 0x8000 5.01.2600.2180 D:\WINDOWS\system32\WS2HELP.dll
      0x77da0000 0xaa000 5.01.2600.2180 D:\WINDOWS\system32\ADVAPI32.dll
      0x77e50000 0x91000 5.01.2600.2180 D:\WINDOWS\system32\RPCRT4.dll
      0x719b0000 0x40000 5.01.2600.2180 D:\WINDOWS\system32\mswsock.dll
      0x66710000 0x59000 5.01.2600.2180 D:\WINDOWS\system32\hnetcfg.dll
      0x77ef0000 0x47000 5.01.2600.3099 D:\WINDOWS\system32\GDI32.dll
      0x7e360000 0x90000 5.01.2600.3099 D:\WINDOWS\system32\USER32.dll
      0x719f0000 0x8000 5.01.2600.2180 D:\WINDOWS\System32\wshtcpip.dll

After removing the defective DLL, the socket can be inherited by the sub-process SM_CTRLD.

SEP SESAM SPECIFIC

What is SEP sesam NEWDAY?

SEP sesam NEWDAY gives system administrators the flexibility to extend backup routines to run after midnight and retain the backup date of the prior day. This is very useful when the clients requiring backup exceed the time allotment between the end of day and midnight. SEP sesam defines the period between two NEWDAY events as one backup day. This event is predetermined at the installation and may need to be adjusted for specific requirements.

When a daily NEWDAY event is set to 08:00, the backup day lasts until the morning of the next day 08:00 (8 a.m.). Backups that run after midnight – the real new day – will be administered (recorded) as a backup of the prior day.

Example: The system administrator schedules a backup at 19:00 (7 p.m.) and the estimated finish time is 02:00 (2 a.m.) By selecting a NEWDAY event at 08:00 (8 a.m.), the job has time to complete and all data is stored in the backup file of the day on which the job was started.
Weekends are often used for full backups. In such a case, you should interrupt the NEWDAY event on the weekend. Define the execution as a weekly event but without execution since a full backup is performed instead.

Additionally, a NEWDAY event carries out the following tasks:

  • completion of all running backups
  • restarting the SMS- and STPD-processes
  • erasing files and database entry backup files that no longer exist
  • calculating future tasks in the calendar

You can configure the NEWDAY to a time other than 8 a.m., but you should not deactivate the NEWDAY event because the internal administration jobs in the system and database cannot work without it. This may eventually result in malfunctions in the SEP sesam system.

Is there an overview of SEP sesam services?

There are different services depending on whether you dealing with a SEP sesam Server, a SEP sesam Client or a SEP sesam Remote Device Server.

The services can be found in the SEP sesam installation directory <SESAM_ROOT>/bin/sesam. To check the status of the services, use the following commands:

  • Linux/UNIX:
./sm_main status
  • Windows:
sm_main status

SEP sesam Server services

main    SEP sesam main processes
sepuler SEP Event calendar to control all tasks
db      SEP sesam databank services
qm      Queue Manager, administers backups, restores and devices
rmi     Server part of the graphical user interface
sms     Read/Write of SEP sesam Media
stpd    Linking protocol from the SEP sesam Client to the SEP sesam Server
passd   Security administration for SEP sesam
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client

SEP sesam Client services

main    SEP sesam main processes
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client

SEP sesam Remote Device Server services

main    SEP sesam main processes
ctrl    Linking protocol from the SEP sesam Server to the SEP sesam Client
sms     Read/Write of SEP sesam Media
stpd    Linking protocol from the SEP sesam Client to the SEP sesam Server
passd   Security administration for SEP sesam

In Backups by state, what do the flags in the column 'type' mean?

The first letter shows the type of backup:

F/D/I/C:  Backup level (full, differential, incremental, copy)
M:        Media event
N:        SEP sesam NEWDAY
S:        SEP sesam startup
X:        SEP sesam command event

The second letter is used when a database backup is performed. It has no significance for regular path backups.

H:  Hot - online backup of a database
C:  Cold - offline backup of a database

How do I configure a command event?

To enable access of the SEP sesam Server from a client, a command must be entered from the administration console.

Microsoft Windows Client

To set access rights for the user and command, use the following key: HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\{user}\{command}.

  1. Call the Regedit editor. Go to HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\ and create a new key called CommandEvents, if it does not already exist (right click and select "new Key").
  2. Enter {user} and then {command} with the full path information as the key.

If there are any other commands present, the last command will be executed. If you use a wildcard (*), all commands will be executed.

Registryentry.JPG

Below is an example for a registry file (*.reg) that allows all command events for the administrator and sesam user:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\sesam\*]
[HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH\sesam\CommandEvents\Administrator\*]

Linux/UNIX Client

Copy the file sesam_cmdusers.allow from the <SESAM_ROOT>/skel directory to /etc on the client and modify the file. You will now be able to enter a line for the user and command using the {User} {command} format. If you use a wildcard (*), all commands will be executed.

Note: No explicit permissions are required to execute SEP sesam commands such as sm_loader.

What happens when I set a profile?

By setting a profile:

  • the <SESAM_ROOT>/bin and <SESAM_ROOT>/var/db/ directories (and their subdirectories) are added to the "$PATH" environment variable so that SEP sesam commands can be executed globally,
  • you do not need to be in the actual "run directory".

Set the profile as follows:

Linux/UNIX

Go to the directory <SESAM_VAR>/var/ini and call:

. sesam2000.profile

Important! Do not forget the dot and the space!

Alternatively, use:

source sesam2000.profile
Note:

This sets the profile only for the current session. To set it permanently under Linux, see How do I configure SEP sesam profile to run automatically during login?

Microsoft Windows

Open a command window, then go to the directory <SESAM_ROOT>\var\ini and call:

sm_prof.bat

Alternatively, use the link <SESAM_ROOT>\var\ini\sm_prof.bat.lnk

Why does the SEP sesam GUI create so many Java processes under Linux?

On some Linux Systems, the threads created by the SEP sesam GUI are shown in the process table. These are not real processes but only threads. There is a large number of processes because Java creates threads for all objects with 'Listener' functionality.

Why does SEP sesam Server use so much disk space on the local hard disk?

One of the essential advantages of SEP sesam is that not all information is filed in a database but, instead, in simple text files. The largest files are usually the *.lis files which contain information about the a backup's unique files and are used by the restore wizard to select and restore unique files. *.lis files are stored in the following directories:

Linux/UNIX:

/<SESAM_ROOT>/var/lis

Microsoft Windows:

C:\<SESAM_ROOT>\var\lis

SEP sesam can compress *.lis files automatically. See Compressing SEP sesam Listing files.

Before compressing the files, set the SEP sesam profile as follows:

Linux/UNIX:

 source /var/opt/sesam/var/sesam2000.profile

Microsoft Windows:

 C:\<SESAM_ROOT>\var\ini\sm_prof.bat

Use the "sm_newday" command to run file compression immediately. The files will be compressed directly by the NEWDAY schedule.

As predefined in the command, *.lis files are not compressed immediately but three days after they are created. This is because most restores are triggered within three days after a backup.

All *.lis files are converted into a compressed file format and are uncompressed by SEP sesam automatically whenever necessary.

BACKUP

How do I set up a UNC path backup from a CIFS share?

This example assumes that the SEP sesam Server or the SEP sesam Client is on a Microsoft Windows system. Not all rights of the backed up files and ACLs are considered. For a NetApp CIFS share backup, see NetApp CIFS backup.

In Microsoft Windows, services - and therefore the SEP sesam processes - usually run under the special SYSTEM account. This account has all local access rights but, for security reasons, no access rights for non-local or network drives. To access network drives, the following configurations must be modified:

  • For SEP sesam Clients to which the backup task is assigned, the SEP sesam service should run under an administrator account (services.msc -> SEP sesam Server -> Logon as "Administrative" cccount) with full read and write privileges for the network drive.
  • Share the network drive in such a way that it is not necessary to login for read and write privileges. This can be tested by opening the shared path on the SEP sesam Server in Windows Explorer. If the content of the share is displayed without a user and password request, the UNC path can be used as a source for the backup task.

Because of the enhanced security introduced after Microsoft Windows 2000, it is not possible to assign a dedicated drive letter (for example, e:\). Instead, the path must be entered using UNC notation. The backup is performed over the UNC names, for example, //fileserver/install/Driver.

The image below is an example of a backup task configured in SEP sesam GUI:

Netapp cifs.jpg

Template:Attention Box

Testing with the command line

The SEP sesam service must be running under an administrator account. In the command line, enter the following for a backup:

C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(hostname of the system) sbc -b -s @test.save
-v 2 \\fileserver\pub\customers

For a restore command, enter:

C:\Programme\SEPsesam\bin\gui>sm_ctrlc -l system rmpc1(hostname of the system) sbc -r -s @test.save
-v 2 -R \\fileserver\pub\customers_restore

This saves the files from \pub\customers to the file (save set) test.save, i.e., it restores them from the save set test.save to the folder \pub\customers_restore.

Excluding a UNC directory

To exclude a file or a directory, enter the following:


The excluded UNC path in this example is: \\server\share\subfolder1\subfolder2.

  • UNC path exclude syntax using "slash" is: //server/share/subfolder1/subfolder2.
  • UNC path exclude syntax using "backslash" (works from version 4.2.1.41) is: \\\\server\\\share\\\subfolder1\\\subfolder2.

A client backup did not function properly. How can I determine where the problem is?

The following test commands should help you isolate the problem. You can run a test backup for the target client from a SEP sesam Server or Client without writing data to a tape drive or disk drive. Run the following commands in the directory <SESAM_ROOT>/bin/sesam/.

Caution!

The following commands produce a high network load.

Backup server Unix, client Windows

sm_ctrlc -l system  {client name} sbc -b -s -  f:/test  >/dev/null

Data from the F:/ directory on Windows is written over the network to the directory /dev/null on Unix.

To display this, append -v 1 to the command above. Everything written to /dev/null will be displayed.

sm_ctrlc -l system  {client name}   sbc  -b -s  -  -v 1      f:/test  >/dev/null

Backup server Unix, client Unix

sm_ctrlc -l root  {client name}   sbc  -b -s -  /usr  >/dev/null

To display the read data:

sm_ctrlc -l root  {client name}   sbc  -b -s -  -v  1   /usr  >/dev/null

Backup server Windows, client Unix

sm_ctrlc -l root  {client name}   sbc  -b -s -             /usr    > NUL

With backup data logging:

sm_ctrlc -l root  {client name}   sbc  -b -s -  -v  1   /usr    > NUL

If the test backup is to be run on the target backup client only, execute the following command:

In the Unix directory <sesam>/bin/sesam/:

sbc -b -s  -  /usr   >/dev/null

In the Windows directory <SESAM_ROOT>\bin\sesam\:

sbc  -b -s  -  f:/test    > NUL

Enter -v 1 to show the backed up data on your monitor.

Why do I receive the message: "Login incorrect. Password incorrect." during backup?

Check your name resolution (DNS or etc/hosts file). The SEP sesam Server and SEP sesam Client must be reachable with or without FQDN and should be able to resolve each other correctly, including the reverse lookup. If the resolution is correct, do the following:

  1. In the SEP sesam GUI, go to Main Selection -> Tasks -> By clients, and select the client where the backup problem is.
  2. Open the properties of the backup and click the tab the Options.
  3. Insert -v 4 at backup options.
  4. Start the backup again. Then go to Main Selection -> Job state -> Backups, and double-click the backup task to open its properties.
  5. Move to Protocol and search for the line "Login incorrect. Password incorrect.", then correct the respective name resolution.

Is data that is collected for backup stored in a flat file or a database?

Data is stored in a flat file but information about the backup is stored in the SEP sesam database, including index pointers for fast and easy data recovery.

When encryption is selected before transferring data to the server, does SEP sesam do a compression before it encrypts the data?

Data encrypted by the system and transferred to the server will be compressed if stored to tape using the manufacturer's compression algorithms. If it is stored to disk, data can either be encrypted or compressed but not both.

Where is the encryption key stored?

The encryption key is stored in the SEP sesam database - in the backup task entry (table Tasks) and in the result entry (table Results). If the encryption key is changed, the subsequent task will be executed with the new key and the new key will be stored in table Results.

A restore uses the stored encryption key from table Results.

How to set compression?

Compression for backup to virtual tape media

Note

The option Compression under the tab Crypt and Compression in the properties of a backup task only applies to Microsoft Windows.

To activate compression globally for all backup tasks under Linux, the sms.ini file under /var/opt/sesam/var/ini/ must be modified. The Compresslevel option under the caption [SMS_Server], can be enabled with

Compresslevel= 1

This entry also applies to Microsoft Windows.

Compression on tape drives

Compression is done by the drive itself. Use the SEP sesam tool slu to check whether compression is activated or deactivated.

Step 1: Display a list of connected drives

Linux:

 cd <SESAM_INSTALL_DIR>/bin/sesam/
 [root@sinus sesam]# ./slu scan
 ID= 0000 Loader:  HP       ThinStor AutoLdr H43r (/dev/sg0)
 ID= 0020 Tape:    TANDBERG LTO-3 HH         D229 (/dev/nst0)
 ID= 0050 Tape:    HP       Ultrium 1-SCSI   E33P (/dev/nst1)
 STATUS= SUCCESS MSG= "OK"

Step 2: Check the tape drive settings

 [root@sinus sesam]# ./slu 0020 -s
 Tape Info
 Read Attribute not supported
 internal_status_byte= 0x0
 buffered_mode= 1
 block_length= 0 (variable)
 media_type= unknown (0)
 write_protect= 0
 density_code= 44
 compression= 1
 STATUS= SUCCESS MSG= "OK"

If compression is set to 1, drive compression is active. Setting the compression can also be done with "slu" or alternatively with the Linux tool "mt".

Step 3: Activate compression

 [root@sinus sesam]# slu 0020 -c 1
 DCE= 1
 DATA COMPRESSION ENABLE:1
 TRY MODE SELECT (6) SET COMPRESSION DCE
 compression= 1
 DONE MODE SELECT (6) SET COMPRESSION DCE
 STATUS= SUCCESS MSG= "OK"

How can I configure a backup using another network or interface?

You must first establish an IP address for the new interface. The IP address will then be entered to the properties table of the (tape) server under Components -> Topology -> Clients, field Interfaces. In the backup events, the IP name must be selected from the Parameter tab in the field Interfaces. (

For example, the computer 'testme' has a 2nd interface module with the name 'testmeb'. In the backup task properties, select 'testmeb' in the field Interfaces.

How can I exclude a directory from a backup?

You can exclude a directory by creating of a special file - '.nosbc' (UNIX) or 'nosbc' (Windows) in the directory itself. The behavior can be switched off for a specific backup task by entering the '-o noexcl' switch under the backup task properties, tab Options -> Save options.

How can I enter a backup source with more than 256 characters?

If you want to define a backup source with more than 256 characters in the complete filename (path and filename), create a text file with a list of all the paths as the backup source (for example, /opt/sesam/var/ini/large_source.txt). Each path must be written below the previous one, resulting in a fully qualified file or directory name on each line.

Enter the backup option -f {file} in the backup task properties, tab Options -> Save options:

-f /opt/sesam/var/ini/large_source.txt

The SEP sesam Server reads this file during backup and stores the additional files and directories listed in the source directories.

How can I specify an exclude list that is longer than 150 characters?

Create a text file where all the paths are listed one below the other (for example, /tmp /opt/sesam/var/ini/large_exclude.txt) and save this file to a folder of your choice. During the creation of a backup, enter the folowing statement.

-X /example/directory/text file.txt

During backup, all directories in the .txt file will also be excluded.

Fileexclude.jpg


See also How can I set the SBC so that the Exclude List always uses the file pattern (?,*) instead of using regular expressions?.

Does SEP sesam perform incremental backups after the initial backup?

Depending on your backup strategy, SEP sesam can be set to perform any backup type in the desired sequence. Template:Backup type

Can users perform their own backup and restore?

Typically, users cannot backup their own computers but it is possible. The most efficient way to accomplish this would be to install a SEP sesam Server license on the target client (the user's computer). The user is then the SEP sesam administrator of this client/server and can backup and restore the files on this computer.

Are backups performed directly to disk or tape?

Backups can be written directly to either tape or disk. SEP sesam version supports disk-to-disk-to-tape (D2D2T) functionality. Additionally, it can write directly from the backup tape to the server. This is beneficial and saves a lot of time when performing a disaster recovery.

All backup functions are written and/or controlled by the server and may be written directly to the backup disk, tape or remote tape server. SEP sesam supports virtual tape libraries on disk with a pseudo autoloader function. Removable disk media are also supported.

How do I set up a backup to disk?

Follow the steps below to set up a backup to disk:

  1. In the SEP sesam GUI, find loader 0 (in newer versions, the virtual loader) in the Components -> Loader menu selection.
  2. Locate the local disk storage. Backups can also be performed using a UNC path on a NAS device, however the settings and user rights must be established on the NAS system.
  3. If the disk media pool intended for backup is on another or remote system (i.e., if the storage on the SEP sesam Server is insufficient), you will need to install a Remote Device Server license. A disk pool greater than 1TB in size requires an additional license.
  4. In the GUI under Components -> Media pools, create a media pool and identify it with any recognizable name.
  5. Change the Drive group option to Disk drives.
  6. Provide a directory name where SEP sesam can enter the virtual tape drive.
  7. Determine the maximum size (in MB) that the media pool for the virtual loader is allowed to access. Use the conversion factor 1GB = 1024MB.
  8. Enter media into the media pool.
  9. Set various media sizes under Media type, for example, DISK_100 sets the size of this media to 100MB. If a media pool had a limit of 1000MB, it is possible to select 10 DISK_100 media types.
  10. Click Start to begin the initialization process. Repeat this step until the maximum capacity has been reached.

The number of media for a pool should be between 10 and 20, whereas the size of these media is not important. The initializaiton (recognition) of the new media can be automatically accomplished using Archive adjustment in Components -> Loader -> select loader -> Archive adjustment.

The numbering convention for media starts with a 0, for example, for 10 media the first slot would be 0 and the last slot would be 9. Automatic initialization must be activated. After completing the steps above, select Immediate backup on the new pool (Disk) to start the backup process.

How do I perform a file backup of a Linux/Windows cluster?

To perform a file backup of a Linux/Windows cluster:

  1. Install the standard SEP sesam Client on each physical node
  2. Check if every node and every resource of the cluster can be correctly resolved using DNS forward and reverse lookup.
  3. Add each physical node and each cluster resource as a backup client under Components/Topology
  4. After the clients have been successfully recorded, a backup task can be created for each cluster resource. During backup, the data is automatically transferred from the active node.

When several users save the same file on separate clients, does SEP sesam backup all the files?

For example, if members of a workgroup save the same file to their respective desktops, does SEP sesam make separate copies of the file or a single file with pointers to the changes?

SEP sesam stores separate files for each user. Unless there is a very large amount of data being stored in the files, any changes that might be made to the main data array would have to be stored in multiple areas or tapes and, if a restore was required, more overheads would be required to restore the data.

Does SEP sesam back up open files?

Yes, SEP sesam can back up open files on both Linux and Microsoft Windows.

Microsoft Windows

Open files can be backed up with Microsoft's Volume Shadow Copy Service . To perform an open file backup, a Windows Snapshot is made of the data and partition intended for backup and the partition is backed up. Databases should be backed up using the relevant SEP sesam database module.

System Requirements:

  • Client O/S: Microsoft Windows 2003
  • SEP sesam Server Version 3.0 or higher
  • SEP sesam Client Version 3.0 or higher

How do I include or exclude a large number of files for backup in Linux?

If several directories or files are to be included in or excluded from a backup task, it may be possible that the character count limit of the field (max. 255 character) will be exceeded. To solve this problem, use a file to define a backup source or an exclude list. This file must be created on the backup client on which the backup is to be executed.

Include:

Create a separate line for each directory or file item in a file (for example, /etc/sesam/backupfiles.txt):

 /lib
 /usr/share
 /usr/bin/a2ps
 /srv/Dos6.22.img
 /var/opt/sesam/var/ini


Attention

Wildcards are not allowed in file or directory entries.


At least one item must be entered in the Source field, for example, the include file itself. This file is then also included in the backup set (for example, /etc/sesam/backupfiles.txt). In addition, you have to set up the following entry in the Save options field of the Options 1 register in the backup task definition:

-f /etc/sesam/backupfiles.txt

In addition to the value of the Source field, all values that are contained in the file are backed up.


Exclude:

The procedure for exclude is similar. The exclude file may be called /etc/sesam/excludefiles.txt, for example. Each file or directory that you want to exclude from the backup must be entered on a separate line in the file, for example:

 \./tmp$
 \./home/John Doe/videos.zip$
 \./home/John Doe/Business Documents/YearEnd Closing for business year 2006$
Attention

Please keep in mind that the exclude entries have to be set up with a regular expressions syntax.


If, for instance, all is entered in the source of the task definition, the complete system is backed up, excluding the items in the exclude file. Leave the Exclude List empty.

Set up the following entry in the Save options field of the Options 1 register in the backup task definition:

 -X /etc/sesam/excludefiles.txt

SEP sesam will exclude all listed files and directories from the backup.

How do I use an Exclude File in Microsoft Windows?

To exclude several directories from a backup source, create a .txt-file that contains all the directories you want to exclude from the backup. This file should be created on the computer that you want to backup. For example:

Create the file exclude.txt on the client in the directory C:\Programme\SEPsesam\var\ini. THe exclude.txt may, for example, contain the following:

 D:/DOWNLOAD
 D:/PREKITS
 D:/Dev
 D:/kit_2_3_1_7
 D:/kit_2_3_1_5
 D:/knoppix
 D:/ACHIM
 D:/gui

The backup task source is set to D:. In the backup task window, under the Save options field, enter:

-X C:\Programme\SEPsesam\var\ini\exclude.txt

IMPORTANT:

  • Use only "/" (slash) in the exclude file and NOT "\" (backslash)!
  • Every directory and file must be entered in a new line. This also applies to paths that include spaces.
  • Known bug: in SEP sesam version 4.3.1-69, you must use a double backslash (\\) instead of a single slash (/)!

In this example, the entire drive D: is backed up except the directories that are declared in the exclude.txt.

How can I set the SBC so that the Exclude List always uses the file pattern (?,*) instead of using regular expressions?

In the configuration file <SESAM_VAR>/var/ini/sm.ini on the sesam client, the entry

[SBC_OPTIONS]
EXCLUDE_MATCH= REGEXP

must be changed to

EXCLUDE_MATCH= PATTERN

What should I do when a client backup fails with a WIN32 API error: "1450 - Not enough system resources to execute the requested service"?

The backup of a client may end with the following error message in the backup log:

sbc-1148: Error:   W2KSS Error: [WIN32 API error: 1450 - Not enough system ressources to execute the requested service.
Cannot store registry key: [SOFTWARE]. RegSaveKey() call failed in BackupRegistry().].

The reason for this is the small size of the registry/paged memory area. This problem not only affects SEP sesam but also other backup tools, such as NTBackup. The following Technet article explains approaches for different versions of Microsoft Windows:

http://support.microsoft.com/kb/304101/en-us

How are Archive Bits processed?

As of SEPsesam version 3.4.1.67, archive bits are no longer used for incremental and differential backups on Microsoft Windows. This can be changed if necessary.

Note: As of SEP sesam version 4.2.1, file system backups on Microsoft Windows are always executed with COPY! Two new options were introduced:

  • '-o add_archive_ready' to add files with the 'Archive Ready' attribute
  • '-o clear_archive' to reset the 'Archive Ready' attribute.

If 'with_archive_bit' is set to the value 'yes', then all FULL/DIFF/INCR backups will be executed as COPY. The following are additional options:

  • FULL: -o clear_archive
  • DIFF: -T {since_last_full} -o add_archive_ready
  • INCR: -T {since_last_backup} -o add_archive_ready,clear_archive


You can set the use of archive bits with the command:

sql "update defaults set value= 'yes' where key= 'with_archive_bit'"

After setting the value to 'yes', the files' Windows archive bits are treated as follows, depending on the backup type:

COPY
Saves all files without regard to the archive bit, archive bit is not reset.
FULL
Saves all files without regard to the archive bit, resets archive bit.
DIFF
Only files with archive bit are saved, archive bit is not reset.
INCR
Only files with archive bit are saved, resets archive bit.

The following issues must be considered when selecting a backup strategy:

  1. A backup sequence FULL-DIFF-INCR-DIFF-... is not logical. Following an INCR backup with a DIFF will not save files saved by the INCR backup because the archive bit is reset!
  2. If the file archive bits are reset manually or by other programs, a following DIFF or INCR backup may not save the files!
  3. If archive bits are not changeable, for example, if they cannot be reset because they are in 'ReadOnly' directories, warnings will be returned during FULL and INCR backups.

How do I get backups to ignore Archive Bits and use creation/modification time?

As of SEP sesam version 3.4.1.67, Archive bit are not used for incremental and differential backups on Microsoft Windows!

To set the use of creation/modification time, go to the <SESAM_ROOT>/bin/sesam directory and call:

sm_db "INSERT INTO defaults (key,user_name,value) VALUES ('with_archive_bit','sesam','no');"

FULL, DIFF and INCR backups will now ignore archiv bits. DIFF and INCR backups use the start time of the last referenced backup - for DIFF, the preceding FULL backup and for INCR, any preceding backup.

The option below executes optional resetting of archive bits when it is inserted in the backup task properties in the 'Options 1' tab of the 'Save options' field:

-o clear_archive

Why does the backup of encrypted data fail on Microsoft Windows 2000 with the message "The network path was not found"?

Microsoft released a Hotfix dated 24 March 2004 for older Microsoft Windows 2000 versions for the backup of encrypted data (Encrypting File System - EFS). See:

http://support.microsoft.com/?scid=kb%3Ben-us%3B843198&x= 10&y=8

Beginning with this Hotfix, there is support for the Unicode Patch Convention with the \\?\ prefix.

What does the warning "The system cannot find path. RegLoadKey()..." during System_State backup mean?

You may see the following output in NOT-Log:

C:\Program Files\SEPsesam\var\tmp\usr_wf_S-1-5-21-220523388-1123561945-839522115-1003].
2010-04-13 02:04:20: sbc-2074: Warning: W2KSS Warning: [WIN32 API error: 3 -
The system cannot find path. RegLoadKey() call failed for
file: [C:\Documents and Settings\nn\ntuser.dat] in BackupUserProfiles().].

This is an inconsistency of the system configuration of the operating system. The reason is that a user profile has been deleted but the user account still exists. The System_State backup is looking for files corresponding to the user in the file system but the files no longer exist. To resolve the problem, delete the user in question or restore the profile date in the file system.

Check the following Hive in your registry to see whether it still includes references to usernames which no longer exist:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Why is the Powershell script not executed on a target machine?

By default, Microsoft installs Windows Powershell with the permission set to Restricted. This setting only allows the execution of commands in Powershell but no scripts.

This can be changed with following command in Powershell:

Set-ExecutionPolicy RemoteSigned

For more information, see http://technet.microsoft.com/en-us/library/ee176961.aspx

Can I backup MS SQL/MS Exchange with the Volume Shadow Copy (VSS) functionality of Microsoft Windows?

Yes, it is possible to use the VSS functionality to backup MS SQL or MS Exchange environments but it is only recommended for small installations.

There are two strategies for consistently backin up a running MS Exchange or MS SQL environment:

  1. Using the SEP sesam Online Extensions for MS Exchange or MS SQL.
  2. File system backup with the activation of the VSS Writer for MS Exchange or MS SQL (Volume Shadow Copy functionality of Microsoft Windows).

SEP sesam Online Extensions

  • Dedicated backup of Groupware data/database data, independent of the files in the file system.
  • Full, Differential and Incremental backups are possible.
  • Granular backup of single databases and database instances is possible.
  • Backup of the transaction log – other systems accessing the database are aware that a backup is performed
  • Restore of the database/Groupware data only (without files from the filesystem)
  • Granular restore of single instances and databases is possible. In a restore scenario, there is no need to restore the complete database – this is important for larger databases/Groupware systems
  • Online restore is possible

Backup via the Microsoft VSS Writer

  • The Volume Shadow Copy Functionality of Microsoft Windows is included in the regular SEP sesam file backup agent for Microsoft Windows. It also supports the VSS backup of MS Exchange and MS SQL.
  • A VSS-based backup of a database/Groupware system is always a file system backup. If the file backup agent starts backing up a filesystem with a MS SQL / MS Exchange Database, the VSS functionality is used to inform the database about the backup. The database/Groupware system delivers the data consistently.
  • A VSS backup of a database/Groupware system always backs up all of the data. Incremental or differential backups are not possible. Further, the backup of single databases or single instances is not possible.
  • A restore of the database only is not possible. The database/Groupware system is part of the complete file system backup and the complete file system backup must be restored in order to restore the database.
  • Restore of single instances or single databases is not possible
  • The transaction log file is not backed up – other applications are not informed about the backup of the database.

To enable a consistent restore in distributed environments, the different components must be informed if a backup of one of the systems is performed. For example, in a Sharepoint Server environment, the database and mailserver run on different servers. A VSS backup of a single server will result in an inconsistent restore. Here, only the backup via the SEP sesam Online Extensions will guarantee consistent data.

In summary, the backup of MS Exchange or MS SQL environments via VSS is a viable option to get a consistent backup of the running environment as long as the data volume is not too large. It is an alternative for small environments with 1-5 users. In critical productive environments, the use of the SEP sesam Omline Extensions for MS Exchange/MS SQL is highly recommended.

Is it possible to exclude specific VSS writers from a backup?

Yes. To include all VSS writers except the Microsoft Exchange Writer from an "all" backup task, use this exclude:

 VSS:/Microsoft Exchange Writer

Why does a Microsoft Windows backup via VSS stop with "[ [CVssBaseObject::CreateVssBackupComponents] - Access denied?"

SEP sesam is not allowed to create a snapshot with the current user. Check the user running the SEP sesam daemon and make sure that the user has all permissions to access the volume(s).

What does "Stream data length bigger than buffer can accept. Input buffer length = [65536], Stream data size = (High part)[0] (Low part)[65564]" mean?

SEP sesam uses 64 Kb to back up Windows ACL files and folders and one object exceeds this buffer. You can use the Windows command icacls to display the ACL of a file or folder. The output looks like this:

 C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp"
 C:\Documents and Settings\LocalService\Local Settings\Temp NT AUTHORITY\LOCAL SERVICE:(I)(F)
                                                          NT AUTHORITY\LOCAL SERVICE:(I)(OI)(CI)(IO)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(F)
                                                          NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                                          BUILTIN\Administrators:(I)(F)
                                                          BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
 Successfully processed 1 files; Failed processing 0 files

If you get several hundred or thousand lines, there is something wrong with the ACL. In such an event, it would make sense to reset the permissions of the file's respective folder. Use this command:

 C:\>icacls "C:\Documents and Settings\LocalService\Local Settings\Temp" /reset

This command inherits the permissions of the parent object. You may have to adjust the permissions after this command if manual settings have been made for this object.

How do I exclude files and folders during a TSA based backup?

You can use the "exclude list" field on the first tab of the backup task. If several directories or files are to be excluded from a backup task, it may be possible that the count or character limit of the field (max. 255 character) will be exceeded. To solve this problem, use a files to define an exclude list. This file must be created on the backup client on which the backup is to be executed.

Attention

Only a pattern format can be used for exclude. Wildcards are allowed in the file or directory entries. An exclude folder must end with a slash!

Create a separate line for each directory or file item in a file (for example, /etc/sesam/backupfiles.txt):

 /media/nss/VOL1/tmp/
 /media/nss/VOL1/USR/*/Notes/Workspace/
 /media/nss/VOL1/data/do_not_backup.txt

For instance, /media/nss/VOL1 is entered in the source of the task definition. This means that the complete VOL1 is backed up, excluding the items in the exclude file. Next, set up the following entry in the "Save options" field of the "Options 1 "register in the backup task definition:

 -X /etc/sesam/excludefiles.txt

SEP sesam will exclude all the files and directories from the backup that are listed in the file.

How do I back up the eDirectory on Novell OES Linux without SP2 -?

Starting with OES SP2, a TSA-NDS (Target Service Agent - NetWare Service Directory) is available for eDirectory on Novell OES Linux. For older OES versions, SEP sesam provides a special backup type called "OES Novell Directory". This backup type uses SEP's sbc_nds and Novell's ndsbackup to back up the eDirectory. Using sbc_nds generates the appropriate command line for backup levels FULL/DIFF and INCR. The ndsbackup function requires User and Password information. These values must be defined in the properties of the Backup Task as Backup Option and Restore Option with -a user= {your user},pass= {your password}

For example:

-a user= cn= admin.o= novell,pass= novell

Selective restore is not possible but you can filter specific subtrees. To do this, choose "Expert Options" in the restore wizard and enter the requested subtree under the 'Filter' tab.

Availability of Backup Task Type 'OES Novell Directory
Which SEP sesam version are you using? It should be version 3.0 or higher.
Availability of recent sbc_nds
Please use the recent version: http://download.sep.de/netware/ sbc_nds_*.* or <ttsesam-novell-client-*.*
Is sbc_nds in bin/sesam on client side available and executable?
Backup Task with User and Password
If it doesn't exist define, a backup user and password for eDirectory backup in Novell iManager.
Define a backup task with the type 'OES Novell Directory'. The source is the identifier of your eDirectory tree or subtree. You may check this with the ndsbackup scan function.
Set the backup option and restore option to: -a user= {your user},pass= {your password}
Restore
Use the target '/' to restore into the original tree.
With expert options you may set the filter to the requested subtree.


Path for ndsbackup after eDirectory 8.8.1

As of eDirectory version 8.8.1, ndsbackup is no longer located in /usr/bin</t> but instead in /opt/novell/eDirectory/bin/ndsbackup. A link into the SEP sesam bin directory is necessary to enable an execution with SEP sesam. Use the following command in case of a standard installation:

 ln -sf /opt/novell/eDirectory/bin/ndsbackup /opt/sesam/bin/sesam

Which mode should I use for TSAFS backup of OES Novell File systems?

The TSAFS should generally be loaded in Linux mode. The Netware mode and Dual mode are only intended for mixed environments (backup of native netware servers) or for a Novell cluster in "mixed mode" .

  • On cluster nodes of a pure Linux OES cluster, use the TSAFS ONLY in Linux mode.
  • On a mixed cluster (OES Netware and OES Linux nodes), the TSAFS must be loaded in Netware or Dual mode. For the backup of the cluster volumes, the "Netware Cluster Filesystem" target must be used.

RESTORE

Is it possible to restore only single files if the SEP sesam listing file is no longer available ?

Yes. In order to do this, enter the file patterns into the Restore Wizard. First, the desired "Saveset" is selected in the registry tasks and the option "fully restore" is selected. Click on the Expert Options button to open the Expert Options Window. Enter the file patterns in the "Filter" register. Many patterns are separated by blanks. Only files which fit into this pattern will be restored. All others are ignored.

Examples:

 /*.xls          -> restores all files with the ending ".xls"
 /*/X11/XF86*    -> restores all files from the directory "/X11" which start with
                    "XF86".
 /*.ini /*.conf  -> restores all files which end on ".ini" or ".conf"

Note: is is essential to use '/' when writing the pattern.

How do I use the Selective Restore Commands?

  1. Create a new directory root in the <SESAM_ROOT>\var\work directory
  2. You will need the .sgm and .lis files from the backup
  3. Execute 'Sesamprofile'

In the 'root' directory, create a text file with the name "selected.txt" and extract the desired lines from the .lis file, for example:

     "C :/WINDOWS/system32/config/AppEvent.Evt" f 8.10.2004 13:26:54 8.8.2005 15:56:07 1 4096 540672

In the command line of the SEP sesam Server, enter:

sm_restore -s SC20050809155617 -R c:/temp -v 1 -l s -c client -d 1 -V

Parameters:

 -j Original task name of the backup job
 -s The saveset name of the backup job must be entered. You can find this in the .sel file from the restore job
 -r Restore target (note the slash "/"!)
 -l The "s" is used for selective restore
 -S The hostname of the SEP sesam servers
 -v 1 increase the log levels
 -V Suppress output to the background
 -c Hostname of the client to be restored
 -d Disk drive entry of the drive where the SEP sesam media is kept, for example, "1"

How do I restore all the data from tape media without the SEP sesam DB?

To restore data without a current license from SEP sesam, follow the restore procedure described below (SESAM DB Restore):

Change to the <SESAM_ROOT>/bin/sesam directory and run the program sm_recover. In the first response, all known devices currently active on the system will be displayed. You can choose one of these drives.

azurix:~ # sm_recover
num device          name            typ
 1  disk1           Drive-1         DISK_HARD
 2  /dev/nst0       Drive-2         DLT
Enter drive number, (r) to repeat list, (q) to quit:

By entering "2", sm_recover will look for the desired data on the physical tape drive. The following question should be answered with yes ("y") if no other backups or restores are active:

Analyse media: restore data or listings of savesets

Restoring data while SEP sesam is active may cause conflicts due to concurrently running tasks on the drive. If you're sure that there are no activities scheduled during recovery, you do not need to block SEP sesam. Blocking SEP sesam during recovery prevents the execution of backup activities scheduled for the other devices.

Do you want to block SEP sesam ? (y|n] >

Confirm by typing "y"

wait until SEPuler - the timecontrol of SEPsesam - finishes its current work ...
SEPuler is blocked ...

The following question should be answered with no ("n") unless you wish the data search to continue with a desired filter.

Do you wish to enter label, saveset-name and segment-number directly ( no searching on media ) (y/n) > n

You will then be notified that the tape is rewinding.

The tape will now rewind and scanned to the end EOT...

In the next response, you may choose the desired savesets. By entering the saveset number, you can insert further instructions to restore the data. After finishing, restart all SEP sesam services, if desired.

How do I restore all the data from a disk/data store media without the SEP sesam DB?

Microsoft Windows:

sbc.exe -r -S $SERVER_HOSTAME -s @SF.....data -v 1 -R c:\target\

Linux:

sbc -r -S $SERVER_HOSTAME -s @SF.....data -v 1 -R /target/

How can I restore a backup that has errors? The backup log file reported that the backup was partially successful.

If a backup has failed but some or most of the data was backed up, you can update the sesam database manually to show the backup in the restore wizard. First, the saveset ID is required. This can be found in the GUI under backups by status-> failed backup> Properties> saveset (p. ..). Next, use the following commands in the command line :

   1 Source the sesam profile from $SESAM_ROOT/var/ini/sesam2000.ini
   2 Modify the entry in the DB. The saveset must be changed below.
   3 sm_db "update results set state= '1',blocks= 1 where saveset= 'SC20060101121314'"

After this change, the saveset for this backup should be show in green on the status display and appear in the recovery wizard. Nevertheless, you should still verify whether the data was backed up successfully.

Why don't the data lists appear in the Restore Wizard?

If the data lists don't appear in the restore wizard, verify whether the CTRLD switch permission is set to <on>, and if not, please activate it.

How do I avoid the problem "553 RETR Failed. Data Synchronization lost - Restore terminating"?

Linux/UNIX data is stored in CPIO saveset which is checked during the restore to ensure that the CPIO format is correct. If a format error is detected, the restore is aborted and ends with

'BSA Call BSAEndData (closing saveset) failed: System detected error, operation aborted.
TRANSIENT or PERMANENT NEGATIVE reply: 553 RETR Failed. Data Synchronization lost - Restore terminating'

The following settings allow you to avoid a premature termination of the restore.

Avoid the current restore task
Enter the sbc option '-F none' to the restore command in the last tab of the 'Restore Wizard' -> 'Expert Options' -> 'Restore Options'
Avoid all further CPIO restores on the RDS
Set the SEP sesam GLBV restore_no_abort at the RDS with 'sm_glbv w restore_no_abort yes'. If the suspicious (non-CPIO) bytes lead to further problems, they can be skipped with 'sm_glbv w restore_no_junk yes'.

How can I Restore Active Directory Subtrees in a Clustered Environment?

  1. Boot into Directory Services Restore Mode. This ensures that the directory is offline. In order to do this during the normal boot menu while restarting the computer, presee F8 when the message "For troubleshooting and advanced startup options for Microsoft Windows 2000, press F8" appears at the bottom of the screen. After pressing F8, select Directory Services Restore Mode from the Safe Mode and Other Startup Options list.
  2. Restore the "System_State" Backup with the SEP sesam GUI.
  3. To authoritatively restore Active Directory data, you need to run the Ntdsutil utility. See the following example (subtree organizational unit Marketing in the domain Anitpodes.com):
    #> ntdsutil
       ntdsutil: authoritative restore
     authoritative restore: restore subtree OU= Marketing,DC= Antipodes,DC= COM

Refer to the Microsoft publication "Windows 2000 Server Disaster Recovery Guidelines-recovery.doc"

Can I use path reduction of a TSA backed up Volume/Directory when restoring data ?

Path relocation has been available as of Sesam Novell Client version 4.2.1-37.

With older versions of the Sesam Novell Client, this functionality is not available when using a TSA backup or restore operation. You must always select "Without Reduction" in "Expert Options" of the Restore Wizard (this is the default value).

Thus, the complete directory structure is re-created to the target directory using the directory from the selected backup. Using the command "Restore to original destination on path", the directory is restored to the original storage space with all of the files.


Novell restore reduction 02 de.png


Is it possible to restore flat files/directories from multiple locations when restoring a TSA backed up file?

This functionality is not possible with TSA backups/restores. You should select "original tree structure" in the Restore Wizard, regardless of whether "original destination path" or a "new restore target" is desired.

Novell restore path 01 de.png

STORAGE, DEVICES AND MEDIA MANAGEMENT

How do I set up automatic Archive adjustment?

  1. Go to Scheduling -> Schedules and create a new schedule. For details, see Creating a schedule.
  2. Link the event to the schedule. For details, see Creating an event. Then enter the following:
Priority:      Standard set to 1.
Name:          Enter a description that is easily recognizable.
Command:       Example for Tape Loader 1, Drive 2 and 10 Slots: sm_robot –l 1 –d 2 –s 0-9
Client:        Choose the desired SEP sesam Server name
User:          For a Unix System enter: root. For Microsoft Windows: system.

Note: No explicit permissions are required for the simple activation of SEP sesam commands.

Does SEP sesam support removable or USB media for backup?

There is limited support for removable disk media, including USB drives.

How can I determine whether a tape is a SEP sesam tape or not?

Place the tape into a drive, select the drive in the GUI under Components -> Drives and execute the Identify label drive action. If the label is found, it will be diplayed under the drive in the Current messages display.

Alternatively, go to the command line, change to the directory <SESAM_ROOT>/bin/sms and execute the following:

Unix

 ./sm_sms_interface getlabel -d /dev/nst0

Microsoft Windows

 sm_sms_interface getlabel -d Tape0

The necessary device (switch -d) can be found in GUI under Components -> Drives.

How can I manually write a label on a tape?

Go to the command line, change to the <SESAM_ROOT>/bin/sms directory and execute the following:

Unix

./sm_sms_interface init -d /dev/(z.B. nst0) -t testpool00001:1

Microsoft Windows

sm_sms_interface init -d Tape0 -t testpool00001:1

Note: The tape will be overwritten without warning!

The media label consists of three parts:

  1. Name of the pool (in the above example, the name is "testpool").
  2. The tape ID, a 5-digit number.
  3. A number after the colon (':') that complies with the preceding number.

How do I automatically remove a tape after a backup is finished?

The best way of removing a tape after a backup is by using the sm_notify interface. You can find a complete description of this command interface with examples of how to unload tapes following backups in the SEP sesam Administration Manual.

The standard unload command is as follows:

sm_drive dismount 2 unload

This command refers to the selected drive, in this case drive 2.

Where do I install the cleaning tape?

Currently, a cleaning tape is not explicitly identified. When selecting an Archive adjustment, the cleaning tape will automatically be loaded in sequence and an unwanted cleaning operation may be initiated. To prevent an unwanted cleaning operation from initiating, select the last (highest numbered) slot for the cleaning tape and reduce the number of slots by one (1).

Cleaning may take place by manually entering the cleaning tape or by following the manufacturer's instructions.

Why does SEP sesam lock tapes that were not involved in a backup?

This is related to FULL->DIFF or FULL->INC->INC->INC-> ... backups.

The following example explains this problem:

  • full backup -> requires three tapes (backup00001, backup00002, backup00003)
  • inc backup -> requires one tape (backup00004)
  • inc backup -> requires one tape (backup00005)
  • inc backup -> requires one tape (backup00006)

The first backup merely changes the EOL (end of lifetime) for the three tapes (backup00001 to backup00003), the second backup changes the EOL for the first four tapes (backup00001 to backup00004) and the third backup changes the EOL for the first five tapes (backup00001 to backup00005), and so on.

If the next full backup fails, the succeeding incremental backup will use the chain from the last successful backup(s) and so the chain expands. This is necessary for a generation restore because an incremental backup includes only the changes from the last backup, regardless of whether it was a full, differential or incremental backup. All tapes are needed to perform a successful restore.

With a differential rather than an incremental backup, SEP sesam locks the tapes from full backup and the tapes that were used by the differential backup.

How do I get information on the oldest tape in a pool before backup starts?

It is sometimes very useful to know which the next free medium in a pool will be before a backup starts. To get this information, type the folowing command:

sm_arch_getoldest 1 full-disk

The command shows the next free medium of pool full-disk in drive 1.

How do I check the consistency of a data store?

The following command allows you to check the consistency of a data store:

sm_data_store check_db -L {datastore} | -d {drive_num}

Example 1: The example shows a data store check that detects 2 save sets with the wrong data file size (sizes smaller than stored in the SEP sesam database). The state of both backup operations is either a fail ('X') or broken data transfer ('3') and the result status is therefore 'SUCCESS'.

#>sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $  Sesam Id: None
2014-08-28 14:39:59: Arguments: sm_data_store check_db -L DATA_STORE2
2014-08-28 14:39:59: DB:               select * from data_stores where name= 'DATA_STORE2'
2014-08-28 14:39:59: DB:               select * from hw_drives where data_store= 'DATA_STORE2' order by drive_num
2014-08-28 14:39:59: DB:               select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
 results.saveset= result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location= 'DATA_STORE2'))
 and results.data_size>0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:               select results.saveset,fdi_type,state,task,sesam_date,cnt,media_pool,results.uuid,data_size from results,result_lbls where
 results.saveset= result_lbls.saveset and results.saveset in (select saveset from result_lbls where label in (select label from media where location= 'DATA_STORE2'))
 and results.data_size= 0 and results.state not in ('a','q') order by start_time
2014-08-28 14:39:59: DB:               select label,pool from media where location= 'DATA_STORE2'
2014-08-28 14:39:59: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 14:40:00: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 14:40:00: ==================================================================================
2014-08-28 14:40:00: Savesets in Sesam DB:          187.
2014-08-28 14:40:00: Saveset files found:           187.
2014-08-28 14:40:00: Saveset in DB and on FS:       187.
2014-08-28 14:40:00: Savesets not found on disk:      0.
2014-08-28 14:40:00: Saveset files not in DB:         0.
2014-08-28 14:40:00: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 14:40:00: 3  SF20140826212205682@gp_o1hNIc8g  miraculix_dev 2014-08-26 00:00:00 4430717952 > 4430686656
2014-08-28 14:40:00: X  SC20140825083202946@iW9ZD7vcSw2  SESAM_BACKUP 2014-08-21 00:00:00 1323736064 > 1323385536
2014-08-28 14:40:00: -------------------- List of savesets without data file --------------------------
2014-08-28 14:40:00: -------------------- List of files without DB entry ------------------------------
2014-08-28 14:40:00: -------------------- List of files without data file -----------------------------
STATUS= SUCCESS MSG= OK

Example 2: A data store check that detects a save set with the wrong data file size and with a successful backup state ('0'). The result status shows 'ERROR'.

G:\DATA_STORE2\DATA_STORE2\DataStore1\DataStore100002>sm_data_store check_db   -L DATA_STORE2
2014-08-28 15:03:05: $Id: sm_data_store.py,v 1.105 2013/08/18 18:06:36 sesam Exp $
2014-08-28 15:03:05: Arguments: sm_data_store check_db -L DATA_STORE2
...
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/DataStore1/DataStore100002"
2014-08-28 15:03:06: Looking for savesets: sm_client dir "G:/DATA_STORE2/DATA_STORE2/I_DS_POOL/I_DS_POOL00001"
2014-08-28 15:03:06: ==================================================================================
2014-08-28 15:03:06: Savesets in Sesam DB:          188.
2014-08-28 15:03:06: Saveset files found:           188.
2014-08-28 15:03:06: Saveset in DB and on FS:       188.
2014-08-28 15:03:06: Savesets not found on disk:      0.
2014-08-28 15:03:06: Saveset files not in DB:         0.
2014-08-28 15:03:06: -------------- List of savesets with wrong data file size ------------------------
2014-08-28 15:03:06: 0! SI20140826150006895@ch-Gdm3Id_6  miraculix_dev 2014-08-26 00:00:00 106962944 > 1274932
2014-08-28 15:03:06: -------------------- List of savesets without data file --------------------------
2014-08-28 15:03:06: -------------------- List of files without DB entry ------------------------------
2014-08-28 15:03:06: -------------------- List of files without data file -----------------------------
2014-08-28 15:03:06: ERROR: File size does not match:        1.
STATUS= ERROR MSG= ERROR: File size does not match: 1.

In this case, the save set is corrupted. You have to determine the reason for the corrupted save set (disk IO problem, file system with limited file size, etc.). To avoid the corrupted save set from being used, its result state must be changed to broken data transfer ('3').

sm_db "update results set state= '3', msg= 'corrupt saveset (size)' where saveset= 'SI20140826150006895@ch-Gdm3Id_6'"

If the data is still available on the backup source, the backup operation must be restarted!

Why can't I find my Exabyte single tape drive in the list of devices when I try to initialize it?

First, inspect the media pool to which you tried to enter the tape drive. If there is no number (0,1,2, etc.) behind 'Tape', the drive was not detected by SEP sesam. You can also check this by entering slu scan on the command line prompt.

If the device is not listed, the driver is not installed correctly. Look for the appropriate driver at the manufacturer's site or elsewhere on the internet, download it to your computer and run the program to install the driver. The media pool should now show the Tape (0). Finally, initialize the tapes. For details, see Media Strategy.

Why do I get the error message skipping blocks when I try to perform a SEP sesam backup with an Exabyte VXA172?

Some manufacturers often require a different driver for each tape model they manufacture. In this case, the VXA tape you initialized is not recognized by SEP sesam in the Exabyte tape drive. Go to the tape type selection in the GUI and change [VXA] to [EXA]. This will fix the problem.

Why does SEP sesam not write to my LTO drive on my x86 system?

The OS enables PAE (Physical Address Extension) automatically on x86 systems if more than 3.25GB RAM are in use. With PAE, the OS cannot write more than 32KB to a tape drive whereas SEP sesam needs 64KB for LTO. The most efficient solution is to switch to an x64 OS. Decreasing the RAM to a maximum of 3.25GB should also solve the problem. Additional information can be found at Microsoft support site.

NOTIFICATIONS AND LOGGING

What does the notification "Disk space for listings and logging below critical threshold" mean?

In the NEWDAY task, SEP sesam Server checks the free disk space on the partition where the log files and listings are stored.

<SESAM_ROOT>\var\log
<SESAM_ROOT>\var\lis

If free space falls below the critical threshold value, the server sends an email notification.

The threshold value (default = 5000, 5000MB) can be configured in sm.ini under the [Params] section <SESAM_ROOT>\var\ini\sm.ini.

[Params]
gv_min_free= 5000
ATTENTION:

If there is no more disk space available on the partition, the server cannot write additional logs and listings. This can result in critical errors and lead to data loss. This error should be addressed at the earliest possible opportunity.

How do I set a higher logging level?

Sometimes a backup must be performed with a higher logging level to provide support engineers and developers with more detailed information.

Log level can be set separately for backup and restore.

Backup log level

The backup log level can be set in the properties of the backup task. Double-click the backup task and select the Options tab. Loook for the additional call arguments fields. The log levels are as follows:

0= ERROR
1= EMERGENCY
2= WARNING
3= NOTICE
4= INFO
5= DEBUG
6= TRACE

Set the log level as shown in the image below:

Loglevel sbc.jpg

Restore log level

The restore log level can be set in the last step of the restore wizard by clicking the Expert options obutton, as shown in the image below:

Loglevel restore.jpg

Why do the request status or daily protocol (log files) return "Host SEPsesam is not allowed to connect or security problem for user"?

Typically, there is an issue with client's access privileges. The error message reads:

scd-1136: Error: Host [{SEPsesam}] is not allowed to connect or security problem for user: [{user}].

There is a problem with the RMI GUI Server on the SEP sesam Server. The system requires CTRL or SMSSH privileges to complete the SEP sesam commands. Add the SEP sesam server to the backup client in order to give it access permissions.

Execute the following command at the client:

 sm_setup set_client <SEP sesam server hostname>

For example, if the SEP sesam Server hostname is backup01:

  • On Microsoft Windows, in the directory C:\Program Files\SEPsesam\bin\sesam, call:
 sm_setup set_client backup01
  • On Linux, call:
 /opt/sesam/bin/sesam/sm_setup set_client backup01

REPORTING

Can special reports be generated for backups, backup time, performed restores, etc.?

Yes. Special scripts can be written and inserted for the execution of both pre- and post-operations using the commands execute_pre or execute_post. Due to stringent EU requirements for reporting, data security and data restore, many required reports may already be included without additional administrator intervention.

I would like to generate both summary and detailed reports for backups. Does SEP sesam provide this extra granularity?

SEP sesam provides both a summary of and detailed information on every backup executed. In addition, the system can send a summary report over the SEP sesam notify interface to an email account after finishing the last backup. SEP sesam summarizes the backup information on a daily basis. The time schedule and sequence can be selected by the user or system manager and may be set to any 24-hour period. For example, if you specify a backup time of Monday 11 p.m. to 8 a.m. on Tuesday, all backups performed within this window will be recorded as Monday.

How can I send a SEP sesam daily protocol to an email account?

We recommend that you configure support accounts and use sm_notify templates from

{sesam_Root}\skel\templates\sm_notify.cmd

or

{sesam_Root}/skel/templates/sm_notify

Copy the templates to:

{sesam_Root}/bin/sesam

and modify them as necessary, especially in the line:

sm_smtp -A sesam -M gv_dayfile: -a gv_prot: -s "Sesam backup status: "+%1+" "+%2+

""A"" {account} must be changed to the email account that was configured with the GUI.

After the execution of the last backup or command event, the sm_notify interface is called with the module "ALL_JOBS_DONE" and the SEP sesam daily protocol will be sent to the specified email account.