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