[mythtv-users] Accidental DB Overwrite

Eric Sharkey eric at lisaneric.org
Tue Sep 1 20:37:50 UTC 2015


On Tue, Sep 1, 2015 at 4:29 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
> Hoi Jason,
>
> Tuesday, September 1, 2015, 10:10:59 PM, you wrote:
>
>> So I just realized this afternoon that my DB got overwrote.  I thought my
>> backups were running but apparently they were not.  So my recordings
>> currently only show up to Aug 25.  So everything thats recorded over the
>> last 6 days doesn't show up.  Is there a way to have myth rescan the
>> current recordings storage and attempt to do a repair of the recordings?
>> BTW I have since fixed my DB backup and its back to running at full steam
>> once again.  Thank you all in advance for your help with this.
>
> You're best bet is importing them in the video database. You'll have
> to identify what file is what, rename them to a name recognizable by the
> video module (movie name or series name plus season episode) and place
> them in your video directory.

If you have a backend log file, you may be able to script this by
grepping for "Tuning => Recording" and "rec->GetPathname".

Eric


More information about the mythtv-users mailing list