[mythtv-users] How to delete a non-existent encoder from a non-existent machine?
Michael T. Dean
mtdean at thirdcontact.com
Tue Aug 26 21:54:18 UTC 2008
On 08/26/2008 05:25 PM, Nick Morrott wrote:
> On 26/08/2008, Michael T. Dean wrote:
>> Easiest way to do the backup/restore is:
> Would the addition of a couple of commands like:
> $ mythconverg_restore.pl --list_hostnames
> $ mythconverg_restore.pl --delete_hostname --hostname="XXXX"
> be useful in this scenario?
> The former command would like all known hostnames defined in the dump,
> and the latter would enable a user to selectively remove old hostname
Yeah, there are a few more things I should do for those scripts. I've
gotten a request for fixing chanid's on recorded programs (i.e. when you
do a partial restore and end up with differently-defined channels
because you created a new video source without using the delete all
video sources approach, or whatever, or even when you move to an area
with different channel numbers). However, I'm thinking about changing
the way we do xmltvid backups (so they work from a "standard" backup,
rather than an xmltvid backup) to make that addition easier.
Stuart Morgan was asking for a "duplicate settings to another host"
functionality for Myth, and I considered putting that into the scripts,
but can't decide whether we need a more "intelligent" settings manager
(i.e. code in mythtv-setup/mythbackend/mythfrontend to allow settings
management) that understands what settings are necessary. For that or
for the delete settings stuff, I need to better understand if any
settings (other than the SGWeight* stuff) have "external" references or
are referenced by other DB data).
Also, if the code goes in mythconverg_restore.pl, I might need to change
the script name. :)
More information about the mythtv-users