Fork MediaPortal on GitHub
MediaPortal Windows Media Center
MediaPortal Wiki > MediaPortal 1 > Getting Started > Installing MediaPortal > Backup and Restore

Backup and Restore

0 of 1 found this page helpful
Redirected from 1 MEDIAPORTAL 1/12 Installation/2 Updating MediaPortal

    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.

    plugin.png 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.

    BackupMP.JPG

    • 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



    Running the latest version?

    V1.8.0 - released July 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners