>>>>> On Thu, 12 Oct 2017 21:15:11 -0500, Larry Rosenman said:
> 
> I've noticed that since I upgraded to 9.0.4 (FreeBSD ports/pkg), when my 
> nightly
> job runs to backup the catalog and expire/truncate files, it does ALL the 
> expired files that have expired 
> since I went to 9.0.4.
> 
> Example:
> Last Night it expired/purged 3 volumes:
> 12-Oct 03:09 borg-dir JobId 0: Automatically selected Catalog: MyCatalog
> 12-Oct 03:09 borg-dir JobId 0: Using Catalog "MyCatalog"
> 12-Oct 03:09 borg-dir JobId 0: Found 5 Job(s) associated with the Volume 
> "LERCTR-0248" that will be pruned
> 12-Oct 03:09 borg-dir JobId 0: There are no more Jobs associated with Volume 
> "LERCTR-0248". Marking it purged.
> 12-Oct 03:09 borg-dir JobId 0: Found 5 Job(s) associated with the Volume 
> "LERCTR-0250" that will be pruned
> 12-Oct 03:09 borg-dir JobId 0: There are no more Jobs associated with Volume 
> "LERCTR-0250". Marking it purged.
> 12-Oct 03:09 borg-dir JobId 0: Found 1 Job(s) associated with the Volume 
> "LERCTR-0249" that will be pruned
> 12-Oct 03:09 borg-dir JobId 0: There are no more Jobs associated with Volume 
> "LERCTR-0249". Marking it purged.
> 12-Oct 03:09 borg-dir JobId 0: 3 expired volumes found
> 
> But truncated MANY more:
> 12-Oct 03:09 borg-dir JobId 0: Automatically selected Storage: File
> 12-Oct 03:09 borg-dir JobId 0: Automatically selected Catalog: MyCatalog
> 12-Oct 03:09 borg-dir JobId 0: Using Catalog "MyCatalog"
> 12-Oct 03:09 borg-dir JobId 0: Connecting to Storage daemon File at 
> borg.lerctr.org:9103 ...
> ...
> 
> 
> There a bunch of OLDER files that it hasn't even re-used yet:
> (the 229 length files have been touched by 9.0.4, the 197 were last truncated 
> by 7.0):
> -rw-r-----  1 bacula  bacula          229 Oct 12 03:09 LERCTR-0188
> -rw-r-----  1 bacula  bacula          229 Oct 12 03:09 LERCTR-0189
> -rw-r-----  1 bacula  bacula          229 Oct 12 03:09 LERCTR-0190
> ...
> -rw-r-----  1 bacula  bacula          197 Aug 13 01:10 LERCTR-0135
> ...
> 
> Ideas?  What else can I provide?

It looks like Bacula's truncate command ignores volumes with VolSize <= 200
bytes.  For some reason, the newer truncated volumes are 229 bytes instead of
197.

__Martin

------------------------------------------------------------------------------
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

Reply via email to