[Bug 469792] [NEW] Switch to upstream backup and restore scripts

Mario Limonciello superm1 at ubuntu.com
Mon Nov 2 00:28:05 UTC 2009


Public bug reported:

Binary package hint: mythtv

<sphery> superm1: I heard you guys are using a *buntu-specific backup script.  What do you think of adding --add-drop-table to the mysqldump options?  Doing so should prevent the issues users are having when they restore a 0.21 schema version backup on top of a 0.22 schema database (the blank one installed by the packages)--which means they end up with 0.22 tables (because of the CREATE TABLE IF NOT EXISTS) with 0.21 data.  (Or if you guys ...
<sphery> ... have a restore script, fix that so it checks to ensure the DB is empty before allowing the restore, like the one in programs/scripts/database does.)
<sphery> I'm considering adding --add-drop-table to the programs/scripts/database/mythconverg_backup.pl script.
<sphery> that way, even if they don't use the restore script, it will prevent issues
* rotorr has quit (Read error: 104 (Connection reset by peer))
* rotorr (n=var at vps-1005590-1468.united-hoster.de) has joined #mythtv
* Prost (i=prost at who.knows.what.possessed.us) has joined #mythtv
<superm1> sphery, well I think we are better switching to the upstream backup and restore scripts tbh
<superm1> it's a needless delta currently
<sphery> that would work, too...  My main concern is getting the word out to users--I've seen this happen 4 times, now, and 2 of 3 hacked the schema 'til the upgrade completed, which means their data and schema is likely suspect)

** Affects: mythtv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Switch to upstream backup and restore scripts
https://bugs.launchpad.net/bugs/469792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list