maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1) (https://talk.maemo.org/showthread.php?t=63975)

RobbieThe1st 2010-11-20 07:51

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Thanks, Necc.

Lets see - This topic needs a bit of a bump here.

Tigerite 2010-11-20 08:03

Re: [Announce] BackupMenu V2 - OS backup & restore
 
How's the ubinize integration coming along, Robbie? I'd love to see that feature - really all that's missing for me now.

debernardis 2010-11-20 08:33

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Yes, +1, also because my beloved version 0.32 doesn't work any more - and without a rootfs to flash I feel like Linus (not Torvalds, the other one) without his blanket ;(
http://static.eventful.com/images/bl...752/560-3.jpeg

RobbieThe1st 2010-11-20 08:42

Re: [Announce] BackupMenu V2 - OS backup & restore
 
You know, you can always install mtd-utils on your n900 and do it manually...
The only difference between that and the final product is that the final product will do it for you.

Actually, the big thing I'm going to have to worry about when implamenting this is "how do I store the data for making the image?".
I may be able to simply use mkfs.ubifs and use the mounted rootfs as my root folder, or I might have to make a loopback ext2 partition in MyDocs, copy all files to that, then use that as the root folder.

Tigerite 2010-11-20 17:10

Re: [Announce] BackupMenu V2 - OS backup & restore
 
I do do it manually with a script, but I can't imagine why mkfs.ubifs won't just work on the mounted rootfs, as that's exactly what I do, just I have to untar what BackupMenu already tarred in the first place (which does take quite some time)?

If I could figure out how to add the libs so that the script can utilise them, I'd gladly try and implement it myself :)

RobbieThe1st 2010-11-20 20:43

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Lets see... "/usr/share/backupmenu/BackupMenuLauncher.item" is the file that loads all libs and other files. You can just add lines to load whatever you want from the rootfs(/) to the ramdisk (/tmp/disk/).

You can also add lines to the hidden testing mode of BackupMenu so you've got a letter you can work from. Look inside "BackupMenu.item" in the same folder, and search for a comment that says something like "user code goes here". Above it, you should see #x, x being the letter you'd type to use that code. Also, there's some example lines in there, mostly commented out, so you can see how these things work.

009N 2010-11-21 06:42

Re: [Announce] BackupMenu V2 - OS backup & restore
 
I was trying to set up a dual boot environment with multiboot. According to this post http://talk.maemo.org/showpost.php?p...&postcount=217
issuing dpkg -i <backupmenu> --ignore-depends=bootmenu-n900 could force install it so that it can coexist with multiboot.
Here is the error dump:
Code:

Selecting previously deselected package backupmenu.
(Reading database ... 56336 files and directories currently installed.)
Unpacking backupmenu (from .../backupmenu_0.56-1_all.deb) ...
dpkg: error processing --ignore-depends=bootmenu-n900 (--install):
 cannot access archive: No such file or directory
dpkg: dependency problems prevent configuration of backupmenu:
 backupmenu depends on bootmenu-n900; however:
  Package bootmenu-n900 is not installed.
dpkg: error processing backupmenu (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 --ignore-depends=bootmenu-n900
 backupmenu

I have made a backup and want to keep the program for emergency in case things go wrong with multibooting.
Any idea how to do that? Thx :D

RobbieThe1st 2010-11-21 06:54

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Try "dpkg --ignore-depends=bootmenu-n900 -i <backupmenu>"?
Or, provided you have installed gnu-tar already, "dpkg --force-depends -i <backupmenu>".

009N 2010-11-21 07:59

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Quote:

Originally Posted by RobbieThe1st (Post 879237)
Try "dpkg --ignore-depends=bootmenu-n900 -i <backupmenu>"?
Or, provided you have installed gnu-tar already, "dpkg --force-depends -i <backupmenu>".

Thank you! The first command works.
I will post back IF :D restore works when the dualbooting filesystems gets messed up.

[EDIT]
The N900 reboots right into the rootfs itself without showing Backupmenu's boot menu, although the installed package is in place. So..?

debernardis 2010-11-21 08:03

Re: [Announce] BackupMenu V2 - OS backup & restore
 
Robbiethe1st, do you have any hint why the old ver 0.32 cannot exit the dd command any more? When I try a img backup, it stalls at ninety-something percent and never reaches the end; I am forced to pull out the battery to stop, and the resulting img is the right size, however.
Similarly, when restoring, it also stalls, this time at 100%, but seems caught in a loop and never exits.

Is it my NAND who's got a flu? Or maybe you can hypotesize another reason?


All times are GMT. The time now is 05:10.

vBulletin® Version 3.8.8