https://bugs.contribs.org/show_bug.cgi?id=10654
Bug ID: 10654
Summary: automysqlbackup does not backup new database types
correctly
Classification: Contribs
Product: SME Contribs
Version: 9.2
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-automysqlbackup
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
I noticed that automysqlbackuip was failing to back up new databases following
the recent updates.
This is due to /sbin/e-smith/runmysqlbackup
#!/bin/sh
/usr/local/bin/automysqlbackup >/dev/null
chown root:root /root/backup/db* -R
find /root/backup/db* -type f -exec chmod 400 {} \;
find /root/backup/db* -type d -exec chmod 700 {} \;
The cron job does the following:
1 6,18 * * * root /sbin/e-smith/runmysqlbackup
/etc/automysqlbackup/myserver.conf > /dev/null
1 6,18 * * * root /sbin/e-smith/runmysqlbackup
/etc/automysqlbackup/mysql55.conf > /dev/null
However, those config entries are being ignored by the runmysql script which
just runs automysqlbackup without any parameters so it defaults to the
preconfigured "myserver.conf"
I think the runmysqlbackup script should be modified like this:
/usr/local/bin/automysqlbackup $1 >/dev/null
That should pass the config file to automysqlbackup.
I'll make patch for this shortly.
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/