$backup.setup.setEnabled

Enables or disables the named backup rule.
Syntax
    $backup.setup.setEnabled{enabled}
Documentation$backup.setup.setEnabled:
Enables or disables the named backup rule. Automatic backups are only made as long as the rule is enabled. Disabled rules can be forced to make a backup with $backup.start.
    Paramter:
      1 - enabled; boolean (0 or 1)
    Returns:
      Void.
    Throws:
      IllegalArgumentException
Examples

Enable all backup rules of this account

    $forEach{i}{$backup.setup.list{}}{
  • $get{i}
  • $backup.setup.setEnabled{$get{i}}{1} }
GroupSpecial
Minimum required transaction-mode:UPDATE=TREE
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATIVE
Minimum parameters2
Maximum parameters 2