Skip to content
HomeKnowledge BaseStatisticsChangelog GitHub Discord Email
commands / demyx restore

No results for ""

demyx restore

Usage

bash
demyx restore <app> <args>
demyx restore traefik

Description

Restores a WordPress app from a backup. By default, Demyx removes the existing app first (containers, volumes, config), then reinstates it from the backup archive. The app is recreated with the same domain and credentials stored in the backup.

Arguments

FlagDescription
traefikRestore Traefik's acme.json and compose.yml
-cRestore only config files (compose.yml and .env)
--date=YYYY-MM-DDSpecify which backup date to restore (defaults to today)
-dRestore database only
-fSkip confirmation prompt

Examples

bash
# Full restore (today's backup)
demyx restore domain.tld

# Restore from a specific date
demyx restore domain.tld --date=2025-10-01

# Database-only restore
demyx restore domain.tld -d

# Config-only restore
demyx restore domain.tld -c

# Skip the confirmation prompt
demyx restore domain.tld -f

# Restore Traefik certificates
demyx restore traefik

Notes

  • The restore process removes the existing app before restoring. Make sure you have a recent backup.
  • Use -d to restore just the database without touching files — useful after a bad migration.
  • Config restore (-c) is useful if you accidentally corrupted compose.yml or .env.
  • demyx backup — create backups
  • demyx info — verify app state after restore