Hi Jörg,

I tried the suggested always incremental since it looks very promising.  Some 
config/questions:

Storage {
        Name = vps52371-incr
        Device = vps52371-incr                                                  
                                # bareos-sd Device
        Media Type = vps52371
        Address = backups.hosted-power.com                                      
                        # backup server fqdn > sent to client sd
        Maximum Concurrent Jobs = 1                                             
                                # required for virtual full
    # @/etc/bareos/storage-defaults.conf
}

Storage {
        Name = vps52371-cons
        Device = vps52371-cons                                                  
                                # bareos-sd Device
        Media Type = vps52371
        Address = backups.hosted-power.com                                      
                        # backup server fqdn > sent to client sd
        Maximum Concurrent Jobs = 1                                             
                                # required for virtual full
    # @/etc/bareos/storage-defaults.conf
}


Pool {
        Name = vps52371-incr
        Pool Type = Backup
        Storage = vps52371-incr
        LabelFormat = "vol-incr-"
        Maximum Volume Jobs = 1                                                 
        # a new file for each backup that is done
        Recycle = yes                                                   # 
Bareos can automatically recycle Volumes 
        Auto Prune = no                                                         
# Don’t prune jobs from the volume. Let this be done by Consolidate. 
        Next Pool = vps52371-cons
        Volume Use Duration = 23h 
}

Pool {
        Name = vps52371-cons
        Pool Type = Backup
        Storage = vps52371-cons
        LabelFormat = "vol-cons-"
        Maximum Volume Jobs = 1                                                 
        # a new file for each backup that is done
        Recycle = yes                                                   # 
Bareos can automatically recycle Volumes 
        Auto Prune = no                                                         
# Don’t prune jobs from the volume. Let this be done by Consolidate. 
        Volume Use Duration = 23h 
}


Job {
        Type = Backup
        Name = "backup-vps52371"
        Client = vps52371
        Pool = vps52371-incr
    Full Backup Pool = vps52371-cons
        FileSet = "windows-all"
        Schedule = "always-inc-cycle-2"
        #Defaults
        JobDefs = "HPJobInc"
}

JobDefs {
        Name = "HPJobInc"
        Type = Backup
        Level = Full
        Write Bootstrap = "/var/lib/bareos/%c.bsr"
        Accurate=yes
        Level=Full
        Messages = Standard
    Accurate = yes 
    Always Incremental = yes 
    Always Incremental Job Retention = 35 days 
        Always Incremental Max Full Age = 15 days               # should always 
be less then  Always Incremental Job Retention > Every 30 days the full backup 
is also consolidated
    Always Incremental Keep Number = 7                          # Guarantee 
that at least the specified number of Backup Jobs will persist, even if they are 
older than "Always Incremental Job Retention".
        Maximum Concurrent Jobs = 5                                             
# Let up to 5 jobs run
}

Schedule {
        Name = "always-inc-cycle-1"
        Run = Incremental mon-sun at 22:15
}

Schedule {
        Name = "always-inc-cycle-2"
        Run = Incremental mon-sun at 00:15
}
Schedule {
        Name = "always-inc-cycle-3"
        Run = Incremental mon-sun at 02:15
        
}
Schedule {
        Name = "always-inc-cycle-4"
        Run = Incremental mon-sun at 04:15
}

I would like to be able to go back 35 days. I think I can only go back 15 days 
with this setup?

Any suggestions for the values inside the jobdef?

What about the consolidate en incremental pool used. Will it recycle itself 
automatically like this? No need to enable prune etc?

Thanks a lot for sorting these details out :)


-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to