You may consider to use
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#AlwaysIncrementalBackupScheme
instead.
Delete the only full backup before a new full backup is done is kind of
dangerous.

On 15.02.2018 at 13:51 wrote 'Ludwig BaLu' via bareos-users:
> Am Donnerstag, 15. Februar 2018 11:54:51 UTC+1 schrieb Ludwig BaLu:
>> Hi bareos community,
>>
>> I think, I have got problems to understand the right way for doing my
>> backup.
>>
>> Following scenario should be covered:
>> short:
>> 1 month of fullbackup, the rest should be backup up incremental. After
>> this month, the previous fullbackup should be overwritten with the next
>> full backup.
>>
>> long:
>> I have got a sum of gigabyte of files. This sum should be backed up as
>> one full per month on the 1st. On the next month on the 1st, the
>> volumes should be purged and overwritten by the next job scheduled. I
>> have got following configuration:
>>
>>
>> Pool {
>>   Name = Full
>>   Pool Type = Backup
>>   Recycle = yes
>>   AutoPrune = yes
>>   Volume Retention = 60 seconds
>>   Maximum Volume Bytes = 1G
>>   Maximum Volumes = 1
>>   Label Format = "Full-"
>> }
>> Client {
>>   Name = bareos-client-fd
>>   Description = "Client resource of the Director itself."
>>   Address = bareos-client-fd
>>   Password = "XXXX"
>>   Job Retention = 60 seconds
>> }
>> Job {
>>   Name = "backup-bareos-client-fd"
>>   JobDefs = "DefaultJob"
>>   FileSet = "minimal"
>>   Client = "bareos-client-fd"
>>   Level = Full
>> }
>> FileSet {
>>   Name = "minimal"
>>   Description = "fileset just to backup some files for selftest"
>>   Include {
>>     Options {
>>       Signature = MD5 # calculate md5 checksum per file
>>     }
>>     File = "/root/file"
>>   }
>> }
>>
>> The file "/root/file" has got a size of 600MB. This file can be
>> backuped one time. If I do another backup after 60 seconds, bareos
>> says, the volume is full.
>>
>> Now how can I manage, that bareos updates the volumes, that jobs does
>> not continue after a full backup and prune before starting a new
>> backup?
>>
>> Thank you for your time and support,
>> Ludwig
> 
> Okay I have found, whats the adventure on my side: Volume Use Duration
> 
> If I set this, my volumes are used for the next backup. For me, this is 
> solved - thanks for you support! :)
> 


-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to