michaeldyl520 / magento2-mysql-backup-with-cron
这是使用magento2计划任务执行自己的shell命令进行数据库备份操作。
0.0.1
2018-03-15 05:30 UTC
Requires
- php: ~5.5.0|~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0
This package is auto-updated.
Last update: 2024-09-25 15:45:07 UTC
README
这是使用magento2计划任务执行自己的shell命令进行数据库备份操作。
安装
请输入您的magento2根目录,执行以下命令
首先将仓库添加到composer配置中
composer config repositories.michaeldyl520-magento2-mysql-backup-with-cron vcs git@github.com:michaeldyl520/magento2-mysql-backup-with-cron.git
使用composer要求新包
composer require michaeldyl520/magento2-mysql-backup-with-cron
启用模块
php bin/magento module:enalbe Jiliuke_Backup
可能需要运行
php bin/magento setup:upgrade && php bin/magento cache:clean