Import/Export



There are two different ways of importing/exporting data with reYmote:
 * database export (.ydb)
 * xml export (.yxml)

Backups will be stored in the backup directory. Exported XML configurations will be stored in the export directory.

Import is only available in the pro version of reYmote.

=How to import= Both types of backups are imported by selecting "Import Data" from the Information-Screen. The dialog will open in the applications data directory where your backups/exports are stored. Simply browse to the directory where the file to import is located, select it and press "Select". This will take you to the specific import screen.

=Database import/export (.ydb)= The database export feature lets you export the entire reYmote configuration database. This is useful if you want to backup your configuration or load your complete configuration on another device.


 * The database can be exported from the Profile-List.
 * The imported data will be available as a new profile in the Profile-List.

=XML import/export (.yxml)= The XML feature lets you move parts of you configuration to other devices. This is useful if you want to share parts of your configuration with your friends or just add new configuration entries to one of your other Androids.

To export certain data from your installation you need to select what to export first. To do so:
 * navigate to a configuration list (Remotes/Devices/Commands)
 * press the menu button
 * choose "Multi-Select on"
 * select entries from the list
 * press the menu button again
 * choose "Export as XML" and confirm

The exported data also contains the entries referenced by the chosen entities. This basically means that, exported...:
 * commands include the referenced device configurations
 * remotes include the referenced device and command configurations

To share your configuration you can move the yxml file to another device and import the configuration.

XML import screen
The XML import screen shows counts of the entries to import. The most important numbers shown are the new entries and duplicates.

The new entries are those which will effectively by imported when you click "Import Backup".

The duplicates are entries which already exist in your current reYmote configuration. The duplicate detection helps you keep you reYmote configuration clean as e.g. new commands for a certain device will be linked to the existing device configurations. For checking equality the entries IDs will be used. Device configurations containing same data but different IDs will be imported, created and linked to the new commands (if any).

reYmote XML format
The current version of the xml schema can be found under http://xsd.reYmote.com.

UUID IDs
http://en.wikipedia.org/wiki/Universally_unique_identifier

IDs in reYmote xml documents are UUIDs. To make the App create a new object upon import simply use the keyword new or create a random UUID.

A UUID generator can be found here: http://www.famkruithof.net/uuid/uuidgen

Here is an example which will always create a new PC entity upon import: 

=Important Notes=
 * Background images are not included in backups and exports.
 * Data (images,backups and exports) is stored in /mnt/sdcard/Android/data/at.geekazoid.mobile.ymote.*/*.
 * Duplicates are not checked for changes. Edited entries will not be updated when importanting newer ones from XML.