ignore_direct option so backups written by BACKUP DATA USING FILE land on an encrypted mount.
Configure a backup mount
1
Create a backing directory for backups and mount it with
ignore_direct at the SAP HANA backup path. This example uses a backing directory of /enc/hana-backup mounted at /hana/backup:2
In CryptoHub, add a path rule targeting the backing directory for backups, scoped to the SAP HANA user and group:
- Path:
/enc/hana-backup/** - Groups:
sapsys - Users:
<sid>adm
3
Point the SAP HANA backup destination at the mount path and run a backup:
The backup completes successfully, and the backup entry in
M_BACKUP_CATALOG shows the state successful.Verify the backup is encrypted and recoverable
1
Confirm the backup files are ciphertext at rest in the backing directory:
The files begin with the
MONADNOCK__SODS header.2
Confirm the backup is valid and recoverable.
hdbbackupcheck reads each backup file through the mount, exercising transparent decryption end to end:The check reports the backup was
successfully checked.
