Restore Banshee database

3 Comments

After a “database disk image is malformed" error, you can try to restore it :


$ cd ~/.config/banshee-1
$ sqlite3 banshee.db ".dump" > dump
$ mv banshee.db banshee.db.backup
$ cat dump | sqlite3 banshee.db

If it doesn’t work, an other solution is to delete your banshee settings (and btw, the sqlite database). Of course, you’ll lost all your ratings and playlists :



>> mv ~/.config/banshee-1 ~/.config/banshee-1.bak
> rm -rf ~/.cache/.banshee-1


Share

3 Comments (+add yours?)

  1. Guilherme
    May 04, 2011 @ 00:09:53

    Worked like a charm! Thanks so much!

  2. Chris Pudney
    May 19, 2011 @ 04:36:52

    Thanks – problem solved.

  3. alessandro
    Jul 04, 2011 @ 12:46:17

    Thank you so much! You saved my library!

Leave a Reply