[android-developers] Re: BackupAgent
If I wipe user data when I start emulator then backup works. There is a setting or something that can disable backup process? What should I do to work it on my phone too? On Jun 10, 10:35 am, b_t wrote: > Hi, > > I'm trying to implement BackupAgent functionality but I have no luck. > > It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in > my device with 2.3.3. > > In 2.3.x it just displays when I run "bmgr backup run" in adb shell: > > 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry > com.android.commands.bmgr.Bmgr > 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM > > In 2.2 emulator everything is ok! > > Do you have any idea? > > Thanks, > Tamás -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: BackupAgent
Thank you for your response. All of these options are enabled in my phone but backup still doesn't work. Maybe the problem is about my ROM, I don't know On Jun 10, 1:14 pm, Kostya Vasilyev wrote: > Ok, here is some info: > > http://developer.android.com/guide/topics/data/backup.html#Testing > > Ensure that backup is enabled > > - If using the emulator, you can enable backup with the following command > from your SDKtools/ path: > > adb shell bmgr enable true > > - If using a device, open the system *Settings*, select *Privacy*, then > enable *Back up my data* and *Automatic restore*. > - > ( strangely enough, my Xperia Arc running 2.3.3 doesn't have this setting > under Privacy but a Galaxy S does ) > -- Kostya > > 2011/6/10 Kostya Vasilyev > > > > > > > > > I remember there being some kind of user setting when configuring a new > > phone. > > > Can't say exactly what it is, might be the second from the top under > > Accounts and Sync in Settings. > > > -- > > Kostya Vasilyev > > 10.06.2011 13:01 пользователь "b_t" написал: > > > > If I wipe user data when I start emulator then backup works. > > > > There is a setting or something that can disable backup process? > > > > What should I do to work it on my phone too? > > > > On Jun 10, 10:35 am, b_t wrote: > > >> Hi, > > > >> I'm trying to implement BackupAgent functionality but I have no luck. > > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in > > >> my device with 2.3.3. > > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell: > > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry > > >> com.android.commands.bmgr.Bmgr > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM > > > >> In 2.2 emulator everything is ok! > > > >> Do you have any idea? > > > >> Thanks, > > >> Tamás > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: BackupAgent
hi, the interesting lines: Backup Manager is enabled / not provisioned / not pending init Auto-restore is enabled Last backup pass: 0 (now = 1307859545705) next scheduled: 0 Available transports: * com.google.android.backup/.BackupTransportService android/com.android.internal.backup.LocalTransport Pending init: 0 Participants: ... Ancestral packages: 8 ... Ever backed up: 0 Pending backup: 65 ... There are a lot of pending backups. On jún. 11, 18:09, dan raaka wrote: > see what you find here... > $ adb shell dumpsys backup > > -Dan > > > > > > > > On Fri, Jun 10, 2011 at 5:07 AM, b_t wrote: > > Thank you for your response. > > > All of these options are enabled in my phone but backup still doesn't > > work. > > > Maybe the problem is about my ROM, I don't know > > > On Jun 10, 1:14 pm, Kostya Vasilyev wrote: > > > Ok, here is some info: > > > >http://developer.android.com/guide/topics/data/backup.html#Testing > > > > Ensure that backup is enabled > > > > - If using the emulator, you can enable backup with the following > > command > > > from your SDKtools/ path: > > > > adb shell bmgr enable true > > > > - If using a device, open the system *Settings*, select *Privacy*, > > then > > > enable *Back up my data* and *Automatic restore*. > > > - > > > ( strangely enough, my Xperia Arc running 2.3.3 doesn't have this > > setting > > > under Privacy but a Galaxy S does ) > > > -- Kostya > > > > 2011/6/10 Kostya Vasilyev > > > > > I remember there being some kind of user setting when configuring a new > > > > phone. > > > > > Can't say exactly what it is, might be the second from the top under > > > > Accounts and Sync in Settings. > > > > > -- > > > > Kostya Vasilyev > > > > 10.06.2011 13:01 пользователь "b_t" написал: > > > > > > If I wipe user data when I start emulator then backup works. > > > > > > There is a setting or something that can disable backup process? > > > > > > What should I do to work it on my phone too? > > > > > > On Jun 10, 10:35 am, b_t wrote: > > > > >> Hi, > > > > > >> I'm trying to implement BackupAgent functionality but I have no > > luck. > > > > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or > > in > > > > >> my device with 2.3.3. > > > > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell: > > > > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry > > > > >> com.android.commands.bmgr.Bmgr > > > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM > > > > > >> In 2.2 emulator everything is ok! > > > > > >> Do you have any idea? > > > > > >> Thanks, > > > > >> Tamás > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > > > Groups "Android Developers" group. > > > > > To post to this group, send email to > > android-developers@googlegroups.com > > > > > To unsubscribe from this group, send email to > > > > > android-developers+unsubscr...@googlegroups.com > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: BackupAgent
I remember there being some kind of user setting when configuring a new phone. Can't say exactly what it is, might be the second from the top under Accounts and Sync in Settings. -- Kostya Vasilyev 10.06.2011 13:01 пользователь "b_t" написал: > If I wipe user data when I start emulator then backup works. > > There is a setting or something that can disable backup process? > > What should I do to work it on my phone too? > > > On Jun 10, 10:35 am, b_t wrote: >> Hi, >> >> I'm trying to implement BackupAgent functionality but I have no luck. >> >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in >> my device with 2.3.3. >> >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell: >> >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry >> com.android.commands.bmgr.Bmgr >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM >> >> In 2.2 emulator everything is ok! >> >> Do you have any idea? >> >> Thanks, >> Tamás > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: BackupAgent
Ok, here is some info: http://developer.android.com/guide/topics/data/backup.html#Testing Ensure that backup is enabled - If using the emulator, you can enable backup with the following command from your SDKtools/ path: adb shell bmgr enable true - If using a device, open the system *Settings*, select *Privacy*, then enable *Back up my data* and *Automatic restore*. - ( strangely enough, my Xperia Arc running 2.3.3 doesn't have this setting under Privacy but a Galaxy S does ) -- Kostya 2011/6/10 Kostya Vasilyev > I remember there being some kind of user setting when configuring a new > phone. > > Can't say exactly what it is, might be the second from the top under > Accounts and Sync in Settings. > > -- > Kostya Vasilyev > 10.06.2011 13:01 пользователь "b_t" написал: > > > If I wipe user data when I start emulator then backup works. > > > > There is a setting or something that can disable backup process? > > > > What should I do to work it on my phone too? > > > > > > On Jun 10, 10:35 am, b_t wrote: > >> Hi, > >> > >> I'm trying to implement BackupAgent functionality but I have no luck. > >> > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in > >> my device with 2.3.3. > >> > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell: > >> > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry > >> com.android.commands.bmgr.Bmgr > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM > >> > >> In 2.2 emulator everything is ok! > >> > >> Do you have any idea? > >> > >> Thanks, > >> Tamás > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: BackupAgent
see what you find here... $ adb shell dumpsys backup -Dan On Fri, Jun 10, 2011 at 5:07 AM, b_t wrote: > Thank you for your response. > > All of these options are enabled in my phone but backup still doesn't > work. > > Maybe the problem is about my ROM, I don't know > > On Jun 10, 1:14 pm, Kostya Vasilyev wrote: > > Ok, here is some info: > > > > http://developer.android.com/guide/topics/data/backup.html#Testing > > > > Ensure that backup is enabled > > > >- If using the emulator, you can enable backup with the following > command > >from your SDKtools/ path: > > > >adb shell bmgr enable true > > > >- If using a device, open the system *Settings*, select *Privacy*, > then > >enable *Back up my data* and *Automatic restore*. > >- > >( strangely enough, my Xperia Arc running 2.3.3 doesn't have this > setting > >under Privacy but a Galaxy S does ) > >-- Kostya > > > > 2011/6/10 Kostya Vasilyev > > > > > > > > > > > > > > > > > I remember there being some kind of user setting when configuring a new > > > phone. > > > > > Can't say exactly what it is, might be the second from the top under > > > Accounts and Sync in Settings. > > > > > -- > > > Kostya Vasilyev > > > 10.06.2011 13:01 пользователь "b_t" написал: > > > > > > If I wipe user data when I start emulator then backup works. > > > > > > There is a setting or something that can disable backup process? > > > > > > What should I do to work it on my phone too? > > > > > > On Jun 10, 10:35 am, b_t wrote: > > > >> Hi, > > > > > >> I'm trying to implement BackupAgent functionality but I have no > luck. > > > > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or > in > > > >> my device with 2.3.3. > > > > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell: > > > > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry > > > >> com.android.commands.bmgr.Bmgr > > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM > > > > > >> In 2.2 emulator everything is ok! > > > > > >> Do you have any idea? > > > > > >> Thanks, > > > >> Tamás > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to > android-developers@googlegroups.com > > > > To unsubscribe from this group, send email to > > > > android-developers+unsubscr...@googlegroups.com > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en