Handle hostnames with upper-case letters
[webmin.git] / logrotate / backup_config.pl
1
2 do 'logrotate-lib.pl';
3
4 # backup_config_files()
5 # Returns files and directories that can be backed up
6 sub backup_config_files
7 {
8 local $conf = &get_config();
9 return &unique(map { $_->{'file'} } @$conf);
10 }
11
12 # pre_backup(&files)
13 # Called before the files are actually read
14 sub pre_backup
15 {
16 return undef;
17 }
18
19 # post_backup(&files)
20 # Called after the files are actually read
21 sub post_backup
22 {
23 return undef;
24 }
25
26 # pre_restore(&files)
27 # Called before the files are restored from a backup
28 sub pre_restore
29 {
30 return undef;
31 }
32
33 # post_restore(&files)
34 # Called after the files are restored from a backup
35 sub post_restore
36 {
37 return undef;
38 }
39
40 1;
41