[Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Backing up the pacman db... When = PreTransaction Exec = /usr/local/bin/backup pre AbortOnFail