Hello Alan,
Setting up a purge policy for session recordings is optional Under Configuration, Logs, Session Recording, there is a Purge Policy tab. To disable automatic purging of session recordings, set the Remove records older than value to zero (0).
The session recordings are stored externally, and are not backed up with the database. There is an option to set up a secondary storage mount for failover to avoid losing session recording if the primary mount goes down.
Since the session recordings are stored external to PAM, then if you accidentally erased recordings, you would have to refer to the last backup of the external share.
Regards,
Margaret