Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Backup & Restore of public files in the C:\System folder is not supported (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Issue applies to out of scope platform versions.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 2 (07 Jul 2006)
Last edited: hamishwillee (24 Apr 2013)


Backup & Restore of public files in the C:\System folder is not supported


Backup & Restore of public files in the C:\System folder is not supported although the C:\System folder is not considered a private or access-controlled folder by the data caging configuration.

Developers should use, for example, C:\Data as the path for public files that are registered for Backup & Restore by their application.
Please read the document PC Connectivity - How To Write Backup Aware Software for Symbian for general information about Backup & Restore.

The following code example registers files in the public area for Backup & Restore. The files will be first searched from the installation drive of the application and then from other drives. Please note that the file in \System\Data will not be backed up if the file resides on the C drive.

<?xml version="1.0" standalone="yes"?>
<include_directory name="\" />
<!-- The first file will not be backed up from C-drive! -->
<include_file name="\System\Data\backmeup.txt" />
<!-- Files residing in C:\Data will be backed up also from C-drive -->
<include_file name="\Data\backmeup_2.txt" />
<restore requires_reboot = "no"/>
This page was last modified on 24 April 2013, at 00:50.
75 page views in the last 30 days.