Active Topics

 



Notices


Reply
Thread Tools
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#1
What is BackupMenu?
BackupMenu is an application for your N900 which creates an "image" of your OS, which you can later restore, bringing all the programs, settings and configuration to the -exact- way it was when you made the backup. This does not backup your MyDocs or SD card - It backs up -to- those disks.
Unlike the Nokia backup utility, this does not require internet access to restore, and does not download anything during the restore process.
Also, for those who like to tinker, BackupMenu V2 provides an excellent method for reading and writing RootFS images.
Pictures:



Can I use Multiboot with BackupMenu?
Sort of. I do not support it, but I know it's been done with a little bit of custom configuration.
In addition, mido.fayad has produced custom packages with the needed changes located [url=http://talk.maemo.org/showthread.php?t=67866]Here[/b]. That's also the place to ask questions and make suggestions about multiboot; I don't use or approve of it(For reasons I've explained in detail elsewhere).

Can I use uBoot with BackupMenu?
Yes, I believe so. It's not integrated into uBoot, per se, but it shouldn't cause any conflicts.

A couple of other users have been working on making an integrated launcher module for uBoot, and there's a tutorial here: http://talk.maemo.org/showpost.php?p=1072789&postcount=915

Can I restore my old BackupMenu images from v0.3x?
No. They are incompatible, and while it would be possible to make a way to flash them, the whole reason I switched to this new method is that I was told by various knowledgable people - like Stskeeps - that restoring images the old way is dangerous and can cause corruption in the NAND. So, no, you are going to have to make -new- images. Sorry.

Can I restore my BackupMenu images through the Nokia Flasher?
Not currently. This is a planned feature, but not in the current version. It -is- possible to convert a BackupMenu image to a Nokia Flasher rootfs image, but it requires a Linux PC with mtd-utils.
Once you have that, the process is as follows(Note, based on this, from Stskeeps:
Code:
#make a temp dir:
mkdir rootfs
#Extract your rootfs tarball:
tar xf *date*-rootfs.tar -C ./rootfs/
#Now, make a file called "ubinize.cfg", edit it, and paste the contents of *note 1*
#Make a ubifs image with our rootfs contents:
mkfs.ubifs -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img
#Package it up:
ubinize -o ./rootfs.img ubinize.cfg -m 2048 -p 128KiB -s 512
#...And write it to your N900:
flasher-3.5 -r ./rootfs.img -f -R
Note 1:
Code:
[ubifs]
mode="ubi"
image="./base.ubi.img"
vol_id="0"
vol_size="200MiB"
vol_type="dynamic"
vol_name="rootfs"
vol_alignment="1"
vol_flags="autoresize"
NOTE: different versions of mtd-utils sometimes make corrupt images. I find "mtd-utils_20090606-1_amd64.deb" worked for me.

Flashing instructions:
Flashing with BackupMenu installed isn't a problem:
1. Power off and unplug your n900
1. Download and ready the flasher - run your command such that it says "Cannot find suitable device - waiting".
3. Plug your n900's usb cable in. The device will now boot, then automatically flash. You do -not- need to press the U key.

Upgrade instructions(for 0.3x):
1. type "sudo gainroot", then "rm /etc/bootmenu.d/BackupMenu.item"
2. follow the install instructions below.

Install instructions:
1. Enable extras-devel
2. Install "backupmenu"
3. Reboot with the keyboard out to display BackupMenu. Reboot with the keyboard IN to -not- display BackupMenu.
4. Backup images will be stored as .tar (or .tar.gz) files inside *drive*/systemBackups/

You can also get the latest here:
http://robbiethe1st.afraid.org/BackupMenu/
Look for the .deb package with the highest version.
Install it by downloading it to your N900, opening up a terminal and:
Code:
sudo gainroot
apt-get install bootmenu-n900 tar-gnu i2c-tools
apt-get remove --purge backupmenu  #Needed if you have installed a previous version.
cd MyDocs
dpkg -i ./backupmenu*version*.deb
Latest version: 1.1
Other:
Here's a rootfs image from my N900 with BackupMenu 0.50-3 installed: flashable_rootfs_v0.56-1-20101109.img. This image can be flashed with the Nokia flasher, significantly reducing restore time if you have a "bricked" system.

Password Protection
As of v0.65, BackupMenu has password protection support.
To enable the password lock, run "touch /usr/share/backupmenu/lock-enable.txt" as root. Backupmenu will now ask for your root password.
If you want backupmenu to have a different password, simply add the DES-encrypted password(in the same format as /etc/passwd) to lock-enable.txt. Make sure there is [i]nothing[/b] else in the file; if it's not /exactly/ 13 characters in length it will ignore it.

Notes:
Version 0.56 is the latest -tested, working- version.
Version 0.60 has just been released and -may- have bugs.
Version 0.61 may not launch for some people if /usr/bin/tar is a symlink.
Version 0.62 should work right.
Licence: GPL V3

Suggestions and test results welcome!
Donate link:
-Rob

Last edited by RobbieThe1st; 2012-02-13 at 01:24.
 

The Following 191 Users Say Thank You to RobbieThe1st For This Useful Post:
009N, AapoRantalainen, ade, alexporta, Alfred, algiz, AlMehdi, Amboss, Andy1210, anthonie, arora.rohan, arvind, ashes, azad1top, Bad_Habit, Bahador, balorbule, bccwvfwcw, BlackDiamond, BLC, bobbydoedoe, bousch, Bundyo, Casanunda, cfh11, Changegames, Char, cheve, conred, corduroysack, cube48, cure, cyapalmos, DA5, dadoabdallah, daidai67, Dany-69, dashti, debernardis, Delfas, Digicom, doughboy, Durango, ed_boner, ejasmudar, El Amir, EmmaGx, enne30, ersanpermana, Estel, etuoyo, explit, exuvo, ezameht, F2thaK, famdango, fasza2, foobar, fotis9, frostbyte, fw190, gabby131, Garrett_PL, gepataki, getnani, ghzroy, gionni88, gs1, Gusse, hathoda, helex, Helmuth, hrbani, HtheB, inuyasha0209, iosu, ivyking, jhb, joerg_rw, jose6a, jurop88, Kabouik, kcfischer, Koiruus, kolos, laasonen, Lemonadium, lidow, lkravovicz, loky, lolloo, maacruz, Macros, magic_doc, Maj3stic, Manatus, Marshall Banana, mas5acre, maxximuscool, mehulrajput, melisa queen, Mentalist Traceur, midnightman, Minhaz, mirciox, moepda, MohammadAG, Mr. Incredible, Mr.bot, mrsellout, munozferna, mveplus, n900maniac, nahci13, nashith, Necc, Netweaver, nicholes, nicolai, nkirk, nman, nology, NOMIOMI, noorallah, panjgoori, pantera1989, partthesea, pasko, patemera, peterleinchen, petur, phap, phapsubongtoi, pichlo, R.Habrat, realist, reinob, rewan, rjneid, rm42, Rob1n, S0urcerr0r, sachin007, Santhan, santiago, sbock, Schturman, scifi.guy, sebar, sethkha, shanttu, shawwawa, shin, sifo, Sin, sirpaul, Skaven2k2, sla_erick, sowwhatyoureap, SSLMM, stevomanu, stlpaul, Stonik, Straycat, stryker9, sup, suzuka, Switch_, szopin, talkMAEMOnik, tanpoaran, techno2001, Tiboric, Tigerite, totalentropy, tuxsavvy, twaelti, vdx29, vetsin, videohese, vkv.raju, VulcanRidr, x-lette, xman, xopher, yamakasi, Zaerc, zincholic, zlatokosi, zylor
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#2
wow good work bud.

Anyhow, does this V2 works with the v1 backup files? I backed up with v1 and haven't try flashing it yet. So I'm hoping this thing is much safer than previous method and still compatible with v1 back up files.

Let me know.
Maxxi
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#3
Updated. Answer: no, and for good reason(read my edit).
 

The Following User Says Thank You to RobbieThe1st For This Useful Post:
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#4
Oh ffs!! o.O omg. My beautiful backup!! What can I do to restore it back safely? I got over 1G of apps and customisations!. Also my saved files
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#5
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#6
Well, you can -try- to restore it the old way, but you may end up with an unbootable device that needs a reflash.

Or, you can try to mount the images. The optfs is just a EXT2 image; it can be mounted easily on any linux system with a couple commands(mount -o loopback..... for a start)
The RootFS is a bit harder; I haven't done it myself. But, your customizations should mostly be in the OptFS, so...
 

The Following User Says Thank You to RobbieThe1st For This Useful Post:
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#7
Originally Posted by RobbieThe1st View Post
Well, you can -try- to restore it the old way, but you may end up with an unbootable device that needs a reflash.

Or, you can try to mount the images. The optfs is just a EXT2 image; it can be mounted easily on any linux system with a couple commands(mount -o loopback..... for a start)
The RootFS is a bit harder; I haven't done it myself. But, your customizations should mostly be in the OptFS, so...
where is Angry bird package file stored? I was so closed to finishing it and last night i flashed my device and did a back up. Oh No!!!
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#8
 
Posts: 33 | Thanked: 8 times | Joined on Dec 2009
#9
How can multiboot-0.2.5 and backmenu V2 coexist?
Is this possible?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#10
Originally Posted by davall View Post
How can multiboot-0.2.5 and backmenu V2 coexist?
Is this possible?
I've actually just got that working this morning.

I've made a patch with the changes required for multiboot (against 0.2.10 rather than 0.2.5, so may need some adjustments). It adds a new ITEM_SCRIPT parameter for the .item files, and stops the multiboot script from unmounting all the filesystems before running the script.

You also need to add a symlink for /bin/evkey in /usr/sbin (or edit the BackupMenu scripts to change the location). You can then add a multiboot entry with a ITEM_SCRIPT line pointing to the BackupMenu script.
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post:
Reply

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


 
Forum Jump


All times are GMT. The time now is 04:44.