mc restore

mc restore [OPTIONS]

Replaces the world with one restored from a backup. The instance must be stopped.

The world being replaced is moved aside rather than deleted; if the restore fails, it is put back and the command reports the failure. One set-aside world is kept until the next restore replaces it.

Options

  • --list — list the available backups instead of restoring.
  • --backup <BACKUP> — the backup to restore, by the filename shown by --list. Defaults to the most recent backup.
  • --manifest-path <PATH> — path to mc.toml. Defaults to ./mc.toml.

Examples

$ mc restore --list
myserver_2026-07-15_15-00-00.tar.gz (latest)
myserver_2026-07-14_15-00-00.tar.gz
$ mc restore
$ mc restore --backup myserver_2026-07-14_15-00-00.tar.gz