Hi Mathieu,

thank you for your answers. Now I have more questions :)

On Friday, May 11, 2018 at 5:48:08 PM UTC+3, mathieu.lonjaret wrote:
>
>
> > Is there a way to search for all "deleted" items? 
>
> Yes. It should be possible to write a search query that gets all 
> deletion claims. Then to look at the targets of these claims to find 
> out the deleted items. I can look into that later if you want. 
>

It would be great if you could look into this.

 

> > Is there a way to undelete/restore previously deleted items? 
>
> Yes. You can either: 
> 1) Delete the claim that is responsible for the initial deletion. 
> Deleting the delete is effectively an undo deletion. 
>

How to do that? 
 

> 2) Make a search query for your items to a time predating the 
> deletion. Then you get the state of the system as it was before the 
> deletion, and you can get your items. 
>

Could you provide some example(s) of such query?

> How to permanently purge deleted items? 
>
> For now, and until garbage collection is implemented, the only way is 
> to manually delete the corresponding blobs from the storage. 
>

But that means that it would be necessary to find and many blobs
as bigger files are split into many blobs. Yes?


> > Maybe there is a document that answers these questions? 
>
> Aside from https://perkeep.org/doc/schema/delete ,  I don't think 
> there is. Contributions are welcome! 
>

Thank you,
--
Saulius
 

-- 
You received this message because you are subscribed to the Google Groups 
"Perkeep" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to