4 # backup_config_files()
5 # Returns files and directories that can be backed up
6 sub backup_config_files
10 # Add main config file
11 local $conf = &get_config();
12 push(@rv, $config{'majordomo_cf'});
16 foreach $list (&list_lists($conf)) {
17 local $linfo = &get_list($list, $conf);
18 push(@rv, $linfo->{'members'});
19 push(@rv, $linfo->{'config'});
20 push(@rv, $linfo->{'info'});
21 push(@rv, $linfo->{'intro'});
25 local $afiles = &get_aliases_file();
32 # Called before the files are actually read
39 # Called after the files are actually read
46 # Called before the files are restored from a backup
52 # post_restore(&files)
53 # Called after the files are restored from a backup