3 &foreign_require("firewall", "backup_config.pl");
5 &foreign_require($syslog_module, "backup_config.pl");
8 # backup_config_files()
9 # Returns files and directories that can be backed up
10 sub backup_config_files
12 # Just backup syslog and firewall
13 return ( &firewall::backup_config_files(),
14 $syslog_module ? &foreign_call($syslog_module, "backup_config_files")
19 # Called before the files are actually read
22 return &firewall::pre_backup() &&
23 ($syslog_module ? &foreign_call($syslog_module, "pre_backup") : 1);
27 # Called after the files are actually read
30 return &firewall::post_backup() &&
31 ($syslog_module ? &foreign_call($syslog_module, "post_backup") : 1);
35 # Called before the files are restored from a backup
38 return &firewall::pre_restore() &&
39 ($syslog_module ? &foreign_call($syslog_module, "pre_restore") : 1);
42 # post_restore(&files)
43 # Called after the files are restored from a backup
46 return &firewall::post_restore() &&
47 ($syslog_module ? &foreign_call($syslog_module, "post_restore") : 1);