First, definitely possible and easy to do. But understandable that MACH1.rep2 doesn't exist as it is presumably not a valid hostname and hence not pingable.
Instead, just create a config file in your CONFIGDIR/pc for the new backup name 'MACH.rep2' -- in that file: - Add: $Conf{ClientNameAlias} = 'MACH'; - Add the desired different backup frequency and expiry. Second, you don't even need to have a separate RsyncShareName as they presumably are backing up the same stuff, right. Third, not clear that you need to have separate backup hosts to accomplish what you are trying to do -- you should be able to do something quite similar by cleverly configuring the exponential delivery to give you the right combination of retained recent vs. more distant backups. This will be faster and cleaner than your kludge. Also, incrementals generally take up only minimally more space than what you seem to be calling "total" -- as the amount of file data stored is unchanged. Just that there is more repeated metadata when using filled vs. unfilled backups -- and that filled+full backups are slower than incremental+unfilled. Suggest you read up on that to understand the subtleties. Finally, if you really do want separate backup hosts, then would be much better to either archive the old backups or better yet, have a second independent backuppc server. There is no real redundancy with your method (other than the metadata attrib files & tree) n r wrote at about 10:10:31 +0000 on Wednesday, November 30, 2022: > Hi, > > is it possible to have 2 backup strategies with backuppc for the same host? > > let me explain, on the same host, I have 2 spaces to save /rep1 and /rep2 > /rep1: is not large > /rep2: bulky and does not move too much > > I would like to save by exp : > /rep1: total backup once a month, I keep 2 totals, I keep 90 days. For > Incrementals; I keep them for a month > /rep2: total backup once every 4 months, I keep 2 totals, I keep 1 year. > For incremental once every 15 days, I keep 1 month > I am in version 4 of backuppc > I added MACH = machine and configured backup for /rep1 > I added in the file /etc/backuppc/hosts, the following line: > MACH 0 backuppc > MACH.rep2 0 backuppc > > I configured by GUI for MACH.rep2, RsyncShareName = /rep2 > > I tried to run a backup for host MACH1.rep2, i have an error message: > "error: Backup number for host MACH1.rep2 does not exist" > > Thanks in advance for the help > > ________________________________ > De : n r <yn...@hotmail.com> > Envoyé : mercredi 30 novembre 2022 09:46 > À : backuppc-users@lists.sourceforge.net > <backuppc-users@lists.sourceforge.net> > Objet : [BackupPC-users] how to make 2 backup configurations for the same > host > > Hi, > > is it possible to have 2 backup strategies with backuppc for the same host? > > let me explain, on the same host, I have 2 spaces to save /rep1 and /rep2 > /rep1: is not large > /rep2: bulky and does not move too much > > I would like to save by exp : > /rep1: total backup once a month, I keep 2 totals, I keep 90 days. For > Incrementals; I keep them for a month > /rep2: total backup once every 4 months, I keep 2 totals, I keep 1 year. > For incremental once every 15 days, I keep 1 month > I am in version 4 of backuppc > I added MACH = machine and configured backup for /rep1 > I added in the file /etc/backuppc/hosts, the following line: > MACH 0 backuppc > MACH.rep2 0 backuppc > > I configured by GUI for MACH.rep2, RsyncShareName = /rep2 > > I tried to run a backup for host MACH1.rep2, i have an error message: > "error: Backup number for host MACH1.rep1 does not exist" > > Thanks in advance for the help > > > _______________________________________________ > 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/