Product Documentation

FairCom DB V12 Release Notes

Previous Topic

Next Topic

Immediate restore - Fixed incorrect parsing of local directory name from script name command-line option

When a dynamic dump script used the immediate restore feature and specified a relative path to the dump stream file, the immediate restore could fail with the error message "Could not set current directory to <directory>." (Use the !IMMEDIATE_RESTORE_LOGFILE dump script option to log ctrdmp immediate restore output to the specified log file.)

This was caused by improperly parsing the server's local directory from the script name specified in the command line arguments, causing the wrong directory name to be used for the dump restore.

The logic has been corrected so the server now passes a new command line option, -L <local_directory>, to the ctrdmp utility.

Workaround: Use a full path instead for a relative path for the !DUMP option in the dump script.

Compatibility Note: A server that uses the -L option requires a ctrdmp utility that supports that option. Otherwise, the immediate restore fails.

Affected Components: c-tree Server, ctrdmp utility

TOCIndex