[mythtv-users] db restore

Daryl McDonald darylangela at gmail.com
Sun Aug 5 15:51:48 UTC 2018


On Sun, Aug 5, 2018 at 11:13 AM, Ian Cameron <mkbloke at gmail.com> wrote:

> You're running the mythconverg_restore.pl command as yourself, but you
> don't have access to the DB as yourself and cannot read the
> /etc/mythtv/config.xml file as yourself (usually).
>
> You need to use sudo, assuming that root at localhost will have password
> free access to the DB:
>
> sudo ./mythconverg_restore.pl --create_database --directory ~ --filename
> mythconverg-1344-20180804112717.sql.gz --verbose
>
> Have you reinstalled MySQL and MythTV from packages in your distribution?
> If so, the files should be there.  If you don't have files in the
> directories: /etc/mysql and /etc/mythtv, you'll need to install the
> packages to get them back or restore them from backup if you've also
> restored the rest of the system from a backup.  If it's a newly built
> system, install the packages again.
>
> Cheers, Ian
>

Looks like the system thinks they're all here:

 daryl at trieli:~$ sudo apt-get install mythtv -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
mythtv is already the newest version
(2:0.28.0+fixes.20160413.15cf421-0ubuntu2.16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
daryl at trieli:~$

>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180805/1b33e78a/attachment.html>


More information about the mythtv-users mailing list