PolyluteDocs polylute.app

GuidesYour music

Backup and restore

Save your playlists, settings and history to one file, and put them back on this phone or a new one.

On this page

In short

  • A backup is one .pxpl file that you create and keep. It holds what you choose: playlists, settings, favourites, lyrics, history and more. It does not hold your music files.
  • You can protect it with a password. If you forget the password, there is no way to open it.
  • When you restore, you choose which sections to bring back, and whether to replace what you have or merge into it.
  • If a restore fails part way, Polylute rolls back what it changed. Polylute never sends a backup anywhere.

Make a backup

  1. Open Settings › Backup & Restore and, under Create Backup, choose Export Backup.
  2. Choose the sections to include.

    The dialog lets you tick exactly what goes in (see the table).

  3. Decide whether to encrypt it.

    Encrypt backup protects the file with a password. You will need it to restore. Use at least four characters, and keep it somewhere safe.

  4. Choose where to save the file.

    Android’s file picker asks for a place and a name. A progress screen shows each step, and ends with “Backup complete”.

The sections of a backup
SectionWhat it holds
PlaylistsYour playlists and their order.
SettingsThemes, behaviour, playback and app preferences.
Smart CollectionsYour saved rule-based collections.
FavoritesSongs you marked as favourite.
Saved lyricsLyrics you saved or imported.
Search historyRecent search terms.
TransitionsTransition rules between songs.
Listening statsPlay counts and listening time per song.
Playback historyWhen each song was played.
QuickFill genresCustom genres and their icons.
Artist and genre imagesArtist pictures and your own genre images.
EqualizerYour equalizer presets and audio profiles.

Entries that point at a song also carry its title, artist, album, length and file path. That is how a restore on another phone, or on a rescanned library, finds the songs again. The backup holds no audio.

Restore a backup

  1. Under Restore Backup, choose Import Backup and pick a .pxpl file.

    Backups you opened before are listed under Recent Backups. An encrypted one asks for its password first. A wrong password just says so and lets you try again.

  2. Look at the details and choose the sections to restore.

    The dialog shows when the backup was made, with which app version, and how many entries each section holds. Any warning, such as “legacy backup” or “made with a newer version”, is shown at the top.

  3. Choose the restore mode: Replace or Merge.
  4. Press Restore Selected.

    Sections are processed one at a time, and it ends with “Restore complete”.

The two restore modes
ModeWhat it doesUse it when
Replace (the default)Clears the sections you picked, then restores them from the backup.You want this phone to match the backup exactly.
MergeKeeps what you have and adds what is missing from the backup.You already use Polylute here and want to add the old items.

Finding the songs again

A restore matches each entry to a song in your library. It tries the song’s own identifier first (and checks it against the title and artist when the backup has them). If that fails, it tries the file path, then title, artist, album and length. When it finishes, it tells you how many were found by identifier, how many by track information and how many could not be found.

So the order that works best on a new phone is: copy your music over, include its folders and let the library scan (see Library and folders), then restore.

If something fails

  • Before it changes anything, a restore takes safety snapshots of the current state. If a section fails, the message says where, and every change already applied is rolled back.
  • A file that is damaged, too big, or not a Polylute backup is refused, with the reason.
  • A backup made by a newer version may restore only part of its data, and says so.
For the curiousLimits and encryption
  • A backup file may be up to 50 MB. A restore also refuses a file that expands beyond a safety limit, or has a suspicious compression ratio.
  • Encryption is AES-256 with a password of at least 4 characters.
  • Android’s own device backup is separate. It leaves out the settings store, the play queue and several other items, as the privacy notes list.