Handle hostnames with upper-case letters
[webmin.git] / time / backup_config.pl
1
2 do 'time-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 @rv;
9 if (defined(&timezone_files)) {
10         push(@rv, &timezone_files());
11         }
12 push(@rv, $module_config_file);
13 return @rv;
14 }
15
16 # pre_backup(&files)
17 # Called before the files are actually read
18 sub pre_backup
19 {
20 return undef;
21 }
22
23 # post_backup(&files)
24 # Called after the files are actually read
25 sub post_backup
26 {
27 return undef;
28 }
29
30 # pre_restore(&files)
31 # Called before the files are restored from a backup
32 sub pre_restore
33 {
34 return undef;
35 }
36
37 # post_restore(&files)
38 # Called after the files are restored from a backup
39 sub post_restore
40 {
41 return undef;
42 }
43
44 1;
45