[mythtv] Upgrade database from command line

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Sep 3 13:20:54 UTC 2014

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

Would something along these lines work for what you are thinking?

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

More information about the mythtv-dev mailing list