[mythtv-users] How to copy 'frontend' portion of mysql database

Brent Bolin brent.bolin at gmail.com
Sun Jan 31 16:40:33 UTC 2010

On Sun, Jan 31, 2010 at 9:34 AM, Ian Oliver <lists at foxhill.co.uk> wrote:
> I've found the archived chat on this subject from before I joined this
> list, but am hesitant to dive in and copy the relevant sections of the
> database around.
> I'm actually setting up 3-4 identical frontends, and am going to set
> them up by cloning their drives and just changing the hostname. I mayb
> even get them all pxe booting off the same image and use some script
> magic to create their hostname from their mac address.
> Is there a way to have them all sharing settings? What about them also
> sharing bookmarks? We'd love to stop playing something in one room and
> then just resume in another.
> Oh, and if I do end up beating directly on mysql, what's the
> recommended way to handle backup.restore?
> Thanks
> Ian
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I was also interested in something like this.   Just to be able to see
the different settings per frontend.

/usr/bin/mythfrontend.real --help
2010-01-31 10:37:35.545 mythfrontend version:
branches/release-0-22-fixes [22594] www.mythtv.org
Valid options are:
-l or --logfile filename       Writes STDERR and STDOUT messages to filename
-r or --reset                  Resets frontend appearance settings and language
-display X-server              Create GUI on X-server, not localhost
-geometry or --geometry WxH    Override window size settings
-geometry WxH+X+Y              Override window size and position
-w or --windowed               Run in windowed mode
-nw or --no-windowed           Run in non-windowed mode
-O or --override-setting KEY=VALUE
                               Force the setting named 'KEY' to value 'VALUE'
                               This option may be repeated multiple times
--override-settings-file <file>
                               File containing KEY=VALUE pairs for settings
                               Use a comma seperated list to return
multiple values
-G or --get-setting KEY[,KEY2,etc]
                               Returns the current database setting for 'KEY'
--version                      Version information
-v or --verbose debug-level    Use '-v help' for level info
-p or --prompt                 Always prompt for Mythbackend selection.
-d or --disable-autodiscovery  Never prompt for Mythbackend selection.
-u or --upgrade-schema         Allow mythfrontend to upgrade the database schema
<plugin>                       Initialize and run this plugin
Environment Variables:
$MYTHTVDIR                     Set the installation prefix
$MYTHCONFDIR                   Set the config dir (instead of ~/.mythtv)

This gives some syntax usage, but doesn't dump the settings.  Is there
a way to do that?

More information about the mythtv-users mailing list