[mythtv-users] Harddrive downgrade...

Bill Omer bill.omer at gmail.com
Tue Dec 11 18:08:18 UTC 2007


On Dec 11, 2007 12:43 PM, Andrew Close <aclose at gmail.com> wrote:
> On Dec 11, 2007 11:21 AM, Bill Omer <bill.omer at gmail.com> wrote:
>
> > If it were me though, I would install the 200g drive as the primary
> > master and reinstall everything.  Then mount the 300g as /myth/tv and
> > delete everything.  If the recorded programs storage is low enough,
> > copy all shows to the 200g temporarily, format the 300g with xfs or
> > jfs, then copy the shows back.
>
> Bill, i was hoping to make this as simple and quick as possible.  i
> didn't want to do a full reinstall because i have several recordings i
> wanted to keep, as well as my DB.  i originally tried copying the
> /myth/tv directory off to the new partition on the 300GB drive, but i
> must have missed a step in there somewhere.
>
> if i was just a little bit more Linux savvy, and had a little bit more
> free time, i'm sure most of the methods mentioned would work.
> ideally, i want to split up my combo FE/BE into two machines running
> as dedicated FE and dedicated BE...
> i'll try to keep notes of how i accomplish my file transfer and what
> success i have so i can update/add to the wiki in case another junior
> Myth'r out there wants to do something similar. :)
>


Keep the 300g drive with all the recordings in tact.
Backup the database.

mysqldump -u mythtv -pmythtv mythconverg -c > mythtv_backup.sql

Backup the mythtv_backup.sql file, preferably somewhere remote.


Install the 200g drive and install your distro of choice and mythtv.
Setup mythtv just like a brand new installation.  Go through
mythtv-setup, configure the cards, add your line ups etc...   Once you
have mythtv at the point where you can watch tv and schedule
recordings again, then restore the video files and the database.


Restore the database:
http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.7


I've used this method with great success many times now.

If the disk spaced used for recorded programs is small enough, then
copy them over to the 200g drive temporarily and format the 300g drive
with xfs or jfs if you haven't already.   Otherwise delete everything
else off of the 300g drive and keep the file system as-is.

Mount the 300g drive as /myth/tv, restore the files (if you moved and
formated), restore the database, and you should be back to normal.

IMHO, this will be the cleanest (and arguably the easiest) way to do it.


-- 
Regards,
Bill Omer


More information about the mythtv-users mailing list