Closed bimith closed 4 years ago
As far as I remember @BarbzYHOOL used to fix this issue somehow. Could you please assist on this?
https://github.com/ShahriyarR/MySQL-AutoXtraBackup/issues/368 and in my fork the fix is there (on master or another branch)
Okay I will release the new version, with a bunch of stacked fixes. It seems to be this project is still alive :)
thanks for respond
autoxtrabackup --backup -v -l DEBUG -lf /home/XB_TEST/backup_dir/xb.log --defaults-file=/home/XB_TEST/server_dir/bck.conf
Traceback (most recent call last):
File "/usr/local/bin/autoxtrabackup", line 11, in
Hey @bimith,
configparser.MissingSectionHeaderError: File contains no section headers.
I believe you're missing a [mysqlbackup]
line ahead of the configs pertaining to mysqlbackup, in the file /home/XB_TEST/server_dir/bck.conf
.
If that doesn't fix it please post the contents of the file.
@bimith sorry the section would be like [Backup]
rather than mysqlback. And it might not necessarily be that section, but it's complaining that the sections in general are missing.
1, i have installed already mysql-autoxtrabackup using below command pip3 install mysql-autoxtrabackup
after this one need to follow
cd /home git clone https://github.com/ShahriyarR/MySQL-AutoXtraBackup.git cd /home/MySQL-AutoXtraBackup/ python3 setup.py install ---this command also?
2,when am trying to install with below command autoxtrabackup -v -lf /home/MySQL-Autoxtrabackup_2_4_5_7.log \ -l DEBUG --defaults_file=/home/XB_TEST/server_dir/xb_2_4_ps_5_7.conf --backup
am getting the error
pkg_resources.DistributionNotFound: The 'mysql-connector==2.1.4' distribution was not found and is required by mysql-autoxtrabackup
as per your instruction i have changed the link in setup.py but now these error is showing