×
Namespaces

Variants
Actions

How to make an application backup and restore

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: User:Bamberro (01 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)

Applications installed on Symbian 3rd edition devices are not backed up (during device's back-up) by default. In order for an application to be backed up and later restored the following has to be done:

1) create a file named backup_registration.xml, with the following content:

<?xml version="1.0" standalone="yes"?>
<backup_registration>
<system_backup/>
</backup_registration>



2) include this file in project's pkg file, so that it is installed in application's own private folder

"backup_registration.xml" - "!:\private\<UID>\backup_registration.xml"

where <UID> is the UID of the installed application Note: more information about private folders and data caging can be found here: Data caging



 3) Note that you also need to add an additional piece of XML like this to backup_registration.xml if you want to back up any files installed by your SIS file to the \private\ folder:

<passive_backup>
<include_directory name="\" >
</passive_backup>


Otherwise you will end up with an incompletely restored installation.


More details can be found in this tutorial on NewLC or in Archived:Enabling backup and restore for installed C++ applications.

Related articles

Archived:Backup of add-on DLLs on Symbian

This page was last modified on 26 July 2012, at 06:07.
55 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×