commands / demyx backup
No results for ""
demyx backup
Usage
demyx backup <app> <args>
demyx backup all
demyx backup traefikDescription
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
| Flag | Description |
|---|---|
all | Backup all installed apps in a loop |
traefik | Backup Traefik's acme.json and compose.yml files |
-c | Backup only the config files (compose.yml and .env) |
-d | Backup only the database |
-l | List all backups with file sizes |
--path=<path> | Move the backup to a custom path after creation |
Examples
# 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 traefikRelated
demyx restore— restore from a backupdemyx cron— view when automated backups run (daily cron)