I have had a suggestion from one of the long time users of the AutoMySQLbackup script to separate the config portion of the script and the logic portion of the script into separate files..
So for example there would be a /etc/automysqlbackup.conf config file and a /bin/automysqlbackup executable file..
The next thing is having a Makefile that will install the files to prescribed locations.. This would allow the AutoMySQLbackup "system" to be packaged..
I would be interested to hear the thoughts on this from those of you who use the script..
How would this change affect the way you use the script?
Where would the best file system locations be for the files? (eg. /etc/automysqlbackup.conf or /etc/automysqlbackup/config )
Is this something you would like to see and prefer to the way it is currently?
Anything else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah I think thats a good idea, keeps it in a "standard" format. Also thought of the idea of keeping the number of weekly/monthly backups. Thought setting the number of weeks/months you want to keep them...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I support that idea, I prefer automysqlbackup.conf.
Also, including any documentation in the configuration file would be good, so the general rule is for users just to look at the conf file and not necessarily the shell script.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't included it because I am thinking about some major changes to the way the script works and stores files that will hopefully make the script logic simpler..
Looks like version 3 will be a major rewrite..
Hopefully I get enough time to do it in a reasonable amount of time..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I have had a suggestion from one of the long time users of the AutoMySQLbackup script to separate the config portion of the script and the logic portion of the script into separate files..
So for example there would be a /etc/automysqlbackup.conf config file and a /bin/automysqlbackup executable file..
The next thing is having a Makefile that will install the files to prescribed locations.. This would allow the AutoMySQLbackup "system" to be packaged..
I would be interested to hear the thoughts on this from those of you who use the script..
How would this change affect the way you use the script?
Where would the best file system locations be for the files? (eg. /etc/automysqlbackup.conf or /etc/automysqlbackup/config )
Is this something you would like to see and prefer to the way it is currently?
Anything else?
Yeah I think thats a good idea, keeps it in a "standard" format. Also thought of the idea of keeping the number of weekly/monthly backups. Thought setting the number of weeks/months you want to keep them...
I support that idea, I prefer automysqlbackup.conf.
Also, including any documentation in the configuration file would be good, so the general rule is for users just to look at the conf file and not necessarily the shell script.
Also, I added a monthly rotate patch, it would be nice to see that as part of the default code.
https://sourceforge.net/forum/forum.php?thread_id=1377817&forum_id=350021
Yes, I looked at it..
I haven't included it because I am thinking about some major changes to the way the script works and stores files that will hopefully make the script logic simpler..
Looks like version 3 will be a major rewrite..
Hopefully I get enough time to do it in a reasonable amount of time..
Would some of these changes include not "double" backups of databases when the monthly occurs?
I found it surprising last month when the script took essentially twice as long to run since it did a daily and then a separate monthly backup.