View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Mythbackup Issue
PostPosted: Tue Dec 19, 2006 8:58 pm 
Offline
Joined: Thu Apr 28, 2005 4:00 pm
Posts: 37
I accidently filled the / recently and it seems to have damaged my installation beyond repair. Anyway, the thought occurred to me that I could use the mythbackup script (via liveCD & chroot) to backup the useful data. Unfortunately mythbackup is failing with

Warning, table lists are not identical!

The backup is bad or already out of date!


My first thought was that the MySQL tables were corrupted, it later occurred to me that I had used the 0.20 upgrade and it might have a different table structure from 0.19 that mythbackup doesn't recognize?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 9:14 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
I can't say it's the cause of the errors you are seeing, but the database in 0.19 is a different structure from 0.20. My guess is the backup script on the R5D1 CD won't help you in this case. If you have access to hard disk space while booted on the live CD, you could use mysqldump to create a backup of the database.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 9:36 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The backup uses mysqldump. It also checks the backup files against what is actually on disk and in the DB, there are no significant version dependencies. The older versions of the script (and in this context even R5D1 is "older") could get fooled if there was something else accessing the DB or modifying the filesystem at the same time.

If you can provide more specific errors, I can tell you if they're real or just a false alarm.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 9:46 pm 
Offline
Joined: Thu Apr 28, 2005 4:00 pm
Posts: 37
This is an excerpt near the end of the log:

Code:
Checking DB dump
Generating a list of tables and record counts in the DB dump...
Generating a list of tables and record counts in the live DB...
Comparing live versus saved tables...
2c2
< callsignnetworkmap 7
---
> callsignnetworkmap 1
5,7c5,7
< channel 67
< codecparams 269
< credits 49765
---
> channel 1
> codecparams 1
> credits 3


This is followed by quite a few other similar listing of mysql tables, I've truncated it as its fairly long. Thinking about it, when I filled root I was upgrading MySQL to v5, perhaps the newer version of mysql(dump) is confusing backup?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 9:59 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Oh, hang on... the default mysqldump format changed somewhere along the way and we got a bunch of this in testing

Can you take a look at the mythconverg.sql or mythconverg.sql.gz or mythconverg.sql.bz2 file, (use "more X", or "gzip -dc X.gz | more", or "bzip2 -dc X.bz2 | more") and look at the first several insert statements. If there is only one record per insert (and one insert per record) then it's old style and those are probably real errors, if each insert statement contains data for multiple records, then it may be a false alarm.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 10:10 pm 
Offline
Joined: Thu Apr 28, 2005 4:00 pm
Posts: 37
The insert statements do seem to appear all in one line so they may be fine.

Ironically the reason I upgraded MySQL was to insert the new format of the dump. Doh


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 10:13 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I'll PM you some updates to the scripts...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu