Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Senior Member
    Join Date
    Dec 2010
    Posts
    134

    LMS Config backup/restore

    After just accidentally deleting my LMS installation on my NAS, and having to reinstall/reconfigure everything (I did have some prefs config files saved, though a bit old) I was wondering if anyone has created a routine or plugin that will backup all appropriate LMS server/plugin configuration files for an easier recovery?

    I assume all the prefs files for the config and plugins will be needed along with favourites and any plugin data (eg. for me it was IRBlaster configs)

    Is there anything out there, or do most people just backup the key directories as I will be doing from now on ?

    Thanks.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    LMS Config backup/restore

    > Is there anything out there, or do most people just backup the key
    > directories as I will be doing from now on ?


    I personally do backup the prefs folder as part of the backup strategy I
    have in place anyway.

    --

    Michael

  3. #3
    Senior Member
    Join Date
    May 2017
    Posts
    658
    What would be the key directories?
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  4. #4
    Senior Member
    Join Date
    Dec 2010
    Posts
    134
    Quote Originally Posted by edwin2006 View Post
    What would be the key directories?
    As a starting point I'll now be grabbing these directories and sub-dirs (based on what your 'Information' tab of your settings page says for your installation):

    Preferences Folder. /volume1/@appstore/SqueezeCenter/prefs
    Plugin Folders. /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins, /volume1/@appstore/SqueezeCenter/Plugins

    The cache of installed plugins is probably not worthwhile as that gets rebuilt, but it may be good to have a copy incase anything disappears from a repo (??)

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    LMS Config backup/restore

    > What would be the key directories?

    See Settings/Information in LMS.

    --

    Michael

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    LMS Config backup/restore

    > The cache of installed plugins is probably not worthwhile as that gets
    > rebuilt, but it may be good to have a copy incase anything disappears
    > from a repo (??)


    You'd better keep a copy of the archive file for this case. You can find
    download URLs in the repository file:

    http://repos.squeezecommunity.org/extensions.xml

    --

    Michael

  7. #7
    Senior Member
    Join Date
    May 2017
    Posts
    658
    Quote Originally Posted by kidhazy View Post
    As a starting point I'll now be grabbing these directories and sub-dirs (based on what your 'Information' tab of your settings page says for your installation):

    Preferences Folder. /volume1/@appstore/SqueezeCenter/prefs
    Plugin Folders. /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins, /volume1/@appstore/SqueezeCenter/Plugins

    The cache of installed plugins is probably not worthwhile as that gets rebuilt, but it may be good to have a copy incase anything disappears from a repo (??)
    I can work with that but where to find "cache of installed plugins"? Since I read that repo for reset volume plugin appears to be gone.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  8. #8
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    1,292
    Quote Originally Posted by edwin2006 View Post
    I can work with that but where to find "cache of installed plugins"? Since I read that repo for reset volume plugin appears to be gone.
    Cache/InstalledPlugins/Plugins

    See "Plugin Folders":

    Quote Originally Posted by mherger View Post
    See Settings/Information in LMS.
    QLMS 8.0.0@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

  9. #9
    Senior Member cathcam's Avatar
    Join Date
    Jan 2011
    Location
    Louisville, CO
    Posts
    166
    So, If I need to recover my LMS configuration again, or start over due to some problem or other, on Windows I just restore
    C:\ProgramData\Squeezebox\Cache\
    C:\ProgramData\Squeezebox\prefs\

    and then run an install and it should be recovered?
    ---------------------------
    https://ctproduced.com < Creed Taylor/CTI/KUDU
    http://markcathcart.com/about

    Running LMS Server, currently v8.0.0, (1600976618) on Headless WIN10 System; music on Netgear ReadyNAS; Transporter(Living Room)+Duet Controller; Squeezebox Touch(Master Bedroom), (2x)Boom(Office, Patio), Radio(Guest Bedroom), Classic(garage), Duet(basement). Also using Squeezeplay on Windows 10. Use Orange Squeeze app on Android.

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    LMS Config backup/restore

    > So, If I need to recover my LMS configuration again, or start over due
    > to some problem or other, on Windows I just restore
    > C:\ProgramData\Squeezebox\Cache\
    > C:\ProgramData\Squeezebox\prefs\


    I'd only care about prefs. The cache is large and would be re-built anyway.

    --

    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •