markocupic / contao-db-backup
Store a daily backup of your database to the contao file system using a daily cronjob routine.
Installs: 1 971
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: ^8.1
- contao/core-bundle: ^4.13 || ^5.0
- markocupic/zip-bundle: ^1.1
Requires (Dev)
- contao/easy-coding-standard: ^5.0
- contao/manager-plugin: ^2.3.1
- contao/test-case: ^4.5
- phpunit/phpunit: ^9.3
- symfony/http-client: 5.4.*
- symfony/phpunit-bridge: ^5.4
Replaces
- contao-legacy/contao-db-backup: 1.4.2
README
Daily database backup for Contao CMS
This Contao extension creates a daily database backup via a cron job and saves it as an SQL dump in the file system. For the plugin to work, the execution of the PHP function “exec()” must be enabled on the hosting.
Configuration
By default, the backup files remain on the server for 30 d and are then automatically deleted. However, the time before the deletion process can be configured.
# In your config/config.yaml
markocupic_contao_db_backup:
store_backup_files: 60 # Store backup files for 60 days