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

No results for ""

demyx backup

Usage

bash
demyx backup <app> <args>
demyx backup all
demyx backup traefik

Description

Creates compressed backups of an app's WordPress files and MariaDB database. By default, a full backup (config + database + files) is created. Backups are stored in the Demyx backup directory.

Arguments

FlagDescription
allBackup all installed apps in a loop
traefikBackup Traefik's acme.json and compose.yml files
-cBackup only the config files (compose.yml and .env)
-dBackup only the database
-lList all backups with file sizes
--path=<path>Move the backup to a custom path after creation

Examples

bash
# Full backup of a single app
demyx backup domain.tld

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

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

# Backup all apps
demyx backup all

# List all backups
demyx backup domain.tld -l

# Backup and move to custom path
demyx backup domain.tld --path=/mnt/external-drive/backups

# Backup Traefik SSL certificates
demyx backup traefik
  • demyx restore — restore from a backup
  • demyx cron — view when automated backups run (daily cron)