What is a pre and post script in AWS Backup?

What is a pre and post script in AWS Backup?

Pre-Script

A pre-script is a script that can be executed I/O actions before a backup or restore operation. It is used to perform custom actions, such as stopping or starting services, creating or deleting files, or sending notifications.

Post-Script

A post-script, on the other hand, is a custom script that is executed after a backup or restore operation. It can also be used to perform custom actions, such as starting services or sending notifications.