Re: [bareos-users] "Volume Retention" changes does not affect purged volumes

2020-01-20 Thread Micha Ballmann
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

Am 20.01.2020 um 13:32 schrieb Spadajspadaj:


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.


On 20.01.2020 13:23, Micha Ballmann wrote:

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

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9a028ea7-c55c-bf22-292f-77d710151204%40gmail.com 
.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/5fc09ac8-9c0e-9729-2d6e-9b3da2f28a8a%40gmail.com.


Re: [bareos-users] "Volume Retention" changes does not affect purged volumes

2020-01-20 Thread Spadajspadaj
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.


On 20.01.2020 13:23, Micha Ballmann wrote:

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


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9a028ea7-c55c-bf22-292f-77d710151204%40gmail.com.


[bareos-users] "Volume Retention" changes does not affect purged volumes

2020-01-20 Thread Micha Ballmann
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

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