Re: [Bacula-users] bacula does not delete OLD files from disk

2016-10-01 Thread Kern Sibbald

  
  
This is by design to ensure that Bacula
  never destroys good data.  On the other hand, if you run Bacula in
  the manner it was designed to run, it will reuse old volumes.
  
  In newer versions of Bacula, it is possible to tell Bacula to
  truncate volumes when they are purged.
  
  Best regards,
  Kern
  
  On 09/30/2016 10:27 PM, elm.c...@gmail.com wrote:


  
  
  


I have an issue with bacula version 5.2.6 on Debian.
  bacula
  does not delete the physical files from disk after the
  retention period has expired. I have different paths (
  disks) for different bacula jobs. let's say the backup
  location for client X is under drive 1 and the backup
  location for client Y is under drive 2. when the
  the retention period has expired for one of the
  incremental backup of client 1, bacula  marks it purged
  and uses the lable for creating a new incremental backup
  for client Y under disk 2, but it does not delete the OLD
  file from the disk1. 
  

  part
  of my bacula-dir configuration files related to purge:
  
Pool {
  
  
Name =
IncrementalPool
  Pool
Type = Backup
 
Recycle = yes
 
AutoPrune = yes
 
UseVolumeOnce = yes
  Volume Retention = 1 weeks
  
 
Volume Use Duration = 23h
 
}
  

  
  
  
  
  --
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
  
  
  
  ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




  


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula does not delete OLD files from disk

2016-09-30 Thread Marcin Haba
Hello,

Bacula doesn't remove volume files. You mention you expect that Bacula
will remove volume files when retention period has expired. The
retention period is an option that is part of a big subject called
Volume Recycling.

Recycling by desing means re-using something again as a something new.

The volumes management described by you is only one from many
different volumes managements. Additionally Bacula supports data
multiplexing on volumes to enable writing few data stream.

I think that your idea is generally OK, but it could be painful for
the Bacula desing.

Best regards.
Marcin Haba (gani)

On 30 September 2016 at 22:27,   wrote:
>
> I have an issue with bacula version 5.2.6 on Debian.
> bacula does not delete the physical files from disk after the retention
> period has expired. I have different paths ( disks) for different bacula
> jobs. let's say the backup location for client X is under drive 1 and the
> backup location for client Y is under drive 2. when the the retention period
> has expired for one of the incremental backup of client 1, bacula  marks it
> purged and uses the lable for creating a new incremental backup for client Y
> under disk 2, but it does not delete the OLD file from the disk1.
>
> part of my bacula-dir configuration files related to purge:
>
> Pool {
>
> Name = IncrementalPool
>
>   Pool Type = Backup
>
>   Recycle = yes
>
>   AutoPrune = yes
>
>   UseVolumeOnce = yes
>
>   Volume Retention = 1 weeks
>
>   Volume Use Duration = 23h
>
>  
>
> }
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula does not delete OLD files from disk

2016-09-30 Thread elm . ceis

I have an issue with bacula version 5.2.6 on Debian.
bacula does not delete the physical files from disk after the retention period 
has expired. I have different paths ( disks) for different bacula jobs. let's 
say the backup location for client X is under drive 1 and the backup location 
for client Y is under drive 2. when the the retention period has expired for 
one of the incremental backup of client 1, bacula  marks it purged and uses the 
lable for creating a new incremental backup for client Y under disk 2, but it 
does not delete the OLD file from the disk1. 

part of my bacula-dir configuration files related to purge:
Pool {

Name = IncrementalPool

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  UseVolumeOnce = yes

  Volume Retention = 1 weeks

  Volume Use Duration = 23h

 

}--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users