Previous Topic

Next Topic

Dynamic Dump Includes Matching Filenames with Wildcards and LOCAL_DIRECTORY Configuration Keyword

On Unix systems, when the c-tree Server’s dynamic dump script contains a filename with a relative path and wildcards in the filename, and the c-tree Server is configured to use the LOCAL_DIRECTORY keyword, the dynamic dump did not find files matching the wildcard specification.

For example, if using LOCAL_DIRECTORY data/, and the file data/accounts/acc01.dat exists, and the dump script specifies the filename accounts/acc01.*, the dynamic dump did not back up the file data/accounts/acc01.dat. If the file was data/acc01.dat and the script specifies acc01.*, the dynamic dump did back up the file.

The function used to find files matching a wildcard specification on Unix systems failed to properly prepend the LOCAL_DIRECTORY path when specified. The function only prepended the local directory name when the filename did not include a path.

The function was corrected to prepend the LOCAL_DIRECTORY directory name to the filename regardless of whether the filename contains a path.