"Volume Retention" changes does not affect purged volumes

18 views
Skip to first unread message

Micha Ballmann

unread,
Jan 20, 2020, 7:23:23 AM1/20/20
to bareos-users
Hello,

i have strange problem. I changed the days of "Volume Retention".

For example:

Pool {
  Name                  = DataIncremental
  Pool Type             = Backup
  Recycle               = yes
  AutoPrune             = yes
  Volume Retention      = 15 days
  Maximum Volume Bytes  = 50G
  Label Format          = "DataIncremental-"
 }

changed to:

Pool {
  Name                  = DataIncremental
  Pool Type             = Backup
  Recycle               = yes
  AutoPrune             = yes
  Volume Retention      = 30 days
  Maximum Volume Bytes  = 50G
  Label Format          = "DataIncremental-"
 }

My problem now, new volumes were created correctly, but purged volumes didnt. The purged volumes were created with the same old "Volume Retention" in the origin. In my case:

New Volumes = 30 days retention

Purged Volumes = 15 days retention

Why the purged volumes inherit the retention time from his old volumes and doesnt set new one?

Server: 
-Ubuntu 18.04
-Postgresql 12
-Bareos 18.2.5

Best regards

Spadajspadaj

unread,
Jan 20, 2020, 7:32:42 AM1/20/20
to bareos...@googlegroups.com

If you change settings in the config file they will be applied to new volumes only as you already noticed. If old volumes are purged, only their status is changed they are not deleted and created anew. So you have to manually update volume using bconsole "update" command.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e481eb6f-dfa3-41bd-b643-8c77ca661594%40googlegroups.com.

Micha Ballmann

unread,
Jan 20, 2020, 7:43:03 AM1/20/20
to bareos...@googlegroups.com

Thank you very much for your fast answer. That was a helpful advice. I found this few minutes later :-D:

https://groups.google.com/forum/#!topic/bareos-users/J7gB4bvdLjY

best regards

Reply all
Reply to author
Forward
0 new messages