[mythtv-users] recordings restored from backup, how to fix database?
Ryan Patterson
ryan.goat at gmail.com
Sun Jan 9 03:35:41 UTC 2022
On Sat, Jan 8, 2022 at 7:45 PM Phill Edwards <philledwards at gmail.com> wrote:
>
> 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
Yes. That is the exact script I was talking about. Thank you.
_____________
Ryan Patterson
May the wings of liberty never lose a feather.
More information about the mythtv-users
mailing list