How to backup your data prior to testing


I think many people are hesitant to jump into testing because everyone knows that the nightly builds are  by definition, unstable, and people already have their channels set up just as they like them.

There are two ways you can preserve and restore your data prior to starting a test run, OPML export, or by copying off your database.

Export Channels OPML

This option is built into miro and can be accomplished as easily as going to the Channels menu and selecting Export Channels (OPML)… . This will create a list of your channels and channel folders that you save off to your system. You can then import the list at any time using the Channels menu and selecting Import Channels (OPML)… .

Using this, will only save off your channel list. If you delete your database, and start over with a clean system, Importing the channels via OPML will not preserve the downloaded, watched or unwatched status of videos in each channel.

Database Backup and Restore

Currently database backup is still a manual process and the location varies with your operating system.

  • Windows XP: C:\\Documents and Settings\(you)\Application Data\Participatory Culture Foundation \Miro\Support\sqlitedb
  • Vista: C:\\Users\(you)\AppData\Roaming\Participatory Culture Foundation\Miro\Support\sqlitedb
  • OS X: /Users/(you)/Library/Application Support/Miro/sqlitedb
  • GTKX11: ~yourhome/.miro/sqlitedb

Just copy your sqlitedb file to a safe location on your system.  If something goes wrong during testing - you can do a fresh install, copy your database back to the original location, restart Miro and be back up and running.

* Note:  If you migrated your movie storage - restoring the old db would cause it to lose track of those items.

I hope these two options make you feel a little more comfortable about diving in to some of the testing builds.  If anyone out there wants to help make the backup / restore process a little less manual - reply to this post.

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Guinness World Records
Global Happy Hour

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Does the OPML export preserver channel folders?

yes

[...] About « How to backup your data prior to testing [...]

On my Güindous XP the database is not al C:\\Documents and Settings\(you)\Application Data\Participatory Culture Foundation \Miro\Support\sqlitedb
is at C:\\Documents and Settings\(you)\Program Data\Participatory Culture Foundation \Miro\Support\sqlitedb

Will preserving the sqlitedb suffice for restoring previous functionality (including saved movies)? IOW, is movie storage safe from being messed up by test versions?

How can I do a cross-platform backup?

I want to backup my Miro sqlitedb in Windows and run it in Linux, is this possible?

Thanks

Does the OPML export preserver channel folders?

Yes, the opml export/ import does preserve the channel folders.

Great idea, thanks for this tip!