Skip to main content

Backup and restore

EventDirector includes tools for creating backups and restoring configurations.

Why backups matter

Create a backup before:

  • updating the plugin;
  • editing complex events;
  • using the setup wizard on an already configured server;
  • changing messages or permissions;
  • testing rewards and commands;
  • manually editing YAML files.

Create a backup

/eventdirector backup create backup-name

Example:

/eventdirector backup create before-tournament

List backups

/eventdirector backup list

Restore a backup

/eventdirector restore backup-name

After restoring, it is recommended to:

  1. check the console;
  2. reload the plugin if needed;
  3. verify events;
  4. test at least one simple event.

Backup names

Use clear names:

before-update-0-9-25
before-christmas-event
stable-config-june
manual-backup

Avoid strange characters, spaces, and unnecessary symbols.

When to create backups

MomentBackup recommended?
Before an updateYes
Before manual YAML editsYes
Before creating complex eventsYes
After every small visual changeNot always
Before a restoreYes, if possible
danger

A restore can overwrite newer configuration changes. Before restoring, make sure you selected the correct backup.