View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri May 04, 2007 12:34 pm 
Offline
Joined: Fri Mar 30, 2007 3:22 pm
Posts: 35
I just built a new mythbox and I wanted to transfer my database (I don't care about the recordings).

So I did the backup function, copied the /myth/backup directory to /myth/backup on the new system and did restore on the new system.

All my recordings are listed (obviously they won't work because I didnt' copy the files) - BUT when I go to my upcoming recordings list and previously recorded list, nothing is there.

Did I miss a step?

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 5:12 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yes. You need to copy the actual content files. It's easiest just to copy the whole /myth tree over. Be sure to do it in such a way as to preserve the correct ownerships and permissions. Something like rsync for remote access or cp -a for local mounts should do the trick. See the man pages for more.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 9:41 am 
Offline
Joined: Fri Mar 30, 2007 3:22 pm
Posts: 35
Thanks for the help, I used

Code:
rsync -avz 192.168.2.42:/myth/ /myth


Where 192.168.2.42 is the IP of my old myth machine and I executed the command as root on the new mythbox. Everything worked like a charm. I did have to go in and delete my capture cards and re-add them to get my upcoming recordings to work.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 10:06 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Make sure you didn't end up with /myth/myth on the target... To copy /myth onto my backup drive I use:
Code:
/usr/bin/rsync -av --delete /myth /backup

Which produces /backup/myth Ah... I see, you used the trailing slash variation... Never mind...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu