how do i undo a soft delete? if i have run `datahu...
# getting-started
c
how do i undo a soft delete? if i have run
datahub delete --platform my_platform
is there a way to restore?
g
If you’re using datahub delete without
--hard
, it is “soft-deleted” status, soft delete simply sets the status aspect with
removed=True
. So updating the status aspect set
removed=False
for all entities in the platform makes it available for querying I don’t think there is a ready command available to restore but you can • collect all entity urns the delete platform including platform urn • Use Graphql or open API to set aspect
removed=False
thanks bear 1