[mythtv-commits] Ticket #5975: mythconverg_restore.pl - exclude backup and restore scripts from list of backup files

MythTV mythtv at cvs.mythtv.org
Sat Dec 6 07:11:02 UTC 2008


#5975: mythconverg_restore.pl - exclude backup and restore scripts from list of
backup files
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  ijr    
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythtv                            |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 Now that the database backup and restore script filenames have been
 changed to start with mythconverg, they match the glob used to find backup
 files when a filename is not specified.  In the event that a user puts the
 scripts in the DBBackupDirectory, one of the two scripts will be sent to
 the database as if it were a backup file, resulting in errors such as:

  ERROR 1049 (42000) at line 11: Unknown database 'Getopt::Long'
 or
  ERROR 1044 (42000) at line 11: Access denied for user
 'mythtv'@'localhost' to database 'Getopt::Long'

 The attached patch simply adds a line that removes the script names from
 the list of files before sorting and finding a backup file to use.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5975>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list