Talking about backups
In every well-designed system, you want to have your data lake secured against data losses. As we saw at the beginning of this chapter, while creating our Data Lake Storage Gen2 account, there are different levels of redundancy that you can configure for your storage. But replication is only one facet of preventing data loss.
Configuring delete locks for the storage service
To avoid your storage service from being deleted by accident (yes, this can happen!), you must place a delete lock on your storage account. This will cause Azure to block any delete action and prompt the user to first get rid of the delete lock. Follow these steps to set this up:
- Navigate to the Locks entry in the Settings section of the Navigation blade of your Data Lake storage account.
- Here, you can add a lock of the Delete type to your account.
You can also set the whole account to Read-only if you need to.
Backing up your data
At the time of writing, there...