[mythtv-commits] Ticket #4760: Use a script for the database backup

MythTV mythtv at cvs.mythtv.org
Fri Jun 27 22:04:31 UTC 2008


#4760: Use a script for the database backup
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  ijr    
     Type:  patch                             |       Status:  new    
 Priority:  minor                             |    Milestone:  unknown
Component:  mythtv                            |      Version:  head   
 Severity:  medium                            |   Resolution:         
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------

Comment(by sphery <mtdean at thirdcontact.com>):

 Updated patches attached.
 mythtv-4760-database_backup_using_script-20080627.patch was updated for
 changes to trunk.  mythtv-4760-database_backup_scripts-20080627.patch adds
 new features.

     database_mythconverg_backup.pl:
         - Backup DB ( http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.5 )
         - Compresses backup
         - Rotates backups
         - Allows backing up xmltvid data (i.e. for before rescanning
 channels)
         - Includes $VERSION and $NAME
         - Supports the "-v" option used by MythWeather scripts (for
 updates
           through services.mythtv.org )

     database_mythconverg_restore.pl:
         - Restores backup
           ( http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.5 )
         - Uncompresses compressed backups
         - Supports "new hardware" partial restores
           ( http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.7 )
         - Allows restoring plugin data when doing "new hardware"/partial
           restores
         - Supports restoring xmltvid data
         - Supports --change_hostname (instead of
           http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.15 )
         - Includes $VERSION and $NAME
         - Supports the "-v" option used by MythWeather scripts (for
 updates
           through services.mythtv.org )

 Patches are ready to apply (no new features are planned).  I recommend the
 committer not worry about testing all script features (as it takes
 forever).  I've done a /lot/ of testing on it (and have had help from
 several users) and will be very responsive to questions/comments/bug
 reports I see on the list or here.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4760#comment:4>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list