require "backup" backup.subscribe("HUB:my_plugin/scripts/events_handling") backup.set_subscription_filters("HUB:my_plugin/scripts/events_handling", { { event = "backup_creating_started" } } )