4.2 Restoring the Embedded Sybase SQL Anywhere Database on a Linux Server

  1. Stop the ZENworks Services on other ZENworks Servers in the Management Zone. For more information, see Step 2.a in the Section 3.1, Backing Up the Embedded Sybase SQL Anywhere Database on a Windows or Linux Server.

  2. Log into the ZENworks server as root.

  3. Change to /opt/novell/zenworks/bin, and enter the following command:

    ./ZenworksLinuxDBRestore.sh -F "/root/dbBackup/zenworks_zone_name.db"

  4. Enter Y when the following message is displayed:

    The backup database file will OVERWRITE the existing database. Is that OK? [y/n]
    
  5. Enter Y when the following message is displayed:

    The novell-zenloader needs to be stopped for the database restore to be performed. Would you like to proceed [y/n]?
    

    The backup file is copied to /var/opt/novell/zenworks/database, and the restore log file to /var/opt/novell/log/zenworks/dbrestore.log. The database is restored.

  6. Start the ZENworks Services on other ZENworks Servers in the Management Zone. For more information, see Step 2.c in the Section 3.1, Backing Up the Embedded Sybase SQL Anywhere Database on a Windows or Linux Server.