<div dir="ltr">There is a specific utility for backing up and restoring your database on the mythtv wiki.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 19, 2016 at 6:22 PM, worik <span dir="ltr"><<a href="mailto:worik.stanton@gmail.com" target="_blank">worik.stanton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 17/01/16 23:53, Stephen Worthington wrote:<br>
> On Sun, 17 Jan 2016 20:21:31 +1300, you wrote:<br>
><br>
>> Friends<br>
>><br>
>> My MythTV installation is kaput. It is a mess and I wish to reinstall<br>
<br>
</span>[snip]<br>
<span class=""><br>
> The normal way to fix problems with your video sources is to do a full<br>
> delete of all sources and reconfigure them again. That only affects<br>
> those bits of the database, leaving your recordings intact. There is a<br>
> special option somewhere in mythtv-setup to do a full delete - I<br>
> believe it triggers some special code that was written specifically<br>
> for problems like yours where everything is screwed up and you need to<br>
> start again, and it puts you back to completely clean database for the<br>
> sources and related things. Personally, I would make sure I did a<br>
> database backup before doing that.<br>
><br>
> If you add more drives and want to balance the free space on all the<br>
> drives by moving recordings between them, you can just do that<br>
> manually. MythTV does not care where a recording is stored, it will<br>
> find it as long as it is in a directory that has been added to a<br>
> storage group.<br>
><br>
> As I have regularly added drives over time (7 recording drives now), I<br>
> wrote myself a script that automates the process. It works by moving<br>
> random files between the directories in the Default storage group<br>
> until all the drives are reasonably balanced. It stops running<br>
> automatically if there is a recording starting soon. It is available<br>
> from my web server:<br>
><br>
> <a href="http://www.jsw.gen.nz/mythtv/balance_storage.sh" rel="noreferrer" target="_blank">http://www.jsw.gen.nz/mythtv/balance_storage.sh</a><br>
<br>
</span>Thanks. That was really helpful.<br>
<br>
cheers<br>
<span class="im HOEnZb">W<br>
<br>
--<br>
Why is the legal status of chardonnay different to that of cannabis?<br>
<a href="mailto:worik.stanton@gmail.com">worik.stanton@gmail.com</a> <a href="tel:021-1680650" value="+64211680650">021-1680650</a>, <a href="tel:%2803%29%204821804" value="+6434821804">(03) 4821804</a><br>
Aotearoa (New Zealand)<br>
I voted for love<br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br></div>