[mythtv] Upgrade database from command line

Grant Gardner grant at lastweekend.com.au
Thu Sep 4 10:48:23 UTC 2014


On 3 September 2014 23:20, Stuart Auchterlonie <stuarta at squashedfrog.net> wrote:
> On 02/09/14 23:38, Grant Gardner wrote:
>>
>> Hi all,
>>
>> Is there a mechanism to upgrade the database from the command line?
>>
>> I know that both mythtv-setup and mythbackend will do the upgrade, but I
>> need something that can exit when the upgrade is complete.
>>
>
> We have talked about adding a --bootstrap mode to allow the backend
> to initialize the DB and bring it up to date. eg.
>
> mythbackend --bootstrap --dbuser <user> --dbpasswd <passwd> --dbname <db>
>
> It's all part of being able to configure mythtv via the backend web
> server.
>
> Would something along these lines work for what you are thinking?
>

Yep, perfect.  Shall I just have a crack at writing a patch for that?

>
> Regards
> Stuart Auchterlonie
>
>
>> This is to support the experimentation I am doing with MythTV and Docker
>> containers.
>>
>> I can see the opportunity to provide a command line option to
>> mythbackend or mythutil.
>>
>> If I was to write a feature patch which would be the best place to do it?
>>
>> --
>> Cheers,
>>            Grant
>>
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-dev
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



-- 
Cheers,
          Grant


More information about the mythtv-dev mailing list