334
ZENworks 10 Configuration Management System Administration Reference
n
ov
do
cx (e
n)
16
Ap
ril 20
10
36.2 Database Tips
Section 36.2.1, “Changing the Backup Location and Schedule of the Embedded Sybase
Database Subsequent to the Initial Backup,” on page 334
Section 36.2.2, “Changing the Backup Schedule and Location of the External Sybase Database
Subsequent to the Initial Backup,” on page 335
36.2.1 Changing the Backup Location and Schedule of the
Embedded Sybase Database Subsequent to the Initial Backup
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
Changing the Backup Location of the Embedded Sybase SQL Anywhere Database
Subsequent to the Initial Backup
To change the backup location of the embedded Sybase SQL Anywhere database subsequent to its
initial backup:
1
Delete the existing database backup schedule by executing the following command at the
Primary Server command prompt:
zman db
current_database_backup_location
DropSchedule.sql
Dropschedule.sql
is located by default in the
ZENworks_Installation_directory:\Novell\Zenworks\share\zman\samples\datab
ase
directory on a Windows server, and in the
/opt/novell/zenworks/share/zman/
samples/database
directory on a Linux server.
2
Enter the following command to back up the database to a new location:
zman database-backup
complete_path_of_the_new_database_backup_directory
complete_path_of_the_database_backup_schedule_file
-d
SQL_function_call
For example, to back up the database to the
c:\dbbackup\newdbbackups
directory on a
Windows server according to the database backup schedule specified in the
c:\backUpschedule.sql
, enter the following command:
zman database-backup c:\dbbackup\newdbbackups c:\backUpSchedule.sql -d
SQL_function_call
For more information about this 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
.