You are here
Inveneo - Sat, 2012/12/29 - 03:16
I just noticed my backups have been failing for a while. When I run tklbam-backup, I get this:
root@waldorf /home/critchie# tklbam-backup CREATING /TKLBAM Traceback (most recent call last): File "/usr/bin/tklbam-backup", line 266, in <module> main() File "/usr/bin/tklbam-backup", line 237, in main b = backup.Backup(conf) File "/usr/lib/tklbam/backup.py", line 251, in __init__ self._create_extras(extras_paths, profile_paths, conf) File "/usr/lib/tklbam/backup.py", line 235, in _create_extras limits=conf.overrides.db) File "/usr/lib/tklbam/mysql.py", line 394, in backup mysql2fs(mysqldump_fh, myfs, **kws) File "/usr/lib/tklbam/mysql.py", line 217, in mysql2fs MyFS_Writer(outdir, limits).fromfile(fh, callback) File "/usr/lib/tklbam/mysql.py", line 213, in fromfile assert _match_name(statement) == table.name AssertionError
I'm not sure what's happening, but here is mysql.py around line 213:
elif statement.startswith("INSERT INTO"): if not database or not table: continue assert _match_name(statement) == table.name table.addrow(statement) def mysql2fs(fh, outdir, limits=[], callback=None): MyFS_Writer(outdir, limits).fromfile(fh, callback)
Any ideas?
Forum:
Tags:
Seems related to a trigger
Add new comment