The system has automatic backups. Launched by a cronjob. By default, daily and weekly backups work. With a retention period of 6 and 30 days, respectively. You can customize the frequency and content of backups yourself.
Backups are enabled by default (APP_WP_BACKUP_ENABLE=1 in every config/environment/.env.type.* file). To adjust:
- Edit
./config/environment/.env.type.[environment_type]file – toggleAPP_WP_BACKUP_ENABLE - Check crontab file in
./config/cron/crontabs– change cronjob time if it needs. - If you have more than one database (maybe custom databases), check
mariadb-dumpcommand parameters in./sh/database/export.sh, called by./sh/cron/start-backup.sh
Backups will appear in the ./backups folder, logs in the docker cron container logs