MediaPortal Forums HTPC/MediaCenter
Old 2008-09-27, 00:38   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 185
Thanks: 10
Thanked 107 Times in 35 Posts


Default BackupSettings for Tv Server and Media Portal

BackupSettings V1.0.4.4 released on 09.Feb.2010

- No more manual typing of user settings after a clean reinstall of TV Server and Media Portal
- The plugin will export all TV Server user settings into a .xml file, which can be imported after a clean install
- This includes the settings of cards, TV channels, radio channels, tv groups, radio groups, schedules, recordings, EPG data, general settings, recording settings and plugin settings.
- It also creates a backup of your Media Portal user settings, plugins, skins, input device mappings, thumbs and the database.
- the plugin can be used with or without Tv server installation

Requirements:
MediaPortal/TV Server 1.0 final or 1.0.1 or 1.0.2 or 1.1beta or SVN
Windows XP SP3 , Vista SP2 or Windows 7 (32bit or 64 bit)


Standard installation paths
Remark: In version MP1.0.1 and MP1.0.2 some plugins and skins do no more work due to code changes in Media Portal. If you upgrade to this version please check the plugin and skin homepages for updates after the installation. The MediaPortal and TV server log files will give you more information of which plugin did not work.

Remark: The same is true if you upgrade to MP1.1 from an older version. For this version the databases cannot be reused and must be recreated. In the Tv Server configuration go to “Recording Settings” -> “Database Import” and click “Import selected files”. In the Mediaportal configuration go to Music->Music Database and remove the checkbox “Only update new”. Then click “Update database”. Other databases may need to be regenerated as well.

Remark: Another major change on MP occurred between Mp1.1 alpha and Mp1.1beta1.
Again Plugins and Skins may not work if you switch between those versions.

Installation for all users:
- Start the MediaPortal Extension Installer (MPEI) which can be found in your MediaPortal program directory and install BackupSettings
- In the BackupSettings Installer window click "Install" (make sure you read the manual)
- After the installation exit the installer, finish, and enable the plugin in the TV server configuration if you have TV server installed (default for most users) or in the MediaPortal -> Other Plugins section if you have a Client only installation

For Users with a TV Server only Installation: The MPEI installer will unzip all files in the
%PROGRAMDATA%\Team MediaPortal\MediaPortal\Installer\BackupSettings folder. If
you have a computer with a TV server only installation you can copy this folder to the TV
server and install it there.

Quick Usage:
Select a foldername for the backup directory
Check TV Server if you want to backup / restore the TV server user settings
Check Media Portal if you want to backup / restore Media Portal user settings
Hit the "Export button" to backup your current settings. The data structure of the backup directory will be explained in the manual
Hit the "Import" button to restore all your current settings from a previously saved backup folder
Before you upgrade to a new MediaPortal Version make sure you did an export with the latest BackupSettings plugin version

Version History:
Version 1.0.4.4 released on 09.Feb.2010
- fixed bug in progress bar causing exception and avoided restart of TV server configuration
– added support for TvWishList plugin
– changed directory from TV_PROGRAM to TV_USER for EmailScheduler plugin
– added IPTV channels for import from mvedrina patch

Version 1.0.4.3 released on 20.12.2009
– fixed bug in Installer for unistalling the TV server plugin
– added Win7 64 bit support for autodetection of Program Files (x86)
– colored text in status window for warnings and errors
– MediaPortal Plugin directory search for the MediaPortal plugin
– supported new dll files from SVN1.0.4.24281 for recording and program structure

version 1.0.4.2 released on 10.11.2009
- compatible to latest SVN(tested with 24047) fixing crash during data import
- improving card detection algorithm for changed plug positions
- added progress bar for import/export
- code cleanup of import/export subroutine
- updated MP client version with improved installation routine
Version 1.0.4.0 released on 01.10.2009
- mpi installer is unzipping all files into the Media Portal config directory (%PROGRAMDATA
%) and not into the MediaPortal program directory
– old MediaPortal program directories are being deleted
– fixed autodetection in installer for non English/German XP version in MP1.1beta (thanks to RADPI)
– added CultureInfo.InvariantCulture for DateTime Conversion in export function (thanks to animale81)
– improved robustness of import function for dateTime conversion
– default path C:\MediaPortal Backups used for backup directory

Check the manual for older Version History
Attached Thumbnails
BackupSettings for Tv Server and Media Portal-backupsetting0.jpg   BackupSettings for Tv Server and Media Portal-backupsetting1.jpg   BackupSettings for Tv Server and Media Portal-backupsetting2.jpg   BackupSettings for Tv Server and Media Portal-backupsetting3.jpg   BackupSettings for Tv Server and Media Portal-backupsetting4.jpg  

Attached Files
File Type: zip BackupSettingsV1.0.4.4.zip (10.96 MB, 345 views)

Last edited by huha; 2010-02-09 at 22:45.. Reason: New Release 1.0.4.3
huha is offline   Reply With Quote
Old 2008-09-27, 11:29   #2 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post


Default

great !
efla is offline   Reply With Quote
Old 2008-09-27, 12:14   #3 (permalink)
MP Donator
 
Ruud's Avatar
 
Join Date: Dec 2004
Posts: 216
Thanks: 10
Thanked 2 Times in 2 Posts

Country:

My System

Default

Super, this will add some 'joy' to installing and switching between SVN`s.
Thanks.
Ruud.
__________________
HTPC Client I + Server: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Custom Build Case, 2,5" SATA 120GB, GeForce 8500GT (PCI) 256MB, NEC Slot-in DVD, 7" touch screen, 32" Samsung LCD, TechnoTrend CT3650CI
HTPC Client II: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Procase Noah, 3,5" SATA 160GB, GeForce 6200 (PCI) 256MB, 22" LCD
Ruud is offline   Reply With Quote
Old 2008-09-27, 17:42   #4 (permalink)
MP Donator
 
Ruud's Avatar
 
Join Date: Dec 2004
Posts: 216
Thanks: 10
Thanked 2 Times in 2 Posts

Country:

My System

Default

Hi Huha,
just a first feedback: because I have a TV Server only setup, it the plugin keeps asking me where to find mediaportal.exe (which is not on the system).
Backup works, although I can only conform when I also do a restore
Thanks again.
Ruud.
__________________
HTPC Client I + Server: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Custom Build Case, 2,5" SATA 120GB, GeForce 8500GT (PCI) 256MB, NEC Slot-in DVD, 7" touch screen, 32" Samsung LCD, TechnoTrend CT3650CI
HTPC Client II: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Procase Noah, 3,5" SATA 160GB, GeForce 6200 (PCI) 256MB, 22" LCD
Ruud is offline   Reply With Quote
Old 2008-09-27, 23:44   #5 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 185
Thanks: 10
Thanked 107 Times in 35 Posts


Default

efla, Ruud,
thanks a lot for your comments. I am very glad to hear that you like it.
Ruud, i just did a bugfix and hope it will work for you. The plugin will now only nag you about the Media Portal directory if the checkbox Media Portal is checked. This will no more be during plugin activation, but when you do an actual import or export operation. So for a TvServer installation without Media Portal you just must never mark the MediaPortal checkbox.

edited:
I removed the old attachement. The latest version of the plugin should be used.

Last edited by huha; 2008-10-11 at 18:20.. Reason: removed attachment
huha is offline   Reply With Quote
Old 2008-09-28, 09:33   #6 (permalink)
MP Donator
 
Ruud's Avatar
 
Join Date: Dec 2004
Posts: 216
Thanks: 10
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by huha View Post
efla, Ruud,
thanks a lot for your comments. I am very glad to hear that you like it.
Ruud, i just did a bugfix and hope it will work for you. The plugin will now only nag you about the Media Portal directory if the checkbox Media Portal is checked. This will no more be during plugin activation, but when you do an actual import or export operation. So for a TvServer installation without Media Portal you just must never mark the MediaPortal checkbox.
Huha, thanks for your patch. Will test it in a minute. It works!
Just did a reinstall of the sept. 14th SVN because of reported bug in current SVN... so time to test the restore part of your plugin.
Just two minor issues:
1. I do not use the host name but rather my IP address to connect to the server. So a fresh install defaults to host name and restore is not possible because it says that it does not match the host name of the backup, workaround: set tv cards to IP address and then restore.
2. the 'recording settings' -> 'Custom path and file name' are not restored
3. the plugins are not activated and not restored (e.g. conflicts manager, comskip, xmltv) had to do these by hand.

For the rest it works very well: I used to use export (on the channel settings) and then import, but this plugin does so much more!
Thanks,
Ruud.
__________________
HTPC Client I + Server: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Custom Build Case, 2,5" SATA 120GB, GeForce 8500GT (PCI) 256MB, NEC Slot-in DVD, 7" touch screen, 32" Samsung LCD, TechnoTrend CT3650CI
HTPC Client II: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Procase Noah, 3,5" SATA 160GB, GeForce 6200 (PCI) 256MB, 22" LCD

Last edited by Ruud; 2008-09-28 at 09:43.. Reason: patch 0.0.0.2 works!
Ruud is offline   Reply With Quote
Old 2008-09-28, 13:36   #7 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 185
Thanks: 10
Thanked 107 Times in 35 Posts


Default

Ruud,
I will add in the next version a message box, where the user can decide to abort if the server name from TVsettings.xml does not match the actual server name or continue with the import. In the meantime you can edit the file TVsettings.xml in your backupdirectory (do not use the file from the Team MediaPortal\MediaPortal TV Server directory!) with Notepad and change in line 3 the HostName="192.168.xxx.xxx" to HostName="your computername". Then the import should work fine.

I do not understand why the custom paths and file names are not restored.

Also the plugin settings for conflicts manager, comskip, xmltv should get imported. This is independent of having your plugins enabled or disabled. The program will do the export/import for the supported plugins if it finds the corresponding .dll files in the TvServer plugin directory. During debug i found a few issues with importing plugins:
- the conflicts manager plugin can only use AnalyzeMode fast. Whenever i switch to a different mode it will be changed back by the plugin. This should be an issue with conflict manager (version 1.0.0.1).
- the TV Movie EPG import plugin does not reload the channel mappings whenever it gets activated (only during complete initialization of the plugin). That´s why this plugin needs to be disabled manually before data import. If someone has an idea how to do disable and enable plugins automatically by code please let me know.
- the xmltv channel mapping is not supported yet by my plugin. I will work on that in the future.

In order to trace your issues 2. and 3. I would need your exported TVsettings.xml file (Server, cards and plugin sections) and your Tv server tv.log file being generated during the import.
huha is offline   Reply With Quote
Old 2008-09-29, 14:14   #8 (permalink)
Portal Member
 
Join Date: Aug 2007
Location: Milano
Age: 40
Posts: 184
Thanks: 35
Thanked 10 Times in 10 Posts

Country:

My System

Default

Really useful!
Thanks!
Cybertex is offline   Reply With Quote
Old 2008-09-29, 19:31   #9 (permalink)
MP Donator
 
Ruud's Avatar
 
Join Date: Dec 2004
Posts: 216
Thanks: 10
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by huha View Post
Ruud,
I will add in the next version a message box, where the user can decide to abort if the server name from TVsettings.xml does not match the actual server name or continue with the import. In the meantime you can edit the file TVsettings.xml in your backupdirectory (do not use the file from the Team MediaPortal\MediaPortal TV Server directory!) with Notepad and change in line 3 the HostName="192.168.xxx.xxx" to HostName="your computername". Then the import should work fine.
Okay, found a work around that I before importing first set the hostname to IP, then import works.

Quote:
Originally Posted by huha View Post
I do not understand why the custom paths and file names are not restored.

Also the plugin settings for conflicts manager, comskip, xmltv should get imported. This is independent of having your plugins enabled or disabled. The program will do the export/import for the supported plugins if it finds the corresponding .dll files in the TvServer plugin directory. During debug i found a few issues with importing plugins:
- the conflicts manager plugin can only use AnalyzeMode fast. Whenever i switch to a different mode it will be changed back by the plugin. This should be an issue with conflict manager (version 1.0.0.1).
- the TV Movie EPG import plugin does not reload the channel mappings whenever it gets activated (only during complete initialization of the plugin). That´s why this plugin needs to be disabled manually before data import. If someone has an idea how to do disable and enable plugins automatically by code please let me know.
- the xmltv channel mapping is not supported yet by my plugin. I will work on that in the future.

In order to trace your issues 2. and 3. I would need your exported TVsettings.xml file (Server, cards and plugin sections) and your Tv server tv.log file being generated during the import.
Okay, will do a test and report back. Currently I have some recordings ahead. Because last two SVN's broke recording and I am using my MP installation in a 'production environment', I am not to mess with this installation for a couple of days, otherwise my uptime KPI will drop and I will suffer severe consequences (at least that is what my wife told me) LOL.

Will get back to you via this thread, thanks for your energy so far
regards,
Ruud.
__________________
HTPC Client I + Server: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Custom Build Case, 2,5" SATA 120GB, GeForce 8500GT (PCI) 256MB, NEC Slot-in DVD, 7" touch screen, 32" Samsung LCD, TechnoTrend CT3650CI
HTPC Client II: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Procase Noah, 3,5" SATA 160GB, GeForce 6200 (PCI) 256MB, 22" LCD
Ruud is offline   Reply With Quote
Old 2008-10-04, 11:36   #10 (permalink)
MP Donator
 
Ruud's Avatar
 
Join Date: Dec 2004
Posts: 216
Thanks: 10
Thanked 2 Times in 2 Posts

Country:

My System

Default Requested feedback

Hello Huha,

just upgraded to the latest SVN.... time to put your plugin to the test.
the recording settings not being restores is not true: the restored custom paths are only visible after restarting the tv service setup application.
The plugins are not restored, had to do them manually (not a big issue, but nevertheless...)
requested files are attached.

Thanks again.
Ruud.
Attached Files
File Type: xml TVsettings.xml (76.7 KB, 139 views)
__________________
HTPC Client I + Server: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Custom Build Case, 2,5" SATA 120GB, GeForce 8500GT (PCI) 256MB, NEC Slot-in DVD, 7" touch screen, 32" Samsung LCD, TechnoTrend CT3650CI
HTPC Client II: Jetway J7F3E Mini-ITX, AMD Geode NX1750, 1GB, Procase Noah, 3,5" SATA 160GB, GeForce 6200 (PCI) 256MB, 22" LCD
Ruud is offline   Reply With Quote
Reply

Bookmarks

Tags
backupsettings, media, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/mediaportal-plugins-47/backupsettings-tv-server-media-portal-45715/
Posted By For Type Date
9 plugins du inte får missa till Mediaportal This thread Refback 2009-11-07 13:03

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin to Restart TVServer or PC? megadofer MediaPortal Plugins 1 2008-09-03 11:44
TVServer ConflictManager plugin what does it do? sebastianp Television (MyTV frontend and TV-Server) 0 2007-07-24 05:36
EPG using Zapit plugin with TVserver problem marsman2007 zap2it (discontinued) 1 2007-07-18 21:10
where is tvserver plugin for mp? stryker Television (MyTV frontend and TV-Server) 1 2007-05-02 21:40
tvserver stopped because tvmovie-epg-plugin josu fixed TV-Server / Client Bugs 3 2007-02-03 15:27


All times are GMT +1. The time now is 12:11.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden