322
ZENworks 10 Configuration Management System Administration Reference
n
ov
do
cx (e
n)
16
Ap
ril 20
10
If you want to change the database backup location or the backup schedule at a later time, see
Section 36.2.2, “Changing the Backup Schedule and Location of the External Sybase Database
Subsequent to the Initial Backup,” on page 335
.
35.2 Restoring the External Sybase Database
IMPORTANT:
If the database is located on a ZENworks Server, you must first restore the
ZENworks Server, then restore the ZENworks database. Ensure that you have backed up the
ZENworks Server and the database (at least once). You can also back up the ZENworks database on
a regular basis. However, you can back up the server and the database in any order. For more
information about backing up and restoring the ZENworks Server, see
Chapter 10, “Backing Up and
Restoring the ZENworks Server and Certificate Authority,” on page 119
.
You can choose to restore the backed-up external Sybase database (Remote OEM Sybase or Remote
Sybase SQL Anywhere) on the same device that has database server installed or to a different
device.
To restore the backed-up external Sybase database:
1
Stop the Novell ZENworks Embedded Datastore service on the database server on which you
want to restore the backed-up database. If you choose to restore the backed-up database on a
different device, you must stop the service on that device as well as on the database server.
On Windows:
Do the following:
1. From the Windows desktop
Start
menu, click
Settings
>
Control Panel
.
2. Double-click
Administrative Tools
>
Services
.
3. Right-click the
Novell ZENworks Embedded Datastore
service, then click
Stop
, or
select the
Novell ZENworks Embedded Datastore
service, then click on the toolbar.
On Linux:
At the console prompt, enter
/etc/init.d/./sybase-asa stop
.
2
Stop the ZENworks Server service on the Primary Server to which the database is registered.
On Windows:
Do the following:
1. From the Windows desktop
Start
menu, click
Settings
>
Control Panel
.
2. Double-click
Administrative Tools
>
Services
.
3. Right-click the
Novell ZENworks Server
service, then click
Stop
, or select the
Novell
ZENworks Server
service, then click on the toolbar.
On Linux:
At the console prompt, enter
/etc/init.d/./novell-zenserver stop
.
3
Copy the following files from the device where the external Sybase database is backed up to
the device on which you want to restore the external Sybase database:
zenworks_
zone_name
.db
zenworks_
zone_name
.log
By default, the files must be copied to the
ZENworks_Installation_directory:
\Novell\Zenworks\Database
on a Windows
Sybase database server, and to the
/var/opt/novell/zenworks/database/
on a Linux
Sybase database server.