Files
webmin/fail2ban/backup_config.pl
2014-07-06 08:33:53 -07:00

45 lines
668 B
Perl
Executable File

use strict;
use warnings;
do 'fail2ban-lib.pl';
our ($config_directory, %gconfig);
# backup_config_files()
# Returns files and directories that can be backed up
sub backup_config_files
{
return &list_all_config_files();
}
# pre_backup(&files)
# Called before the files are actually read
sub pre_backup
{
return undef;
}
# post_backup(&files)
# Called after the files are actually read
sub post_backup
{
return undef;
}
# pre_restore(&files)
# Called before the files are restored from a backup
sub pre_restore
{
return undef;
}
# post_restore(&files)
# Called after the files are restored from a backup
sub post_restore
{
# XXX apply config
return undef;
}
1;