[mythtv-users] Merge two versions of 'oldrecorded' ?

John Pilkington J.Pilk at tesco.net
Tue Aug 5 18:22:36 UTC 2014


On 05/08/14 18:57, Greg Oliver wrote:
> You should be able to just grep the sql out and pipe it straight in.
>
> If your db backup is from the mythconverg_backup.pl
> <http://mythconverg_backup.pl>:
>
> zcat <dbBackupFile> | grep oldrecorded | grep INSERT | sed
> 's/INSERT/INSERT IGNORE/g 'l mysql -u <db_user> -p<Password> mythconverg
>
> You'll need to get your db_user and Password from your mythtv config.xml
> file.
>

Thank you :-)  I guess I should squirrel away a few backups and try it 
out - perhaps in stages - so that I can see what's happening.

Cheers,

John




More information about the mythtv-users mailing list