Thread: Where are backend configuration files stored?

Reply to Thread
Results 1 to 5 of 5
  1. Default Where are backend configuration files stored? #1
    ignisuti is offline MythTV lil' Helper
    Join Date
    Oct 2011
    Posts
    50
    MythTV Gallery
    0
    I'm trying to create one long installation script so that when I muck up my MythTV installation playing around with it and learning how to use it, I can automatically reinstall and configure everything next time I reload Ubuntu.

    Where are the backend server configuration files? I'm interested in the files that hold the Tuner and Sources configuration. There's no sense in me re-doing those steps each time if I can just copy (or create) and configuration file from a script.

    Reply With Quote  

  2. Default #2
    nickrout is offline MythTV Rookie
    Join Date
    Feb 2012
    Posts
    3
    MythTV Gallery
    0
    Quote Originally Posted by ignisuti View Post
    I'm trying to create one long installation script so that when I muck up my MythTV installation playing around with it and learning how to use it, I can automatically reinstall and configure everything next time I reload Ubuntu.

    Where are the backend server configuration files? I'm interested in the files that hold the Tuner and Sources configuration. There's no sense in me re-doing those steps each time if I can just copy (or create) and configuration file from a script.
    the mythconverg database (in mysql).

    Use the provided scripts to make a known good database backup and restore it when re-installing.

    http://www.mythtv.org/wiki/Database_Backup_and_Restore


    Reply With Quote  

  3. Default #3
    Zafrusteria's Avatar
    Zafrusteria is offline MythTV Friend in Training
    Join Date
    Jan 2012
    Location
    Hampshire, UK
    Posts
    5
    Distribution
    Mythbuntu 11.10
    MythTV Version
    0.24
    MythTV Gallery
    0
    It looks like all that sort of config is in one of the many SQL tables in the mythconverg DB.

    You can make your own backup with

    mysqldump -umythtv -p mythconverg > your_backed_up_Mythtv_DB.sql

    The file is text and so can be edited "with care" .It also makes it easier to poke around and find out where things are stored.

    The file can then be reloading into an emprt DB with

    mysql -umythtv -p mythconverg < your_backed_up_Mythtv_DB.sql


    Zaf


    Reply With Quote  

  4. Default #4
    wagnerrp is offline Cornerstone of the Community
    Join Date
    Mar 2010
    Posts
    1,433
    IRC Nick
    wagnerrp
    Distribution
    FreeBSD, Gentoo
    MythTV Version
    trunk
    MythTV Gallery
    0
    Unless you know your way around MySQL, you shouldn't be calling mysqldump manually. Unless you have a good working knowledge of MythTV's internal database schema, you shouldn't be manually tinkering with the database. Unless you're clinically insane, you don't actually believe editing a several hundred MB text file is easier than a couple SQL queries.

    Take a look at the mythconverg_backup/restore.pl scripts instead. Also note that such a backup is automatically performed at any schema update.


    Reply With Quote  

  5. Default #5
    nickrout is offline MythTV Rookie
    Join Date
    Feb 2012
    Posts
    3
    MythTV Gallery
    0
    Reply With Quote  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Recordings are not stored in new partition
    By Race577 in forum Installation Issues
    Replies: 3
    Last Post: 11-15-2010, 07:21 PM
  2. Recordings not stored
    By davorin in forum General
    Replies: 0
    Last Post: 03-25-2009, 11:50 AM
  3. Replies: 2
    Last Post: 10-02-2006, 03:27 AM
  4. Replies: 1
    Last Post: 09-28-2006, 02:06 PM
  5. Where are all the settings stored?
    By 18000rpm in forum General
    Replies: 4
    Last Post: 09-15-2004, 09:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts