...
Page Properties | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
Resources & Remarks Modification History
|
Excerpt |
---|
Delete all objects of a specific tenant which have a deletion flag. |
...
In the following example, all objects that were stored since 2021-09-01
by any user of tenant default
will be exported. Additionally, only 50 items should be stored in each folder, so a nesting strategy is usedare flagged for deletion will be deleted. The job will continuously search for the next 100 (see: --fetch-size
) flagged objects and process them, until the maximum running time of 1 hour (see: --running-time
) was exceeded or there is no additional object flagged for deletion.
Code Block | ||||
---|---|---|---|---|
| ||||
Lt. Commander>maintain-delete --tenant default --running-time 3600 --fetch-size 100
Running delete job for tenant 'default' for 3600s |
...