[pbs-devel] [PATCH backup 1/2] save last verify result in snapshot manifest

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Aug 26 08:15:18 CEST 2020


On 26.08.20 06:30, Dietmar Maurer wrote:
> 
>> On 08/25/2020 5:30 PM Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>>
>>  
>> Save the state ("ok" or "failed") and the UPID of the respective
>> verify task. With this we can easily allow to open  the relevant task
>> log and show when the last verify happened.
>>
>> As we already load the manifest when listing the snapshots, just add
>> it there directly.
>>
>> We need to make the verify API call protected to be able to save the manifest.
> 
> Why? IMHO this should not be necessary, because backups are written by the 'backup' user.
> 

You are right. I had some backups made during a debugging session a month
ago where I mistakenly ran the proxy as root - so those had wrong file owners,
from that I made a wrong assumption..





More information about the pbs-devel mailing list