Quantcast
Channel: Micro Focus Forums
Viewing all articles
Browse latest Browse all 11924

zman database-backup error 128 - backup directory

$
0
0
hi all

i try to create a backup Job on the zenworks 11.2.3 vmware appliance, with this command:
zman database-backup /var/opt/novell/zenworks/backup /var/opt/novell/zenworks/backup/backup.sql -d SQL_function_call

but i always get this error, path does exist, i dont know what is wrong in this command:

Code:

ZEN01:~ # zman database-backup /var/opt/novell/zenworks/backup /var/opt/novell/zenworks/backup/backup.sql -d SQL_function_call

The following SQL statement is to be executed against the database:
CREATE EVENT ZENDBBackup
SCHEDULE
START TIME '11:00 PM' EVERY 24 HOURS
HANDLER
BEGIN
DECLARE backupDir varchar(256);
DECLARE backup_stmt varchar(512);
SET backupDir = SQL_function_call;
SET backup_stmt = 'BACKUP DATABASE DIRECTORY '|| '''/var/opt/novell/zenworks/backup/' || backupDir || ''''|| ' TRANSACTION LOG TRUNCATE';
EXECUTE IMMEDIATE backup_stmt;
END;


Error:An SQL exception has occurred. Please see the zman log for full stack trace. Probable cause: The backup directory specified is a network location or the parent directory of the backup directory does not exist. For information on how to back up to a network location see Novell ZENworks 11 Configuration Management Documentation.


ERROR: 128

can someone help me?

greetz
franco

Viewing all articles
Browse latest Browse all 11924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>