Several possibilities: 1. Use a link to a single config file in your /etc/backuppc/pc directory. e.g., pc1a.pl --> group1.pl pc1b.pl --> group1.pl pc1c.pl --> group1.pl
2. Use Perl code like: my $hostname = $_[1]; if($hostname =~ /^(pc1a|pc1b|pc1c)$/) { #Group 1 configs ... }elsif($hostname =~ /^(pc2a|pc2b|pc2c$/) { #Group2 configs ... }else { #Default ... } Christian Völker via BackupPC-users wrote at about 08:14:47 +0200 on Monday, October 7, 2024: > Hi all, > > using BackupPC since almost a decade now and it is really great! > One thing I am currently missing is the possibility to group hosts. Why > am I asking for? > > I have some hosts which are all eaqual systems (ie all MacOS) and even > share a common name (start all with mac*). But these are all hosts which > are not 24/7 online. > On the other side I have hosts which are 24/7 online and prefer them to > be backed up during night time > My configuration is therefore global: > $Conf{WakeupSchedule} = [ 5,6,7,8,9,13,14,15,16,17,18,19,20,23,1,2,3,4]; > > I know I can overwrite the above setting per host. But this means I have > to do it on all hosts manually. > > It would be easier to maintain if I put them all into a group which > overwrites the global settings. And, of course, the local settings of > these hosts should overwrite group settings... > > I guess it is not possible, but is there some development to get this? > > Thank& Greetings > > /Christian > > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/