On 10 May 2018 at 11:51, Saulius Gurklys <[email protected]> wrote:
> Hello,

Hi,

> I have several questions regarding deletion of items.
>
> Do I understand correctly that  "Delete items" just marks selected Items as
> deleted, but content (blobs) remains untouched?

Yes.

> 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.

> 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.
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.

> 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.

> 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.

-- 
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