Hello Marcin, Thank you very much. Fast reply and resolution, as usual. I am grateful :)
Kind regards, Yakup Kaya -------- Original message -------- From: Marcin Haba <ganius...@gmail.com> Date: Thu, 17 Sep 2020, 05:53 To: Yakup Kaya <yakup.k...@indra-avitech.aero> Cc: bacula-users@lists.sourceforge.net, Markus Flaisch <markus.flai...@indra-avitech.aero> Subject: Re: [Bacula-users] Cannot change volume status to Read-only from Baculum Hello Yakup, Thanks for reporting this problem. It is a bug. I opened a ticket for that in the Bacula Bug Tracker here: https://bugs.bacula.org/view.php?id=2564 You can also find there a patch with the fix. Best regards, Marcin Haba (gani) On Wed, 16 Sep 2020 at 17:15, Yakup Kaya <yakup.k...@indra-avitech.aero> wrote: > > Hello everybody, > > > I want to change a tape volume status to "Read-Only" from the Baculum > interface, but I cannot. When I select Read-Only from the dropdown list and > click "Save", volume status goes back to what it was before the change > attempt. And "volstatus=" parameter does not exist in the output, like below: > > update volume="SYSTEM_BACKUP_03" pool="POOL-TAPE" volretention="31536000" > voluseduration="0" maxvoljobs="0" maxvolfiles="0" maxvolbytes="0" slot="0" > recycle="yes" enabled="yes" inchanger="no" > > > But I can change it to for example "Used" from Baculum interface. Below is > the output when I change a tape volume status to "Used" from the Baculum > interface. This time "volstatus=" parameter exists in the output, like below: > > update volume="SYSTEM_BACKUP_03" volstatus="Used" pool="POOL-TAPE" > volretention="31536000" voluseduration="0" maxvoljobs="0" maxvolfiles="0" > maxvolbytes="0" slot="0" recycle="yes" enabled="yes" inchanger="no" > > > By the way, I can change the status to "Read-Only" using bconsole, without a > problem. > > > Do you have any idea why this is happening? > > > -------------------- > > Details of the Bacula/Baculum installation: > > > Operating system: CentOS Linux release 7.6.1810 (Core) > > Database used: PostgreSQL (version 9.2.24) > > Bacula version: 9.6.5-1 > > Baculum version: 9.6.5-2 > > Baculum API version: 9.6.5-2 > > Authentication method for users: Oauth2 > > > Thank you very much in advance. We have installed bacula and baculum via > rpms, so we do not have a config.out file. So I wrote the versions we used > manually. > > > Kind regards, > > > Yakup Kaya > > > _______________________________________________ > 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
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users