dell / ansible-datadomain

Ansible collection for DataDomain
GNU General Public License v3.0
5 stars 1 forks source link

Problem with mtree automatic-retention-period #10

Closed kafej closed 2 months ago

kafej commented 2 months ago

Hi,

Maybe I'm doing something bad but it looks like this is waiting with the prompt for confirmation:

kafej commented 2 months ago

ping: @kshirs2 / @gk4delltech

kshirs2 commented 2 months ago

@kafej Yes, You are right.. It is waiting for this prompt to complete the changes. Looks like its not supported using the ssh. I will update the documentation to reflect it.

Do you want to enable Automatic Retention Lock on this MTree? (yes|no) [no]:

kafej commented 2 months ago

So, my next question will be, how to enable retention lock automatically for future files in that mtree or how to do that per file after file creation?

kshirs2 commented 2 months ago

As far as I know, you need to enable Automatic Lock retention and set lock retention and Lock delay settings, on mtree to lock file after writing completes. We opened ticket with support few months back to know command or API call to lock file after writing but they said you can not update retention lock for files once they are written to DD if ARL is not enabled. Application like NetWorker, have feature to apply lock after backups. Hope this helps.

kafej commented 2 months ago

As far as I know, you need to enable Automatic Lock retention and set lock retention and Lock delay settings, on mtree to lock file after writing completes. We opened ticket with support few months back to know command or API call to lock file after writing but they said you can not update retention lock for files once they are written to DD if ARL is not enabled. Application like NetWorker, have feature to apply lock after backups. Hope this helps.

So there is like no manual "enable" lock of the file after I will update it to the mtree? and there is no way to send "yes" for this "automatic-retention-period" flag?