120
ZENworks 10 Configuration Management System Administration Reference
n
ov
do
cx (e
n)
16
Ap
ril 20
10
or
zman zenserver-backup /root/zcm_backups/zone_backup.bak
3
When prompted, enter a ZENworks administrator name and password.
4
When prompted, enter a passphrase (at least 10 characters) to be used for encrypting the backup
file.
Make sure you remember this passphrase. You must enter it if you ever need to restore the
server.
5
(Conditional) If this is your only Primary Server, or if this is the only Primary Server that
contains all content defined in your Management Zone, manually back up your content
repository to a safe location.
For information on the content repository, see
Chapter 28, “Content Repository,” on page 237
.
IMPORTANT:
If this is the only Primary Server that contains all of your defined content for
the Management Zone and you do not back up the content repository, you are not prepared for
a full disaster recovery.
6
Repeat
Step 1
and
Step 5
on a regular basis.
The zman command documented in
Step 2
through
Step 4
only needs to be run once.
10.2 Restoring a ZENworks Server
This procedure assumes the following:
You have a backup of the ZENworks Server’s configuration information. See
Section 10.1,
“Backing Up a ZENworks Server,” on page 119
.
If the ZENworks database resides on the ZENworks Server, you have a backup of the database.
See
Section 34.3, “Backing Up the Embedded Sybase SQL Anywhere Database,” on page 295
.
The bundles and policies that are stored on the ZENworks Server have been replicated to other
ZENworks Servers. If not, distribution of a policy or bundle from the restored ZENworks
Server fails.
The image files that are stored on the ZENworks Server are available on another ZENworks
Server. If not, distribution of the image files from the restored ZENworks Server will fail.
IMPORTANT:
When you restore the ZENworks Server and the database, you must first restore the
ZENworks Server, then continue with restoring the latest backed-up ZENworks database.
To restore a ZENworks server:
1
Reinstall the ZENworks Server, using the same IP address and DNS name.
If you do not use the same IP address and DNS name, any devices that connect to the server
need to reregister.
If you have only one Primary Server connected to an external database in a zone, reinstall the
Primary server and create a dummy database during the installation. You do not need to create
an internal database.
If you have more than one Primary server connected to an external database in a zone, reinstall
the failed Primary server as a second Primary Server. You are not prompted to configure the
database during the installation.