Database Lab clones can be protected from manual and automatical deletion by enabling the protected status of a clone. When enabled no one can delete this clone and automated deletion is also disabled.
Database Lab Engine automatically deletes idle unprotected clones after the idle interval which is defined in the configuration.
Please be careful: abandoned protected clones may cause out-of-disk-space events. Check disk space on a daily basis and delete protected clones once the work is done.
From the Database Lab clone page enable or disable the Enable deletion protection checkbox.
Before you run any commands, install Database Lab CLI and initialize configuration. For more information, see Install and initialize Database Lab CLI.
dblab clone update
Protect a clone
dblab clone update --protected CLONE_ID
Unprotect a clone
dblab clone update CLONE_ID
Also, clones can marked as protected at creation time. See Create a clone.
- Guide: Destroy a clone