Purpose
This statement is used to set the backup encryption password.
This statement only takes effect in the current session. The password will be cleared after the backup is initiated. Therefore, if you want to configure a backup encryption password, you need to reconfigure it before each backup.
Syntax
SET ENCRYPTION ON IDENTIFIED BY 'password' ONLY;
Parameters
| Parameter | Description |
|---|---|
| password | The encryption password for the backup. |
Examples
Set the backup encryption password.
obclient> SET ENCRYPTION ON IDENTIFIED BY '***1***' ONLY;
