298
ZENworks 10 Configuration Management System Administration Reference
n
ov
do
cx (e
n)
16
Ap
ril 20
10
SCHEDULE
START TIME '11:00 PM' EVERY 24 HOURS
A sample schedule file to back up the database at 1:00 a.m on the first, second, third, and
fourth day of the month is as follows:
CREATE EVENT ZENDBBackup1
SCHEDULE
START TIME '1:00 AM'
ON (1,2,3,4)
Sample schedule files are available in the
ZENworks_Installation_directory
\Novell\Zenworks\
share\zman\samples\database
directory.
4b
Execute the following command at the command prompt:
zman database-backup
\\
IP_address_of_the_remote_machine
\
backup_directory
\
custom_directory
c:\backUpSchedule.sql -d
SQL_function_call
Where
\\
IP_address_of_the_remote_machine
\
backup_directory
is the network
location on the remote machine and
custom_directory_name
is a name that you specify
for a directory to be newly created by zman and into which the database files are to be
backed up.
For more information about the command, view the zman man page (man zman) on the
device, or see
zman(1)
in the
ZENworks 10 Configuration Management Command Line
Utilities Reference
.
According to the backup schedule,
zenworks_
zone_name
.db
and
zenworks_
zone_name
.log
are
created in the network location on the remote machine. The backed-up database is stored in
zenworks_
zone_name
.db
. The result of the database backup is logged in
zenworks_
zone_name
.log
.
If you want to change the database backup location or the backup schedule at a later time, review the
following sections:
“Changing the Backup Location of the Embedded Sybase SQL Anywhere Database
Subsequent to the Initial Backup” on page 334
“Changing the Backup Schedule of the Embedded Sybase SQL Anywhere Database
Subsequent to the Initial Backup” on page 335