Resolving Grayed-Out 'Restore' Menu in SIMATIC BATCH Control Center (BatchCC)

Resolving Grayed-Out 'Restore' Menu in SIMATIC BATCH Control Center (BatchCC)

The 'Restore' (Retrieve) function in SIMATIC BATCH Control Center (BatchCC -> Extras -> Restore) is deliberately grayed out whenever a process cell already exists in the active BATCH database. By product design, SIMATIC BATCH only allows restoring a backup archive (.sbb file) into an empty or uninitialized database to prevent accidental overwriting of active production data. To restore a batch archive: first close and archive all active batches, remove the existing process cell in BatchCC, or use the SIMATIC BATCH Database Setup tool to clear and reinitialize an empty database. Once the database is completely empty, the Restore menu item automatically unlocks. Additionally, do not pre-configure SIMATIC Logon user roles, as the restore file will overwrite them.

Table of Contents

Executive Summary

During disaster recovery, plant migrations, or commissioning of backup servers in SIMATIC BATCH environments, engineers frequently need to restore complete batch configurations from a previously exported backup archive (.sbb file). However, upon opening SIMATIC BATCH Control Center (BatchCC) and navigating to Extras -> Restore, engineers discover that the Restore command is permanently disabled (grayed out). Operating personnel frequently suspect user authorization defects or license restrictions. This article clarifies the manufacturer database safety rules governing batch restorations, explains process cell dependency mechanics, and provides step-by-step instructions to safely restore batch data.

Architecture and Fundamental Mechanics

SIMATIC BATCH Database Architecture and Restore Safeguard Mechanics:

  • The Empty Database Prerequisite:
  • SIMATIC BATCH maintains its master recipes, equipment models, user credentials, and active batch orders in dedicated Microsoft SQL Server databases (BATCH_CDV, BATCH_ARCH, and SB_Master).
  • A .sbb file (SIMATIC BATCH Backup) is a complete, compressed binary snapshot of the batch database system.
  • Restoring an .sbb file does not perform an incremental merge; it executes a complete drop-and-replace of all relational database tables.
  • Core Product Rule: To prevent catastrophic loss of active plant recipes or running production batches through accidental operator clicks, BatchCC strictly permits restoring .sbb files only when the database contains no existing process cell. If a process cell object is present in the BatchCC project tree, the Restore menu is automatically disabled at the GUI level.

  • SIMATIC Logon Role Overwrite Behavior:

  • An .sbb archive contains not only recipe structures but also the complete security configuration, including SIMATIC Logon role-to-group mappings and electronic signature policies captured at the time of backup.
  • If an engineer manually configures Windows users and roles in SIMATIC Logon before restoring, the restoration process completely overwrites these local role assignments with the historical mappings stored inside the .sbb file.

Step-by-Step Implementation Procedure

  1. Verify Archive File Compatibility and Prerequisites:
    * Confirm that the .sbb file was generated from the current or an older supported version of SIMATIC BATCH (restoring newer version archives onto older BATCH software is not supported).
    * Ensure that the SIMATIC BATCH Server services are running and that Automation License Manager contains valid SIMATIC BATCH licenses.

  2. Method A: Deleting the Existing Process Cell in BatchCC:
    * In BatchCC, verify that no batches are currently running or allocated to equipment.
    * Archive and close all completed and aborted batches.
    * In the BatchCC project navigation tree, right-click the root Process Cell object and select Delete.
    * Confirm all warning prompts. Once deleted, the project tree is completely empty.
    * Navigate to Extras -> Restore. The menu command is now fully active.

  3. Method B: Initializing an Empty BATCH Database via Database Setup:
    * If the process cell cannot be deleted due to database locks or corrupted records:
    * Close BatchCC and stop SIMATIC BATCH runtime services.
    * In the Windows Start menu, navigate to Siemens SIMATIC -> BATCH -> Database Setup.
    * Select the option to initialize/recreate a fresh, empty SIMATIC BATCH database.
    * Complete the setup wizard and restart the SIMATIC BATCH Server.

  4. Execute the Restore Procedure in BatchCC:
    * Launch BatchCC.
    * Navigate to Extras -> Restore.
    * In the file selection dialog, browse to the target .sbb backup archive file.
    * Click Open to initiate database decompression and table restoration.
    * Wait for the progress bar to complete and confirm the success dialog.

  5. Reconnect SIMATIC Logon Roles and Update Process Cell:
    * Once restoration finishes, open Extras -> User Permissions and verify SIMATIC Logon role assignments.
    * Perform Update Process Cell to ensure AS block interfaces match the restored recipe database.

Verification

Verify Successful Batch Database Restoration:
1. In BatchCC, confirm that the restored process cell, master recipes, and recipe operations appear in the tree.
2. Open a restored master recipe; verify that recipe steps, transitions, and parameters match expected configurations.
3. Verify that Extras -> User Permissions displays active user roles without permission errors.
4. Perform a test recipe validation (Recipe -> Validate) to confirm 0 database consistency errors.

Limitations and Operational Precautions

Operational Precautions and Security Boundaries:
- Never attempt to restore a .sbb database while controllers are running active batches; the restored database will have desynchronized Batch IDs (BA_ID), causing phase communication rejections in the AS.
- Restoring an archive overwrites all electronic batch records created after the archive date; ensure active historical records are exported to long-term storage before restoring.

Engineer FAQ

Why is 'Extras -> Restore' grayed out in BatchCC?

The Restore menu is disabled because a process cell already exists in the active BATCH database. BatchCC only allows restoring .sbb files into an empty database to protect active plant data.

What file format does SIMATIC BATCH use for complete backups?

SIMATIC BATCH uses the .sbb (SIMATIC BATCH Backup) compressed file archive.

Do I need special user permissions to restore an archive?

No specific BATCH user role is needed because an empty database has no user constraints; however, administrative rights on the local Windows PC are required to execute database operations.

What happens to existing SIMATIC Logon roles when restoring an archive?

All existing local SIMATIC Logon role assignments are completely overwritten by the user permissions and roles stored in the .sbb archive file.

Can I restore a PCS 7 V9.1 batch archive onto a PCS 7 V9.0 system?

No. SIMATIC BATCH only supports restoring archives from the same version or migrating forward from older versions; restoring backward to an older version is unsupported.

Technical References

Related Articles

Related Tags

  • SIMATIC BATCH
  • BatchCC
  • Restore
  • SBB File
  • Database Setup
  • Process Cell
  • Disaster Recovery
  • PCS 7 V9.0
20 respuestas