![]() |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Ok, empty means no errors. That's good.
I may need you to upload your rootfs, but not right this second. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Does this work between N900s? My N900 died and was sent to Nokia for repairs. If they honour the warranty it is likely they will just give me a new one rather than fix my faulty unit. So if I get my replacement unit, install this app and use a restore saved on my sd card will it work and get the new N900 to be the way my old one was with all the same files, installed apps, hildon desktop modifications, overclocking, themes, etc?
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
In theory, yes. You -will- have to manually install/reinstall the power-kernel again though.
In reality, it depends on the device. 50% of N900s work fine, 50% don't, and you have to reflash to PR1.2 and do it from scratch. Thats what this new version is all about. In other news, I did the same thing as Dany, and got the same result. I was able to somewhat restore my stuff by flashing to PR1.2, and then using this slightly modified version to restore my tar files: http://robbiethe1st.afraid.org/Backu...0100924.tar.gz All my programs came back, as did locations on the desktop. Unfortunately, all the new program icons are missing as are my themes & backgrounds. It -does- work though, so... I'm going to have to do some more research, and in the meantime implement the old dd rootfs image with the new version - at least that worked for booting. Not sure why the tar images don't though... |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I'm here if you need :)
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Ok, I'm not sure, but I'm thinking the issue may lie in permissions.
I don't think Tar is backing up or restoring permissions correctly. Its going to take some more research though. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Bingo! I found the problem!
Last night, the power went out for several hours(scheduled outage). Planning for it, I made sure my N900 was charged, and I had some TV episodes to watch. After the power went out, I got ready, clicked the "KMPlayer" icon... to no avail! It won't start! Not wanting to have to pull up my laptop or go without, I decided to track down -where- kmplayer was and why it wasn't starting. I found my way to /opt/kmplayer... which didn't exist. Checked my optfs imagefile and it -did- exist there. After that, it was a simple matter to cd to /home, extract my OptFS image there... Most of the missing icons immediately came back and all my programs worked! After a reboot, everything worked properly again! Tonight, I just took a look at my code... Several stupid errors. Fixed now: http://robbiethe1st.afraid.org/Backu...0100925.tar.gz Anyway, instructions for install are as follows: 1. copy the above file to your MyDocs directory 2. Open up a terminal, sudo gainroot, then type: tar xvzf /home/user/MyDocs/backupmenu-20100925.tar.gz -C / 3. After it extracts, type: cp /opt/maemo/usr/bin/gnu/tar /usr/share/backupmenu/ 4. If you have the regular version of backupmenu installed, disable it: mv /etc/bootmenu.d/BackupMenu.item /etc/bootmenu.d/BackupMenu.item.bak Now, assuming you have a "bricked" N900(that still boots BackupMenu), you can fix it one of two ways: 1. Easier way, but requires a Linux computer, and your rootfs.tar file on that computer/your SD card a. Download the above patched archive. b. Extract the ./usr/share/backupmenu/BackupMenu.item from it, and keep that file handy c. insert(you should just be able to use tar's a/append method) that file into your RootFS tarfile at the same location. You may have to extract the entire contents somewhere(needs ext# system so permissions get kept), replace that file with the new version, and re-tar it all up. d. Start up BackupMenu, load that rootfs off the SD card, reboot. It should come up with the new version(0.42), from which you can then restore the OptFS. 2. No Linux computer needed, potentially more work. a. Do a PR1.2 wipe with the Maemo flasher. b. Boot up into Maemo, add extras-devel. Install rootsh the bootmenu-n900, and gnu-tar packages. 3. Download that file, install it as said earlier, and copy over the gtar application. 4. Reboot into BackupMenu, restore your RootFS and OptFS images. 5. Reboot, and Maemo -should- work. At this point you will need to manually reinstall the Power kernel(if you had it installed earlier), and upgrade your version of BackupMenu(as you loaded the older one). Hope that helps! -Rob |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Me, I'm waiting for Dany-69 to report if his n900 gets bricked again before I dare try this ;) ;) ;)
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
By the way ... guys i can't help you this time T_T My laptop has dead .. :( and now i'm only with my n900 ... I can't try this new version because, if i brick, that's the end T_T I wouldn't be able to reflash without a laptop :( Robbie forgive me.. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Alright, fair enough. I wouldn't ask you to try something like that, but I would suggest keeping the latest version on there(at least, the latest 0.3x), and keep a backup or two around.
Now, -currently-, it should work. Its not as "clean" a restore as before, as I can't do "rm -rf /tmp/rootfs/*" & "rm -rf /tmp/optfs/*" where appropriate without breaking things, but that's been disabled in the latest version, and I -have- done a full restore-to-1.2 -> Install rootsh, bootloader-n900 & tar-gnu -> install backupMenu -> Reboot & restore rootfs + optfs and it -did- work fully. That's with the 0.42/20100925. It should be safe enough, as its not deleting any files, and therefor shouldn't be able to break your machine, as it just saves -over- the existing ones. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Are you all waiting for my test? XD
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I just got on #maemo today, and learned about mtd-tools. Apparently, there are some nand-write tools that can actually write things properly, which would be a good replacement for the old-style image writing using DD.
Unfortunately, I'd also need a nand-read tool also. And, more importantly, man-pages for both of these. Let me know if any of you guys know of these things. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
UUUP :)
Bu the way ... i temporarily got 2 N900 and a PC... :) So i'm going to try backupmenu... and on the different devices :P I'll make an image with my device and i'll try to restore it on the second N900 :) Give me a couple oh hours :) PS: .. robbie... i see that you have a bit of experience with shell scripts ... could you help me with this stupid error? :( http://talk.maemo.org/showthread.php?t=61956&page=8 |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Robbie... it gives me permissione denied .... :/
I haven't succeded to read the whole error message ... but it is a problem with the "line 1" in the file /usr/share/backupmenu/backupmenu.item :/ PS: i've solved the problem with my script :P |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Somehow, I comletely missed these last two posts.
Anyway, check and make sure that /usr/share/backupmenu/backupmenu.item is marked excecutable: "chmod +x /usr/share/backupmenu/BackupMenu.item" In other news, it seems that there is no way to -properly- do an image-backup. The best solution possible is to backup things at the file-level. Fortunately, between that(either with tar or rsync), and mkfs.ubifs/ubinize, we can make flashable images out of file sets! I'm going to go test this out now, see if they actually boot. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I had a big problem using BackupMenu: I backed up the rootfs and optfs to MyDocs -> worked without any problems, then I tried to restore the backup, but the result was a bricked device - even the mass storage feature did not work anymore :(
Fortunately I found a solution to fix this without loosing anything: -first I flashed the original firmware to reenable the mass storage feature -then I backed up my MyDocs directory to my PC to get the two *.img files created by BackupMenu --> those first two steps can be skipped if the backup is on sd-card or already on the PC -then I flashed the rootfs image created by BackupMenu using the flasher using the following command: flasher-3.5.exe -r rootfs.img -f -R -then I turned on my device with opened keyboard which started BackupMenu again (which was a good sign that showed that the device was bootable again with my backed up rootfs) -then I restored my optfs using BackupMenu -after that I rebooted and the device was back in the state it was before it got bricked (everything works as it should again, including all programs, settings etc.) -now as i knew how to restore the device I did a second attempt to restore the rootfs using BackupMenu and it got again bricked... but this time I managed to unbrick it within a minute by reflashing my backed up rootfs.img --> conclusion: backing up works perfectly for both, the rootfs and the optfs, restoring the optfs works without any problems, too, but restoring the rootfs always bricks my device so it is better to restore the rootfs with the help of the flasher Why does restoring the rootfs always bricks my device ? Is this a bug in BackupMenu or did I do something wrong ? (I do not know what I should have done wrong, just selected restore rootfs and chose my rootfs.img - similar procedure as with the optfs which worked without any problems) |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Well, problems restoring the rootfs is something of a glitch in BackupMenu, but one that I can't fix with BackupMenu the way it is. So, I'm building a new version that should eliminate all these problems, and be safer to boot.
I only released it last night though, and it hasn't been tested to work yet, so you may want to keep your old setup for now - Or, help with the beta-testing! New topic: http://talk.maemo.org/showthread.php...548#post844548 |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
looking at the tar file, i can't see all the files that are located at:
/usr/share/applications/hildon why are they not backed up? a restored device will not have all the application shortcuts? |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
yeah thanks - just seen that :)
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
i installed this a while ago but got the warning when i opened it, which led me to uninstall it.
Is backupmenu safe to install and use, or am i likely to run into problems based on that warning? |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
hey im a noob. my phone is gonna go on warranty and i think they're gonna flash it. i need all the applications, contacts, settings etc on my phone back when it comes so that it becomes the way it was before flashing. can u please help me with the instructions? like how can i backup? how can i store it in my computer ( the entire backup) and how can i restore it back? sorry fo r any inconvenience.
help would be appreciated. thank you |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
The preinstalled "backup" program does what you are looking for!
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
will it backup all my applications and settings like conversations modder and other files etc? and can i restore it back without having to download?
and if my phone is flashed, how am i gonna restore? is there anyway to put the backup on pc? thanks |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
hi rob, sorry for the noob question:confused:, how can i restore the back up file? and in what directory does the backup file will be save? thanks!:)
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
To recover you need to:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
*sigh*. Can't anyone read the topic? This one's depreciated.
Could a mod please lock this? Everyone should be using http://talk.maemo.org/showthread.php...548#post844548 instead. |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
hi guys,
where i can find the backupmenu .deb and download it on my N900 , so when i want to restore it without internet connection and without the : depends on : bootmenu, tar-gnu, i2c-tools, mtd-utils, libacl1 i want to install the backupmenu offline mode as .deb package |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Hi all
I just tried to restore a backup from one N900 device to an other and end up with reboot loops it did not start up. Does anyone knows howto or an another to do this? |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Hi to all!
I installed BackupMenu, then I installed NITDroid, which installed its boot menu. I was wondering if it is possible to have a boot menu with both BackMenu and NITDroid. I guess that, if I re-install BackupMenu, it would replace its boot menu and NITDroid would not work anymore. |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Thanks! I'll give it a try. :)
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
I have this problem when I entered backup menu during the reboot progress and when its initializing it gets stuck at
udev 1 2 3 4 Chrooting... and nothing happen only this screen Can you tell me what to do please |
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Reflash kernel only. The next boot will be directly to Maemo (no BackupMenu) and with the stock kernel but everything else will be left untouched. Then you can reinstall BootMenu, BackupMenu and your favourite kernel. Next time make sure initrd-progs are at version 0.81-7. BackupMenu conflicts with the newer version. See the relevant posts a few pages back.
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Depreciated] BackupMenu - Backup & restore OS images(+ other features)
What command exactly did you use for flashing?
|
All times are GMT. The time now is 19:15. |
vBulletin® Version 3.8.8