[mythtv-users] Retiring slave backend / migrating recordings to master ?

Raymond Wagner raymond at wagnerrp.com
Tue Mar 27 18:40:58 UTC 2012


On 3/27/2012 14:12, Tom Flair wrote:
> I *really* don't want transfer the data over the network or even doing 
> an rsync to the array on the MBE.

Why not?  You're more likely to be bottle-necked on your disks and 
filesystem than your network.  I was running ~60MB/s last night 
shuffling some recordings from my MBE to drives on a SBE last night.  
Just run one command, and go do something else for several hours.

> As I understand it, I should be able to migrate the existing drives 
> and set them up as another storage pool for recordings.  Based on the 
> hashes for the recordings, the MBE should pick up that the previously 
> remote recordings on the SBE are now on the MBE and all should be good.

You can add folders on the transferred drives as new storage 
directories, and MythTV will use them as the disk scheduler sees fit, 
however your old content will be unavailable.  Recordings are tagged to 
a specific hostname in the database.  The hashes you are referring to 
are only used by the Video Library and its file scanner.  I don't know 
of any "proper" way to migrate videos from one host to another besides a 
simple...

UPDATE recorded SET hostname="new_host" WHERE hostname="old_host";


More information about the mythtv-users mailing list