Backup Miro linux
From Miro User Documentation
Contents |
Introduction
Unfortunately sometimes your system might crash, or under rare circumstances, you might loose your channels in Miro due to a bug. And with the large amount of channels out there the list of channels you have subscribed to might end up getting rather large, so being able to easily add your channels back would something go wrong is a valuable thing. This is also useful if you want to copy over channels from one computer or operating system to another.
The simplest way to back things up is to export your channels as an OPML file. This way you can use this to recreate your channels on another system running Miro or in any RSS feed reader. This is shown below.
If you want to be able to recreate the entire system with video, and all of the meta data associated with that you need to follow the instructions on backing up your system below.
Export Feeds
To export your feeds go to "Channels" then click on "Export Channels (OPML)" to export them. Save this file somewhere safe so that you can use it to restore your channels should something go wrong.
Import Feeds
Then if you need to use the OPML backup file then all you have to do is click on "Channels" and then click on "Import Channels (OPML)". Then navigate to find the file that you saved to restore all the channels that you backed up.
Backup Miro Settings
If you want to be able to preserve everything that you have in Miro then you need to back up the .miro directory in the /home directory for your user. This could be done from a comand prompt as follows:
mkdir mirobackup #make a directory for backups
cp -av ~/.miro mirobackup/
If you would like you be more selective with regards to what you backup, read on. Here are the components of Miro located in ~/.miro, that you can decide whether or not you want to back them up:
- icon-cache - cache of all the images of from the different channels you are subscribed to. No need to backup since this can be recreated.
- miro-log - log of the errors that Miro has encountered. No need to backup.
- Movies - all the video that you have downloaded. You would probably want to back this up.
- mozilla - setting for the guide, such as login etc. No need to backup since this can be recreated.
- sqlitedb - database of files in Miro, whether they have been watched, when it was watched, etc. You would probably want to back this up.
So the main two things to back up are the Movies directory and the sqlitedb file. Of course the easiest thing is to just copy the ~/.miro as described above.
Restore Miro Settings
Then to recover an old backup of Miro just copy the backup .miro back to your home directory. For example:
rm -fr ~/.miro #remove the current Miro settings
cp -av ~/mirobackup/.miro ~/.miro

