Stop the ZENworks services on other ZENworks Servers in the Management Zone. For more information, see Step 2.a in the Backing Up the Embedded Sybase SQL Anywhere Database on a Windows or Linux Server.
Log into the ZENworks server as root.
Change to /opt/novell/zenworks/bin, and enter the following command:
./ZenworksLinuxDBRestore.sh -F "/root/dbBackup/zenworks_zone_name.db"
NOTE:For the Audit database, change to /opt/novell/zenworks/bin, and enter the following command:
./ZenworksLinuxDBRestore.sh -F "/root/dbBackup/zen_audit_zone_name.db"
Enter Y when the following message is displayed:
The backup database file will OVERWRITE the existing database. Is that OK? [y/n]
Enter Y when the following message is displayed:
The novell-zenmntr needs to be stopped for the database restore to be performed. Would you like to proceed [y/n]?
Enter Y when the following message is displayed:
The novell-zenserver needs to be stopped for the database restore to be performed. Would you like to proceed [y/n]?
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.
Start the ZENworks services on other ZENworks Servers in the Management Zone. For more information, see Step 2.c in the Backing Up the Embedded Sybase SQL Anywhere Database on a Windows or Linux Server.