public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] Prune permission problem
@ 2020-09-01 22:21 Harald Leithner
  2020-09-02  7:05 ` Dominik Csapak
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Leithner @ 2020-09-01 22:21 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion


[-- Attachment #1.1.1: Type: text/plain, Size: 848 bytes --]

Hi,

I set a backup per storage limit on the cluster and get the following 
error message after the backup:

INFO: run: /usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 
--keep-last 20 --repository clustera@pbs@172.18.0.69:test3

INFO: Error: permission check failed

ERROR: Backup of VM 3011 failed - command 
'/usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 --keep-last 20 
--repository clustera@pbs@172.18.0.69:test3' failed: exit code 255

INFO: Failed at 2020-09-01 18:02:25

I'm not sure if this limit is useful in anyway because of the retention 
policy on the pbs it self but I'm pretty sure an error message is wrong.

thx
Harald

-- 
ITronic

Harald Leithner
Wiedner Hauptstraße 120/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Mobil: +43-699-123 78 4 78
Mail: leithner@itronic.at | itronic.at

[-- Attachment #1.1.2: OpenPGP_0x473B935C49EA1B08.asc --]
[-- Type: application/pgp-keys, Size: 3671 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] Prune permission problem
  2020-09-01 22:21 [pbs-devel] Prune permission problem Harald Leithner
@ 2020-09-02  7:05 ` Dominik Csapak
  2020-09-02  7:43   ` Harald Leithner
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik Csapak @ 2020-09-02  7:05 UTC (permalink / raw)
  To: pbs-devel

On 9/2/20 12:21 AM, Harald Leithner wrote:
> Hi,
> 

Hi,

> I set a backup per storage limit on the cluster and get the following 
> error message after the backup:
> 
> INFO: run: /usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 
> --keep-last 20 --repository clustera@pbs@172.18.0.69:test3
> 
> INFO: Error: permission check failed
> 
> ERROR: Backup of VM 3011 failed - command 
> '/usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 --keep-last 20 
> --repository clustera@pbs@172.18.0.69:test3' failed: exit code 255
> 
> INFO: Failed at 2020-09-01 18:02:25
> 
> I'm not sure if this limit is useful in anyway because of the retention 
> policy on the pbs it self but I'm pretty sure an error message is wrong.

which permissions does the user clustera@pbs have on the backup server?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] Prune permission problem
  2020-09-02  7:05 ` Dominik Csapak
@ 2020-09-02  7:43   ` Harald Leithner
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Leithner @ 2020-09-02  7:43 UTC (permalink / raw)
  To: pbs-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 1323 bytes --]

... ok my fault user has only the role DatastoreBackup

thx

Am 02.09.2020 um 09:05 schrieb Dominik Csapak:
> On 9/2/20 12:21 AM, Harald Leithner wrote:
>> Hi,
>>
> 
> Hi,
> 
>> I set a backup per storage limit on the cluster and get the following 
>> error message after the backup:
>>
>> INFO: run: /usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 
>> --keep-last 20 --repository clustera@pbs@172.18.0.69:test3
>>
>> INFO: Error: permission check failed
>>
>> ERROR: Backup of VM 3011 failed - command 
>> '/usr/bin/proxmox-backup-client prune vm/3011 --quiet 1 --keep-last 20 
>> --repository clustera@pbs@172.18.0.69:test3' failed: exit code 255
>>
>> INFO: Failed at 2020-09-01 18:02:25
>>
>> I'm not sure if this limit is useful in anyway because of the 
>> retention policy on the pbs it self but I'm pretty sure an error 
>> message is wrong.
> 
> which permissions does the user clustera@pbs have on the backup server?
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 

-- 
ITronic

Harald Leithner
Wiedner Hauptstraße 120/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Mobil: +43-699-123 78 4 78
Mail: leithner@itronic.at | itronic.at

[-- Attachment #1.1.2: OpenPGP_0x473B935C49EA1B08.asc --]
[-- Type: application/pgp-keys, Size: 3671 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-02  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 22:21 [pbs-devel] Prune permission problem Harald Leithner
2020-09-02  7:05 ` Dominik Csapak
2020-09-02  7:43   ` Harald Leithner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal