Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Overview

How to backup (and restore) your MediaPortal installation and files.

Backup

To fully backup MediaPortal you need to backup:

  • MediaPortal and TV-Server Program files - i.e. Installation Directory 
  • MediaPortal and TV-Server User files - i.e. Configuration Directory  which includes:
    • Settings (saved in XML files e.g. MediaPortal.xml)
    • Databases
    • Skins
    • Thumbs
  • TV channels, Radio stations and recording schedules (requires manual export)

For more information see Folders/File Locations 

Note: In most cases you can only restore backups if you are using the same version of MediaPortal. See Restore section below for details.

Related Plugins

Backup Settings - backup and restore all MediaPortal and TV-Server settings, or schedule backups.

Automatic backup

If you have previously installed MediaPortal, the installer can make backups of both MediaPortal and TV-Server, but NOT TV channels, Radio stations and recording schedules. These require manual export see Manual Backup below for  details.

Note: the backup options you select for MediaPortal setup apply to both MediaPortal and TV-Server

The Installer saves your settings. If you update MediaPortal again it will remember your backup options. That means if you did not enable backups previously you will not get automatic backups when reinstalling or updating MediaPortal.

  • Installation directory - where your program files are installed: e.g.
    • C:\Program Files (x86)\Team MediaPortal\MediaPortal
    • C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server
  • Configuration Directory - AKA your 'User FIles' folder (excluding thumbs folder as it can be quite large)- e.g.
    • C:\ProgramData\Team MediaPortal\MediaPortal
    • C:\ProgramData\Team MediaPortal\MediaPortal TV Server
  • Thumbs Directory - where most images for MediaPortal and extensions are stored, e.g.
    • C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs

Note: Thumbs for Recorded TV are saved to the folder you select for Recordings in TV-Server Setup > Recording. Channel logos are saved to the MediaPortal\thumbs\tv (or \Radio) folder, thus no separate setting for TV-Server thumbs is required.

Backup Folders

The backup folders are named MediaPortal or MediaPortal TV Server, followed by _BACKUP_ and the date and time the backup was made, e.g.:

  • Installation directory -
    • C:\Program Files (x86)\Team MediaPortal\MediaPortal_BACKUP_[mm]-[yy]_[hh]-[mm]
    • C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server_BACKUP_[mm]-[yy]_[hh]-[mm]
  • Configuration Directory - with or without the \thumbs folder depending on the option you selected above
    • C:\ProgramData\Team MediaPortal\MediaPortal_BACKUP_[mm]-[yy]_[hh]-[mm]
    • C:\ProgramData\Team MediaPortal\MediaPortal TV Server_BACKUP_[mm]-[yy]_[hh]-[mm]

Change your Backup Settings

If you wish to change your backup settings:

  1. Go to your temporary MediaPortal Installation folder - e.g.
    • C:\Users\\[Username]\AppData\Local\Temp\MediaPortal Installation
  2. Open the \deploy sub-folder
  3. Run package-mediaportal.exe
  4. The settings screen displayed above will display and allow you to change your backup options

Note: You may also access \deploy\package-mediaportal.exe by 

  1. using 7-zip to open the MediaPortalSetup...exe you downloaded and extract the package file and run it
  2. accessing the package file where you stored it if you used the Download Only option in installer.

Manual Backup

If you prefer, you can backup MediaPortal manually, and ensure all your old files are backed up and can be restored.

  1. Backup your User files (Configuration Directory):
    1. Go to the Windows Start Button > Programs > Team MediaPortal > MediaPortal > User Files 
    2. Press the folder up button, you will get one level up in the folder tree, where you can now see the TV-Server user files folder (if installed), as well as backup folders of old installations of MediaPortal and/or TV-Server.
    3. Backup the folders you wish
  2. If TV-Server is installed, export your TV channels, Radio stations and recording schedules list
    1. Open TV-Server Configuration, go to TV Channels,
    2. Click the Export button on the bottom of the screen
    3. Save the XML file in a safe location (preferably not within your MediaPortal folders)
  3. Backup your Program Files
    1. Backup the Team MediaPortal program files folder e.g. C:\Program Files (x86)\Team MediaPortal\ which will include both MediaPortal and TV-Server (if installed)

Note: Restricted users are not able to write to the program files folder, so you may have to place the copy in another folder.

Uninstall

If you choose to uninstall MediaPortal, either through Control Panel or the uninstall shortcuts in the MediaPortal and TV-Server program groups, your backup files will not be deleted UNLESS you perform a Full Product Cleanup. See Uninstalling MediaPortal for details.

Restore

When installing a major new release of MediaPorta, a fresh install of MediaPortal is generally recommended for trouble free installation and use.

However you can safely restore the following from your backup folders:

  • the MediaPortal Thumbs folder: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs
  • TV and Radio Channels and recording schedules you exported under Manual backups above::
    • Start TV-Server Configuration > TV-Channels > import button > select your exported xml file
  • Previous recordings:
    • Select the recording folder (see TV-Server Setup > Recording) where your recordings are stored
    • TV-Server Configuration > Recording settings > Database import

DO NOT restore the following folders and files if you are using a different version of MediaPortal:

  • InputDeviceMappings folder - e.g. C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings
  • Database folder - e.g C:\ProgramData\Team MediaPortal\MediaPortal\database
  • All XML files in the Configuration folder: e.g. C:\ProgramData\Team MediaPortal\MediaPortal
  • Installation Folder (or any sub folders): e.g. C:\Program Files (x86)\Team MediaPortal\MediaPortal

   

 

5 Kommentare

  1. rsbrux sagt:

    Is Backup Settings still worth mentioning or using?  The plugin is more than 5 years old.  i couldn't find any comments on it in the forum, the thread link on the plugin page is broken, and so is the link "Backup Settings Home Page" in the plugin configuration.

  2. Joecrow sagt:

    Yes, Backup Settings is working well for me, very useful for returning you set up completely after a fresh install.

  3. rsbrux sagt:

    Joecrow Congratulations!  If you use Expert Mode, can you tell me what the "Actions" on the MediaPortal1 tab do?

    Based on CyberSimian 's comments in this thread, it might still be wise to stop promoting it.

    1. Joecrow sagt:

      I have to confess that I never used expert mode so have no idea what the "Actions" does. I just select the destination/source folder and clink on "Export" or "Import". Regarding CyberSimian comments I do not use the scheduler just a manual from time to time, e.g. before any major system changes. If you want I will willingly give the scheduler a test with MP 1.27 and Win 10 x 64 (20H2) to confirm whether it is still working or not, let me know.

  4. rsbrux sagt:

    In Manual Backup step 1a:

    "Go to the Windows Start Button > Programs > Team MediaPortal > MediaPortal > User Files"

    appears to no longer work as of WIndows 8.1.

    Presumably the intended folder is:

    c:\ProgramData\Team MediaPortal\MediaPortal\