ShahriyarR / MySQL-AutoXtraBackup

MySQL-AutoXtraBackup commandline tool written in Python 3 based on Percona XtraBackup
https://autoxtrabackup.azepug.az/
MIT License
141 stars 78 forks source link

Make default config file dynamic #331

Closed ShahriyarR closed 5 years ago

ShahriyarR commented 5 years ago

Currently config files are generated dynamically while testing but not installing. So based on this we need to make autoxtrabackup.cnf dynamic and get some variables from environment.

ShahriyarR commented 5 years ago

It is clear that while re-writing to config file with changed values it will not preserve the comments which can be confusing - this is default configparser behaviour. Need to figure out what how to generate config while setting up.

ShahriyarR commented 5 years ago

Merged to release_v1.5.4 release branch. Closing