CreateOptions.addBackupHookFile

void addBackupHookFile(string pattern) @safe

Adds a file pattern to the backup hook mask.

Files matching ANY pattern in the mask will trigger the hook command execution. Patterns are glob-style (e.g., ".db", "/var/lib/mysql/"). If no patterns are added, no files will trigger hooks.

Parameters

patternglob pattern for files that should trigger the hook