• Subscribe a script for backup events, optionally specifying event filter rules. After subscribing the script will be launched for each event happens on a backup service and information about this event will be passed as a parameter.
Edit
Edit
  • script name (string), events_filter (table)
Edit
  • subscriber_id (string).
Edit
				
					require "backup"

backup.subscribe( "HUB:my_plugin/scripts/events_handling" )