Reference

Backup

Starts a run when a backup finishes or fails.

Category
Trigger
Topics
Scheduler ยท Backups
01

Ports

Backuptrigger
  • Cooldownnumber
  • onCompletecontrol
  • onFailedcontrol
  • Backup filenamestring
Ports Control Data
Data types string number bool

Strings accept any data input.
Numbers accept boolean input.

02

Fields

Field What it does Default Limits
Cooldown (seconds) The shortest time between two firings of this block, finished and failed together. 300 0 s or more. A negative or empty value uses 300 s.
03

What a run does

A finished backup fires the block and the run leaves by onComplete.
A failed backup fires it and the run leaves by onFailed.
Backups of one world and backups made by a Create Backup block count too.

Backup filename carries the new file's name on onComplete.
It is not set on onFailed.
A failed restore does not fire the block.

One cooldown covers both ports.
A value wired into Cooldown is not read.
It fires only for the server the backup belongs to.