2 Decide whether you want to immediately back up the external Sybase database or to schedule
the backup to run at a specific time. To immediately back up the database, continue with
Step
2a. To schedule the backup to run at a specific time, skip to
2a To immediately back up the embedded Sybase SQL Anywhere database to a directory on
the database server, specify the following query in the SQL Statements section:
BACKUP DATABASE DIRECTORY
'complete_path_of_the_backup_directory_on_database_server' TRANSACTION
LOG TRUNCATE
If you want to back up the database to a directory on Windows, you must use \\ (double
backslash) as the delimiter while specifying the database backup directory path.
Examples:
You must manually archive the complete path of the database backup location that you
specify in the query because you need to specify it when you want to change the database
backup location at a later time.
2b Click Execute SQL Statement(s).
3 To schedule the backup to run at a specific time every day or on specific days of a month:
1. Execute the following query by specifying it in the SQL Statements section
CREATE EVENT backup_schedule_name
SCHEDULE
START TIME specify_the_schedule
HANDLER
BEGIN
BACKUP DATABASE DIRECTORY
'complete_path_of_the_backup_directory_on_database_server'
TRANSACTION LOG TRUNCATE
END;
2. Click Execute SQL Statement(s).
While creating a database backup event, use the following guidelines:
314 ZENworks 10 Configuration Management System Administration Reference
On Windows: To back up the database to the
following query:
BACKUP DATABASE DIRECTORY 'c:\\dbbackup' TRANSACTION LOG TRUNCATE
On Linux: To back up the database to the
following query:
BACKUP DATABASE DIRECTORY '/root/dbBackup' TRANSACTION LOG
TRUNCATE
The backup schedule name must be unique.
If you want to back up the database to a directory on Windows, you must use \\
(double backslash) as the delimiter while specifying the database backup directory
path. For example,
c:\\dbbackup
You must manually archive the backup schedule that you specify in the query
because you need to specify it when you want to change the database schedule at a
later time.
Step
c:\dbbackup
/root/dbBackup
.
3.
directory, execute the
directory, execute the
Need help?
Do you have a question about the ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - SYSTEM ADMINISTRATION REFERENCE 10.3 16-04-2010 and is the answer not in the manual?
Questions and answers