-
Notifications
You must be signed in to change notification settings - Fork 1
Simple backup scheduler
Sven Rahn edited this page Jun 19, 2018
·
6 revisions
This creates a backup command alias, which calls itself after 10m again. The alias has to be put into execute-on-server-startup.conf
to make it start when the server boots up. CommandUtils doesn't do the backup itself, it just triggers a backup from another plugin. So backupPlugin startBackup
has to be replaced with your backup plugin.
aliases.conf
:
aliases {
backup {
commands=[
"*say Doing backup...",
"*backupPlugin startBackup",
"*cu execute delayed 10m backup"
]
permission="admin.backup"
}
}
execute-on-server-startup.conf
commands=[
"*backup"
]