# mysqlbackup **Repository Path**: mickeywaugh/mysqlbackup ## Basic Information - **Project Name**: mysqlbackup - **Description**: 自用的mysql backup脚本,适配mysql8.X版本。mysql5.7没有测试过。需要安装mysql-client。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-21 - **Last Updated**: 2025-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mysqlbackup #### 介绍 自用的mysql backup脚本,适配mysql8.X版本。mysql5.7没有测试过。需要安装mysql-client。配合crontab使用可做到定时备份; #### 软件架构 适用于Linux系统。 #### 使用说明 git clone https://gitee.com/mickeywaugh/mysqlbackup.git cd mysqlbackup #pull 时跳过.my.cnf文件更新 git update-index --skip-worktree .my.cnf 手动修改配置文件.my.cnf中的用户名、密码、数据库名、备份路径等, 注意:[client]下的host字段必须为IP地址 chmod 600 .my.cnf chmod +x mysqlbackup.sh ./mysqlbackup.sh