Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #11  
Old 2010-10-18, 13:23
richwhite richwhite is offline
 
Join Date: Sep 2010
Location: West Sussex, England
Posts: 908
Thanks!: 184
Thanked 501 Times in 240 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Will this backup everything? As in, will it save my custom icons, desktop command codes and widgets, QBW code, angry birds scores, email settings, backgrounds and home screens etc etc?
Reply With Quote
The Following User Says Thank You to richwhite For This Useful Post:
  #12  
Old 2010-10-18, 14:51
hawaii's Avatar
hawaii hawaii is offline
 
Join Date: Jun 2009
Posts: 1,030
Thanks!: 317
Thanked 792 Times in 376 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

It's a complete rootfs and optfs backup.

Yes.
Reply With Quote
  #13  
Old 2010-10-18, 15:00
richwhite richwhite is offline
 
Join Date: Sep 2010
Location: West Sussex, England
Posts: 908
Thanks!: 184
Thanked 501 Times in 240 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

And it's as simple as reboot with keyboard open, restore backup, and every single thing is back to how it was?

Will this work with 1.3?
Reply With Quote
  #14  
Old 2010-10-18, 15:37
debernardis's Avatar
debernardis debernardis is offline
 
Join Date: Dec 2006
Location: Sicily
Posts: 2,142
Thanks!: 1,540
Thanked 2,054 Times in 821 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Hello Robbie,
after I backed up with this latest method I rebooted and found my n900 completely messed up. This happened also last time I did it, with your previous version (the tar one). To be clear, I didn't try any reboot.
Now I'm restoring with your first version, the img one, which works for me by flashing the rootfs and restoring the optfs.
Do you have any hint why the simple action of backup in some way damages the filesystem? This sounds me quite strange, but it's what is happening to me.
__________________
Ernesto de Bernardis

Reply With Quote
The Following 2 Users Say Thank You to debernardis For This Useful Post:
  #15  
Old 2010-10-18, 23:20
RobbieThe1st RobbieThe1st is offline
 
Join Date: May 2010
Posts: 842
Thanks!: 347
Thanked 1,196 Times in 381 Posts
Send a message via ICQ to RobbieThe1st Send a message via MSN to RobbieThe1st Send a message via Yahoo to RobbieThe1st
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Quote:
Originally Posted by debernardis View Post
Hello Robbie,
after I backed up with this latest method I rebooted and found my n900 completely messed up. This happened also last time I did it, with your previous version (the tar one). To be clear, I didn't try any reboot.
Now I'm restoring with your first version, the img one, which works for me by flashing the rootfs and restoring the optfs.
Do you have any hint why the simple action of backup in some way damages the filesystem? This sounds me quite strange, but it's what is happening to me.
Thanks for testing. Lets see what went wrong here:

First, a sanity check: Is the outer border of the BackupMenu window -blue- or -orange-? Also, the new one should be v0.45.
My first thought is that /etc/bootmenu.d/BackupMenuLauncher.item was not removed from your test of my earlier alphas, and it "took precedence", potentially resulting in a problem.
Make sure that both BackupMenu and BackupMenuLauncher in /usr/share/backupmenu/ are infact the same version as the ones in the package I released, and that "backupmenu.item"(all lowercase) exists in /etc/bootmenu.d/ and is the only file there.

Second thing to try is installing a framebuffer kernel and watching where it dies on.
Stock: http://mohammadag.xceleo.org/public/...e-fb-omap1.bin
power40: http://mohammadag.xceleo.org/public/...ebuffer-kernel
Flash one of those to your N900 with "flasher-3.5 -k ./zImage..... -f -R", then watch it boots. Note that it slightly interferes with the graphics of BackupMenu, but its -more or less- legible even with it on.

Let me know how things work out - I'm under pressure to get this fixed and out there replacing my old version, due to that one using DD to write directly to the NAND flash of the rootfs, which, I have been told, is dangerous and should never be done. So... Yea.
Reply With Quote
The Following 3 Users Say Thank You to RobbieThe1st For This Useful Post:
  #16  
Old 2010-10-19, 04:32
debernardis's Avatar
debernardis debernardis is offline
 
Join Date: Dec 2006
Location: Sicily
Posts: 2,142
Thanks!: 1,540
Thanked 2,054 Times in 821 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Well, it was 0.45, I erased the previous version. And, my device was messed up just after the backup, without ever trying to restore.
As regards the framebuffer kernel, I'll do after making a full backup with your first version, which, although deprecated, is the only one which worked reliably for me, I mean flashing from another machine.
__________________
Ernesto de Bernardis

Reply With Quote
The Following User Says Thank You to debernardis For This Useful Post:
  #17  
Old 2010-10-19, 05:23
RobbieThe1st RobbieThe1st is offline
 
Join Date: May 2010
Posts: 842
Thanks!: 347
Thanked 1,196 Times in 381 Posts
Send a message via ICQ to RobbieThe1st Send a message via MSN to RobbieThe1st Send a message via Yahoo to RobbieThe1st
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Hm, that's weird. By "messed up", do you mean it wouldn't boot, or something else?
Also, would you mind checking if it does it upon install(i.e. conflict with something else), or upon actually making a backup(still not sure how that could happen..)

Thanks again for your help.
Reply With Quote
The Following User Says Thank You to RobbieThe1st For This Useful Post:
  #18  
Old 2010-10-19, 06:06
debernardis's Avatar
debernardis debernardis is offline
 
Join Date: Dec 2006
Location: Sicily
Posts: 2,142
Thanks!: 1,540
Thanked 2,054 Times in 821 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Quote:
Originally Posted by RobbieThe1st View Post
Hm, that's weird. By "messed up", do you mean it wouldn't boot, or something else?
Also, would you mind checking if it does it upon install(i.e. conflict with something else), or upon actually making a backup(still not sure how that could happen..)

Thanks again for your help.
I renamed the old /etc/bootmenu.d/backupmenu.item.
Then reinstalled the new 0.45 backupmenu, through untarring. No problem. Made a backup of both rootfs and optfs on the sd card. Noticed that the backup of the optfs was much smaller than the img (of course: the img includes the whole 2 gigabytes while the tar includes only the real files).

Then rebooted. When it woke up, it had a banner flashing once in a minute or the so saying the email client wasn't working, apmefo menu disappeared and the apps menu was lacking a great part of its icons.
So at least part of the /home partition was altered. Don't know if rootfs was in a trouble too.

Is it possible that the backup operation leaves the filesystem open and when shutting up it's left in an unconsistent state? But why on the optfs, while the tar file was written on the sd card?

I didn't go deeper in the issue because I needed the device, and went to restore a fortnight old backup made with your first method (img), which *is* reliable in my hands when flashing through another machine.

I don't know. Maybe it was a coincidence, and other peoples' reports can enlighten the issue. But... same thing happened when I tried your previous version, the one with tar, and two coincidences in a row are disturbing.
__________________
Ernesto de Bernardis

Reply With Quote
The Following User Says Thank You to debernardis For This Useful Post:
  #19  
Old 2010-10-19, 06:19
RobbieThe1st RobbieThe1st is offline
 
Join Date: May 2010
Posts: 842
Thanks!: 347
Thanked 1,196 Times in 381 Posts
Send a message via ICQ to RobbieThe1st Send a message via MSN to RobbieThe1st Send a message via Yahoo to RobbieThe1st
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Ok, that's something at least. Let me see...
While it does "sync" and poweroff properly, I didn't add a line to umount the optfs/rootfs after backup.
on the -restore- side, it does have it, though.

I'll add that modification and see if it fixes it.
In the meantime, would you mind trying to restore your previous images? That should work fine. Just backing up might cause a problem.

Edit: Updated version posted in first post as well as: http://robbiethe1st.afraid.org/Backu...0101019.tar.gz

Last edited by RobbieThe1st; 2010-10-19 at 06:54.
Reply With Quote
The Following 3 Users Say Thank You to RobbieThe1st For This Useful Post:
  #20  
Old 2010-10-19, 19:44
Tigerite Tigerite is offline
 
Join Date: May 2010
Location: Peterborough, UK
Posts: 284
Thanks!: 135
Thanked 320 Times in 109 Posts
Default Re: [Testers needed] BackupMenu V2 - OS backup & restore

Well I gave it a test tonight, albeit only the backup functionality, and all seems to be working. I missed the bit about deleting the original BackupMenu.item within /etc/bootmenu.d as the new version is backupmenu.item (all lower case), and so the one in extras-devel was being launched instead at first. Once I figured that out though then all went swimmingly. The new method is much faster than the old one although my rootfs tar is slightly bigger than the img. Maybe the tar's could be gzipped as well?

I'll test out restoring a bit later, if I am brave enough.. ;-)
Reply With Quote
The Following User Says Thank You to Tigerite For This Useful Post:
Reply

Tags
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:50.