LinHES Forums http://forums.linhes.org/ |
|
move_recordings.sh http://forums.linhes.org/viewtopic.php?f=5&t=16407 |
Page 1 of 1 |
Author: | farnell [ Mon Sep 10, 2007 2:10 pm ] |
Post subject: | move_recordings.sh |
What does /usr/local/bin/move_recordings.sh do? I came across the script, and I just wondered what it was for. I don't see much about it in the forums, and googling turns up nothing. |
Author: | jmckeown2 [ Mon Sep 10, 2007 3:51 pm ] |
Post subject: | |
From looking at the copy on my system it looks like this script will blow away your entire database, then recreate an empty version, and finally import only the recording data from your most recent backup. It attempts to recreate the database by running /usr/share/mythtv/sql/mc.sql which does not exist on my system (or at least not at that location), meaning If I ran this script it would just blow away my database and leave me hosed. It also has a line #/usr/loca/bin/mythbackup which would do a fresh backup for you if you uncomment the line and fix the typo (local, not loca) I'm thinking I'd avoid playing with this one. |
Author: | tjc [ Mon Sep 10, 2007 6:26 pm ] |
Post subject: | |
Yeah, that looks rather broken... I see several other problems with it. E.g. - /usr/local/bin/MythTV.sql should be /usr/local/bin/MythTV-sql I'll recommend adding a fix in the patcher. |
Author: | cecil [ Tue Sep 11, 2007 1:05 am ] |
Post subject: | |
Yeah... I started work on that way back when. The intent was just that, if you want to move recordings to a new machine or if you you wanted to blow everything away expect your records and start clean. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |