Archived:Backup & Restore of public files in the C:\System folder is not supported (Known Issue)
Article Metadata
Compatibility
Article
Overview
Backup & Restore of public files in the C:\System folder is not supported
Description
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"?>
<backup_registration>
<passive_backup>
<include_directory name="\" />
</passive_backup>
<public_backup>
<!-- 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" />
</public_backup>
<system_backup/>
<restore requires_reboot = "no"/>
</backup_registration>

