Backing Up Channel Groups, How? (1 Viewer)

EViS

Portal Pro
September 30, 2006
364
2
Home Country
United Kingdom United Kingdom
How can I backup my channel groups in case I need to reformat my HDD? Sorting 300 channels took an awfully long time and I don't fancy doing it again... Are these all stored in an .ini somewhere?
 

kuehnch

MP Donator
  • Premium Supporter
  • June 14, 2006
    303
    9
    43
    Cologne (Köln)
    Home Country
    Germany Germany
    Backup the TVServer-Database, that stores all settings of tvserver.
    If you use SQLServer(-Express), you are able to do a backup by using Microsofts ManagementStudio (rightklick on the tvlibrary-database on the left tree and you will see maintaining-options like backup,restore...

    After a reinstall of your system, you can get back all your settings/lists/sortings/groups.... by restoring the database, that you have stored before.
     

    Mew

    Portal Pro
    January 11, 2007
    356
    111
    53
    Hertfordshire
    Home Country
    England England
    Hi Evis

    To clarify what kuehnch said:

    1 Open Microsoft SQL Server Management Studio Express
    2 In the left pane expand "Databases"
    3 Right click on "TvLibrary"
    4 Select "Tasks" > "Back Up..."
    5 In the "Back Up Database - TvLibrary" window that pops up you should probably leave all the options as they are. You may however want to change the "Destination" by adding a new one and removing the default.
    6 Hit "OK" and it will create the backup file.

    If you need to restore a database:

    1 Open Microsoft SQL Server Management Studio Express
    2 In the left pane right click on "Databases"
    3 Select "Restore Database..."
    4 In the "Restore Database -" window that pops up you will need to specify the "TvLibrary" database using the drop down in the "Destination for restore" "To database:" if it exists. If it does not I believe it will create it. You also need to amend the Source for restore to From device and select the "..." button to specify the file and location.
    5 Hit "OK" and it should retore the database.

    As with all backups it is best to try it out, say on another PC if you have one before you need to use it in anger.

    I have successfully used backup and restore when changing my HTPC from XP Pro SP2 to Vista. I took a backup before I started, reformated the harddrive and installed Vista and then restored the database.

    Warning:
    Bear in mind this is a backup of every tablein the database. If you recover it will give you a snapshot at the point you took the backup. This means your EPG may be out of date as well as the list of recorded programs if they have changed (which I guess they would daya to day).

    I hope this helps

    Mew
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    hey Mew, thanks for such a detailed explanation :)

    One further thing is that the backup may still not be useful if the structure changes due to MP enhancements.
    If you upgrade an SVN and MP tells you the database has to be recreated, then this wont help.

    I'm pretty sure that the backup option in the TV Channels section of the tv server will back up groups too, but I don't use groups so cant say for sure.

    Safest option is to use both methods :)
     

    Users who are viewing this thread

    Similar threads

    It works perfect now. All channels have been found, even with the default tuning files. Thank you very much! (y) I'd love seing this change in MP 1.33! :)
    It works perfect now. All channels have been found, even with the default tuning files. Thank you very much! (y) I'd love seing...
    With my new hardware, Windows 11 and MP 1.32 the TV channel scan is not working anymore. The frequencies are scanned but no...
    Replies
    40
    Views
    4K
    MP1 MP2 1.34 STB blasting for IPTV DE
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set top box into Mediaportal needs replaced with a different solution. I currently have HDMI from the STB to the colossus. Mediaportal is controlling the STB through a USBUIRT blaster and the blaster is...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    Replies
    0
    Views
    454
    MP1 MP2 [solved] channel numbers issue DE
    that's awesome, thank you! problem fixed. no idea how it got changed as I rarely go into the config.
    that's awesome, thank you! problem fixed. no idea how it got changed as I rarely go into the config.
    Hi, until recently i had my tv channels selectable by typing the channel number on my remote. for instance, i hit the number 9...
    Replies
    2
    Views
    711
    MP1 MP2 MP2 - V2.5 No genres after upgrade to 2.5 DE
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and music are part of the NET6 version as for NET4. If you have issues with it further infos would be good.
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and...
    Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System...
    Replies
    10
    Views
    3K
    Oh no. That's not good news. It looks like this is going to be complicated. OnlineVideos won't let us record, so that isn't going to work on this occasion, but I do like the information you have given on Online Videos because I have tried and failed to understand the wiki on that. I will remember this for future use. In the meantime...
    Oh no. That's not good news. It looks like this is going to be complicated. OnlineVideos won't let us record, so that isn't going...
    Good evening! I am trying to set up a TV channel in the TV server to show my live stream from a local camera. I am clearly doing...
    Replies
    14
    Views
    1K
    Top Bottom