×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    32

    Problem supporting backup / restore on 3rd edition

    Hi all,
    After my messing arround trying to have my app support backup on s60 3rd edition rendered void, i decided to check it on the hello world app, and found that the simplest instructions in platsec_pc_connectivity.pdf and S60_Platform_How_To_Enable_Backup_And_Restore_For_Installed_Cpp_Applications_v1_0_en.pdf don't work.

    This is what i did:
    1. Build S60 3rd Ed. Hello World Application
    2. Write my backup_registration.xml:
    Code:
    <?xml version="1.0" standalone="yes" ?>
    <backup_registration>
    <passive_backup>
    <include_directory name = "\system\apps\test\" />
    </passive_backup>
    <system_backup />
    <restore requires_reboot="no" />
    </backup_registration>
    3. Maka sis with following PKG, and sign it with DevCert:
    Code:
    &EN
    #{"BackupTest"},(0x2000188F), 0, 1, 1
    [0x101F7961], *, *, *, {"Series60ProductID"}
    %{"Vendor Name"}
    :"Vendor Name"
    "BackupTest.exe"-"!:\sys\bin\BackupTest.exe"
    "BackupTest.rSC"-"!:\resource\apps\BackupTest.rSC"
    "BackupTest_reg.mif"-"!:\resource\apps\BackupTest_reg.mif"
    "BackupTest_reg.rSC"-"!:\private\10003a3f\import\apps\BackupTest_reg.rSC"
    "test.txt"-"!:\system\apps\test\test.txt"
    "backup_registration.xml"-"!:\private\2000188F\backup_registration.xml"
    4. Install on device, backup

    Now i tired damaging the app in several ways, each time i restored the backup i made only to discover that the damage remained:
    1. Uninstall of the BackupTest - restore did not bring it back
    2. Changing the test.txt - change i made was there after restore
    3. Removing test.txt - file wasn't there after restore
    4. Format device (*#7370#) - app was gone

    I can't even know what went wrong - backup or restore, since there's no way to read those NFB/NFC files.

    Can someone tell me what am i doing wrong?
    Did anyone manage to have his app backed-up and restored successfully?

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    32

    Re: Problem supporting backup / restore on 3rd edition

    I've just discovered that backup doesn't work for other software on the device as well.
    I know for sure that a certain app on the memory card has the backup_registration.xml file, but when i tried doing backup and then restore to a different memory card, it didn't restore.

    I guess this is a question to Forum Nokia then:
    Is backup / restore functionality working for 3rd Edition?

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    393

    Re: Problem supporting backup / restore on 3rd edition

    Hi,

    Backup restore works. \System folder, due to legacy reasons is considered a special one and is not backed up.

    The idea is to get all developers to move public data from \system\data to \Data on S60 3rd Edition.

    Also note introduction of sbdefs.h for backup-restore related notification in the S60 3.0 MR SDK.

    Regards,
    Nitin

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    32

    Re: Problem supporting backup / restore on 3rd edition

    Hi,

    I've moved my files out of /System to /data but still backup doesn't work.
    Did u manage to have backup work for you? in what device?

Similar Threads

  1. Midlet Icon problem in S60 3rd Edition
    By Amr_Monsef in forum Mobile Java General
    Replies: 40
    Last Post: 2010-11-04, 07:46
  2. Problem with FILETEXT in PKG file for S60 3rd Edition
    By horsten in forum Symbian Tools & SDKs
    Replies: 10
    Last Post: 2008-01-23, 11:01
  3. Replies: 3
    Last Post: 2008-01-11, 04:53
  4. Problem with RadioButton 3rd Edition
    By Matute_CR in forum Symbian
    Replies: 2
    Last Post: 2007-05-09, 17:34
  5. VA_START / VA_END problem compiling 3rd edition beta GCCE
    By iulian_moldovan in forum Symbian
    Replies: 1
    Last Post: 2005-12-15, 19:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×