[mythtv-users] db restore
Ian Cameron
mkbloke at gmail.com
Sun Aug 5 15:13:11 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180805/446f0d2d/attachment.html>
More information about the mythtv-users
mailing list