sapcc / manila-extensions

SAP Converged Cloud OpenStack Manila Extensions
Apache License 2.0
0 stars 0 forks source link

add command to undo a soft-delete #4

Closed Carthaca closed 1 year ago

Carthaca commented 1 year ago

Sometime users accidentally delete shares and luckily our storage team has some time to restore those on the storage back end. Here we provide a command to restore also the soft-deleted entries from the manila database.

Usage:

manila-manage-extension share undelete <share_uuid>

Access rules are restored in state 'queued_to_apply' so they will be re-applied.