[mythtv-users] Replacing boot drive - need advice

James Abernathy jfabernathy at gmail.com
Fri Jun 28 02:36:08 UTC 2024


On Thu, Jun 27, 2024 at 9:19 PM George Bingham <georgeb1962 at gmail.com>
wrote:

>
>
> On Thu, Jun 27, 2024 at 5:40 PM James Abernathy <jfabernathy at gmail.com>
> wrote:
>
>>
>>
>> On Thu, Jun 27, 2024 at 6:31 PM George Bingham <georgeb1962 at gmail.com>
>> wrote:
>>
>>> Hey all,
>>>
>>> I am having to start over with a new boot drive. I had mythtv v 33
>>> installed, but would like to install the current version - 34 right?
>>>
>>> But I''m not sure if I should do that because  I have the database
>>> backup for v 33.
>>>
>>> Should I install v 33 and get it's database restored and then upgrade to
>>> v 34 or can I just install v 34, and restore the database from v 33 to it?
>>>
>>> It's been a while since I've had to do this, so any advice is
>>> appreciated.
>>>
>>> Thanks,
>>>
>>> -- George
>>> _______________________________________________
>>>
>>>
>> IMHO, I'd install v34 on a clean system and get it working with your
>> tuners, etc.  Then I'd restore your database and let the system upgrade the
>> database to the new schema that comes with v34.
>>
>>  I generally do a complete restore as called out on the wiki:
>>
>> mythconverg_restore.pl --drop_database --create_database --filename mythconverg-1214-20080626150513.sql.gz
>>
>> I use the full path to the backup file.
>>
>> You will generally have to go back into the web app and recheck your parameters
>> because some things may have changed.
>>
>> I have not done this recently, but I have created a new V34 system and restored a v34 backup
>> from a different set of hardware and had to update the parameters.
>>
>> Jim A
>>
>>
>
> OK! Got it installed and v34 running, but it initially has a presumably
> random sql password. Since I'm planning on restoring from backup, do I  set
> it to my prior databases password? or does that not matter?
>
>
I can't remember.  The last time I did this it was to take all the content
off my production v34 backend and put it on my RV v34 backend so I could
have stuff I had not seen and deleted to take with me on the road. So the
password was different and the backend hostname was different.  There are
commands to change the database for both, but I had to play with the
config.xml files for /etc/mythtv, /home/mythtv/.mythtv/config.xml, and
/home/jim/.mythtv/config.xml.

Once you have it all working, you can run find_orphans.py. It's on the
wiki.  This will clean things up.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240627/2c9f7cf9/attachment.htm>


More information about the mythtv-users mailing list