[mythtv-users] recordings restored from backup, how to fix database?

Phill Edwards philledwards at gmail.com
Sun Jan 9 00:44:04 UTC 2022


ryan.goat at gmail.com> wrote:

> My mythtv recordings partition was irrecoverably corrupted.  But I
> have a backup from six months ago.  I don't have a corresponding
> database backup.  So I want to align the existing database to match
> the recordings on the HDD.
>
> Any HDD recording or DB entry that doesn't have a corresponding DB
> entry or HDD recording should be deleted.  That is all I need and I'll
> be happy.
>
> I remember there used to be a "fix myth database" script.  Has that
> been maintained?  Would it do what I need to do?


Is this what you were thinking of?
https://www.mythtv.org/wiki/Find_orphans.py

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220109/1348dd72/attachment.htm>


More information about the mythtv-users mailing list