Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use sites like, but because I'm often moving from OS to OS, and mostly listen to music on an mp3 player, most of my listening data gets lost.

Is there any way I can backup Banshee's listening history, and restore it on a new install?

share|improve this question
up vote 6 down vote accepted

The database is a SQLite db sitting at:


You can carry that around where you like with one caveat: You can never take a version that has run on a newer version of banshee to a computer that has an older version.

They constantly change the database layout and only provide one-direction migration code so once you run it on a newer version, that's it. All your computers need to run that version.

share|improve this answer
I should add that and Banshee's database are two completely different things. You can log into from multiple machines without the same library. – Oli Oct 20 '10 at 22:46

Oli is quite right, but as an alternative, if you go to Edit->Preferences with Banshee, on the General tab there is an option to "Write ratings and play counts to files".

This means you don't have to worry about moving Banshee's config files around - Banshee can read the play count directly from the mp3/audio file - whichever Ubuntu install you using.

(Note: your MP3 player, and programs other than Banshee probably won't look at this.)

Banshee screenshot

share|improve this answer
I also don't think this is retroactive. In order for a play count to get written to file, it has to be played after this is set. And it doesn't count as a "play" unless it's 30 seconds of playtime IIRC. – Oli Oct 21 '10 at 22:48
Note: If you gapless mode turned on then "plays" are counted slightly differently, something like as soon as you start playing them. – 8128 Oct 22 '10 at 6:54
@fluteflute When the song starts and sometimes again when it ends. That's a bug in Banshee's gapless implementation. :( – Michael Martin-Smucker Nov 7 '11 at 17:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.