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