[mythtvnz] Saving and restoring video files over a reinstall

Nick Rout nick.rout at gmail.com
Tue Jan 19 21:12:37 GMT 2016


There is a specific utility for backing up and restoring your database on
the mythtv wiki.

On Tue, Jan 19, 2016 at 6:22 PM, worik <worik.stanton at gmail.com> wrote:

> On 17/01/16 23:53, Stephen Worthington wrote:
> > On Sun, 17 Jan 2016 20:21:31 +1300, you wrote:
> >
> >> Friends
> >>
> >> My MythTV installation is kaput.  It is a mess and I wish to reinstall
>
> [snip]
>
> > The normal way to fix problems with your video sources is to do a full
> > delete of all sources and reconfigure them again.  That only affects
> > those bits of the database, leaving your recordings intact. There is a
> > special option somewhere in mythtv-setup to do a full delete - I
> > believe it triggers some special code that was written specifically
> > for problems like yours where everything is screwed up and you need to
> > start again, and it puts you back to completely clean database for the
> > sources and related things.  Personally, I would make sure I did a
> > database backup before doing that.
> >
> > If you add more drives and want to balance the free space on all the
> > drives by moving recordings between them, you can just do that
> > manually.  MythTV does not care where a recording is stored, it will
> > find it as long as it is in a directory that has been added to a
> > storage group.
> >
> > As I have regularly added drives over time (7 recording drives now), I
> > wrote myself a script that automates the process.  It works by moving
> > random files between the directories in the Default storage group
> > until all the drives are reasonably balanced.  It stops running
> > automatically if there is a recording starting soon.  It is available
> > from my web server:
> >
> >   http://www.jsw.gen.nz/mythtv/balance_storage.sh
>
> Thanks.  That was really helpful.
>
> cheers
> W
>
> --
> Why is the legal status of chardonnay different to that of cannabis?
>        worik.stanton at gmail.com 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>                              I voted for love
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20160120/dcb84b8d/attachment.html>


More information about the mythtvnz mailing list