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)

unexpected 2012-09-19 20:36

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
hi all,
thanx for the great app :)
i got a problem tomorrow.few weaks ago,it was working perfect but tomorrow i dont know what happened now,whenever i tried to backup Rootfs it gives me a same error again & again.
error: /var/tmp/qtsingleapp-sticky-28d2-752f : socket ignored

tried reboot several times but no luck.help required please....

regardz,

Estel 2012-09-19 20:42

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Why do you think it is problem? Just finish backup, and it will work.

It was discussed some times ago, as chromium cause same issue. normally, applications shouldn't leave sockets opened, so it's fault of corresponding program (qtsingleapp? WTF is that?). But, it shouldn't affect Your backup in any way, it's just warning.

/Estel

unexpected 2012-09-19 20:55

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by Estel (Post 1269290)
Why do you think it is problem? Just finish backup, and it will work.

It was discussed some times ago, as chromium cause same issue. normally, applications shouldn't leave sockets opened, so it's fault of corresponding program (qtsingleapp? WTF is that?). But, it shouldn't affect Your backup in any way, it's just warning.

/Estel

ok thanx.
first,that had never gave me such error.
so according to you i should ignore this?

Estel 2012-09-19 20:59

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Yes, in context of backupmenu.

OTOH, You may want to investigate it for sake of offending program, as it's clearly malfunctioning, and leaving things (that it shouldn't) open. But it's not relevant for backup.
---

Slightly different topic - robbiethe1st, some time ago I've sent You patches for backupmenu, that allowed to use tar.lzma over .tar.gz for compression (much better results), + we've discussed using bq2415_charger module for charging, in case of kernel-power users.

Any progress on implementing it for new version? Or You have met some roadblocks?

/Estel

unexpected 2012-09-19 21:08

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by Estel (Post 1269299)
Yes, in context of backupmenu.

OTOH, You may want to investigate it for sake of offending program, as it's clearly malfunctioning, and leaving things (that it shouldn't) open. But it's not relevant for backup.

/Estel

btw m not a programmer nor developer,so how can i investigate :confused:

ikerrg 2012-09-20 12:00

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
I have just restored a backup from two days ago using backupmenu 1.2 (both rootfs and ext3 eMMC). It worked flawlessly, but now I have about 13 Mb less disk space in the rootfs. What could be the problem? Any temp file that I can delete? I am sure that I had about 72 Mb free on rootfs and now only 58 Mb.

Thanks.

Estel 2012-09-20 15:27

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by unexpected (Post 1269305)
btw m not a programmer nor developer,so how can i investigate :confused:

Using common sense. Given name of socket left open (it's location), you should be able to pinpoint program that left it open. If You keep trace of what You've installed on Your device, that is.

/Estel

unexpected 2012-09-20 16:10

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by Estel (Post 1269672)
Using common sense. Given name of socket left open (it's location), you should be able to pinpoint program that left it open. If You keep trace of what You've installed on Your device, that is.

/Estel

ok :p
i've opened that location (/var/tmp) before posting here,there were two files named:
qtsingleapp-sticky-28d2-752f
qtsingleapp-sticky-28d2-752f-lockfile

may be something went wrong if i delete them.....
i should delete them or not?
btw i already have backup & thanx for the reply :)

ikerrg 2012-09-20 19:28

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by ikerrg (Post 1269572)
I have just restored a backup from two days ago using backupmenu 1.2 (both rootfs and ext3 eMMC). It worked flawlessly, but now I have about 13 Mb less disk space in the rootfs. What could be the problem? Any temp file that I can delete? I am sure that I had about 72 Mb free on rootfs and now only 58 Mb.

Thanks.

I've been reading the whole thread (enormous!!!) and I've seen that some people were dealing with this problem related to the ubifs compression. That was one year ago, for backupmenu version 0.6 and so. Was this problem fixed? Do I need to select the image compression when doing the backup and then the restore is smaller in rootfs?

reinob 2012-09-21 07:21

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
@ikerrg,

Just an idea (I don't use backupmenu). Depending on how backupmenu is packing the rootfs it may be that the backup contains parts of the filesystem that shouldn't be there.

An example: /tmp is a RAM disk. If backupmenu includes /tmp in the rootfs backup, then when you restore the image it will restore the /tmp directory on-disk. Later when you boot /tmp will be mounted as a RAM-disk, meaning your on-disk /tmp will be "hidden" underneath the mounted /tmp.

I suppose that the above is not actually happening with backupmenu. It would be seriously sloppy to backup a filesystem by including parts of other file systems (option "--one-file-system").

Just in case, I'd suggest you inspect the backup image created by backupmenu and check if there is something there that shouldn't be.

*** Update: I just checked a .tar image I happen to have here, and it looks OK.

Re. UBIFS compression. Sounds plausible enough. There may be a significant difference in the overall compression ratio depending on the other in which the files are written to the file system. One could try experimenting with this by splitting the .tar image into separate images (one with binaries, one with text files, etc.) and then unpacking them one after the other (each time in a different order), and see the effect this has (if any :) in the overall compression ratio for the whole rootfs.

ikerrg 2012-09-21 07:33

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
@reinob,

Thank you for you support. I read on pages 40 and more that some people were success in compressing the backup ubifs and they recovered the "lost" space in the rootfs. However, I do not know if this can be achieved by modifying a backupmenu script or it is more complex. Can anybody help on this with "easy" steps?

Regarding the use of backupmenu, reinob, if you don't use backupmenu, how do you make full backups of your rootfs? Or simply you don't do that?

Best regards.

reinob 2012-09-21 12:31

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by ikerrg (Post 1269922)
Regarding the use of backupmenu, reinob, if you don't use backupmenu, how do you make full backups of your rootfs? Or simply you don't do that?

1. I don't make backups.
2. I answered on the recovery-console thread your question about how to do the backup by hand from the recovery console! :)

ikerrg 2012-09-21 14:38

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by reinob (Post 1270008)
1. I don't make backups.
2. I answered on the recovery-console thread your question about how to do the backup by hand from the recovery console! :)

Sorry, reinob. Multiple new messages masked your response. I'll read it right now. Thanks a lot!

mauron85 2012-10-02 19:13

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by ivyking (Post 1072789)
I have gotten backupmenu to start from u-boot without needing r&d mode nor repartitioning and without complex instructions this time..

so forget the complex instructions at
http://talk.maemo.org/showpost.php?p...&postcount=882 :p

new instructions:
download the zip archive from http://ifile.it/d3ehfn2 (5.8 MB)
extract the contents of the archive to the first partition of your sdcard (fat32).
shutdown, then start again and let u-boot timer time out.

thats all !
can't get any easier :D

---------------------------------------------------------------------------

notes (normally not needed):

1)backupmenu disk gets loaded as an initrd and backupmenu runs from the ram, so configuring network interfaces by modifying backupmenu directly is not possible.(well it is possible but it won't be saved when you reboot)
instead place a file called interfaces, containing your network configuration on the first partition of the sdcard, backupmenu will use that instead.

2)if you already have a boot.scr file on the first partition of your sdcard, rename the one from the archive to backupmenu.scr
u-boot will normally load your original boot.scr file, and when you want to run backupmenu, there are 2 solutions:

a)sane solution:
rename your boot.scr to something else and rename backupmenu.scr to boot.scr and start the device.

b)crazy solution:
interrupt the u-boot timer and write the following :

Code:

mmc init
fatload mmc1 0 0x80000400 backupmenu.scr
source 0x80000400

you will have to type that blazingly fast though if you haven't enabled r&d mode and set no-omap-wd r&d flag.

The link to download the uboot version of backumenu is dead.
Could please somebody reupload. Thanks

FYI: I'am using pali's U-boot and I would like to do full backup of N900 before installing CSSU-thumb.

Fabry 2012-10-12 00:32

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by mauron85 (Post 1275487)
The link to download the uboot version of backumenu is dead.
Could please somebody reupload. Thanks

FYI: I'am using pali's U-boot and I would like to do full backup of N900 before installing CSSU-thumb.

Only two pages before this page: http://talk.maemo.org/showpost.php?p...postcount=1116

saponga 2012-11-08 13:16

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Hi guys, i need help... I just tried to restore a image that now i think was broken... The process was concluded but after reboot the phone doesn't boot anymore... Just shows the nokia logo and a white led for some seconds and them shutdown. Doesn't matter if kbd is open or closed. Is there a way to fix that without a full reflash ? Where i can found some information about that ? I'm using the last versions of backupmenu and bootmenu and, of course, tried restore a image with same kernel that i'm on it (kp51-r1). Sorry about the poor english.
Thanks.

nodevel 2012-11-10 10:31

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by Fabry (Post 1279526)

Also down. Could anyone re-upload it, please?

Thank you.

anthonie 2012-11-10 10:35

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by nodevel (Post 1292632)
Also down. Could anyone re-upload it, please?

Thank you.


Found this one using the search engine on filecrop.com

http://mediafire.com/?no6d2cxiy67qlx1

nodevel 2012-11-10 10:45

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Thank you! Let's hope it's the correct file. This one has md5 checksum of b0532e1c3cc751280304dbad0dc797fd .

anthonie 2012-11-13 11:55

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
@nodevel; I heard other people wondering, was it actually the correct file?

panjgoori 2012-11-14 16:10

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
does backupmenu starts and work fine if maemo is not booting i.e if it is reboot loops ?

reinob 2012-11-14 16:58

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by panjgoori (Post 1294240)
does backupmenu starts and work fine if maemo is not booting i.e if it is reboot loops ?

It depends on how far Maemo is booting before rebooting..

Normally backupmenu is running from bootmenu, which in turns is executed by /sbin/preinit (first userspace program run directly by the kernel).

If you already have bootmenu and can see it when booting, then you should be OK. Otherwise, if you have U-boot (and you should), then you can use the image posted a couple of posts above to run backupmenu directly from U-boot.

tonypower88 2012-12-11 18:55

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
how can I get contact list from backupmenu ?
because my screen doesn't respond and I cannot pass the lockcode screen
also I am not sure what is the terminal root password and I don't know how to access the terminal from backupmenu I get black screen I don't know what should I type "root" and then "[password]" then press enter or just the password

I need contact list urgently because I got out from hospital after surgery and I have Doctor's number saved but the touch screen doen't respond

woody14619 2013-01-03 20:01

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
So... I have an issue and a word of advice to all. I have a rather customized system, but have been using backup menu to back things up occasionally before updates and what not. I recently had need to try to restore from a backup, and found it failed. Imagine my surprise when I found that pretty much all of the optfs backups I'd made failed when trying to manually untar them with the error:

Code:

tar: corrupted octal value in tar header
Backup menu gave no indication that the archive was faulty, but almost all of the optfs backups had this issue. The file system it was backing up had no fs errors (I ran fsck from the command prompt before doing a backup to be sure). The rootfs backups seem to be fine.

Maybe it has something to do with the size of the tar files? They're only about 1.4G, which should be well under the size cap for files on a vfat system. Maybe a sync/unmount isn't being done after the tar is done? I just don't get why it would be screwed up.

Doing a tar -tvf | wc -l shows about 50000 files, where fsck shows more than that. :( So a lot of data is after this bad spot. Word to the wise: check your backups to make sure they're good.

I'm trying to do a hand-backup using tar from the root prompt in backup-menu right now to see if it works any better. Turns out the mountsd script is broken in some way too, just FYI. Manual mounting works find though, and again fsck says the files system is fine...

Edit: As a note, hand-mounting and using a tar command to create a backup of the optfs worked just fine. The end file count was 65226 files, with a compressed size of 978M. Uncompressed it should be 1.6G. I'm trying to do a piped decompress now to see if I hit a file system issue when doing so.

reinob 2013-01-04 08:14

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by woody14619 (Post 1310619)
Imagine my surprise when I found that pretty much all of the optfs backups I'd made failed when trying to manually untar them ...

Please define "manually untar". AFAIK Backupmenu (I don't have it so I can't say 100% for sure) uses a separate tar (not busybox). Perhaps you tried to manually untar it using busybox?

I don't know if this may be the problem or not, but in any case, I'm slowly reaching the conclusion that the general problems associated with busybox (power or stock) don't compensate for any (alleged) benefits.

I think it's time to get rid of it (will get to it as soon as I have some time :).

woody14619 2013-01-04 18:18

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by reinob (Post 1310754)
Please define "manually untar". AFAIK Backupmenu (I don't have it so I can't say 100% for sure) uses a separate tar (not busybox). Perhaps you tried to manually untar it using busybox?

No.. I tried to manually untar it both Fremantle and in Backupmenu's root shell, as well as on my Fedora system at home. All gave the same results. It was a bad/truncated file, not a busybox issue at all.

After running another backup, I dropped to root shell after and found the systems still mounted. I did a sync, unmounted, then rebooted, and that archive tested as fine. So I'm thinking it's some kind of caching issue?

In the end, more of a warning: Check your backups after you make them. It only take a few seconds, and is worth the check. Maybe an option in Backupmenu to check a backup file would be a good idea? ;)

peterleinchen 2013-01-05 15:42

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Never had such issue (but not yet needed to use it really, just untaring and get some files)!
And/but I do use the multiboot-backupmenu. Do not know if there are differences (at least there is no shell).

Just made a new backup, checked and everything OK.

woody14619 2013-01-07 20:52

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
One of the options in BackupMenu is to start a terminal shell (t, if I recall). It's actually quite a life saver for doing minor adjustments and fixes, like moving/replacing a file or the like.

And again, I'm not blaming anyone for anything. It could also be that the file system these were on became corrupt, since most of these backups were from past updates (so spanning months at a time). Just figured I'd note that it's best to actually test the archives made, and request maybe one additional menu option to test an existing archive. :)

This may also be device specific, or only happening in certain card types (I'm backing up to my uSD: 32G class 10). In any case, never hurts to check.

And thanks again to Robbie for all the work on this. It's pulled more devices out of the fire than I think anyone really knows.

anthonie 2013-02-03 13:28

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by woody14619 (Post 1310957)
No.. I tried to manually untar it both Fremantle and in Backupmenu's root shell, as well as on my Fedora system at home. All gave the same results. It was a bad/truncated file, not a busybox issue at all.

Quick question: Did you try and unpack it with a GUI on your Fedora system?

I use Nautilus FM at home, and often I simply right-click a file to unpack it. But the last year or so, I have been seeing errors doing that, where the errors would disappear the moment I used the command line version to unpack/decompress.

woody14619 2013-02-04 17:27

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by anthonie (Post 1320381)
Quick question: Did you try and unpack it with a GUI on your Fedora system?

I use Nautilus FM at home, and often I simply right-click a file to unpack it. But the last year or so, I have been seeing errors doing that, where the errors would disappear the moment I used the command line version to unpack/decompress.

No.. I'm more of a command line guy. :)

Turns out I had a couple of older backups I was able to get the data I needed from. But it looks like a sync issue. May have something to do with the class/size of the memory card? (32G/10) Put my 32G/4 in instead and it works fine every time. May also be a device issue... This is my most used device, running 24/7 now for 3 years.

azad1top 2013-03-16 23:11

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Hi ali .......salam ;)
Can please help this difficult

Backupmenu that comes up suddenly reboot.

More reviews here


http://talk.maemo.org/showthread.php...art+Backupmenu

Please complete guide
Solve the problem:confused:

Estel 2013-03-17 02:24

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
USB Networking, USB Console, and SSH access were reporting as broken ~1 year ago (the later, probably due to first). Yesterday, I just had unpleasant ocassion to confirm that it's still broken, when I needed it.

Not demanding anything, of course, but I just thought about re-reporting it here, as it might have missed robbiethe1st attention? Otherwise, sorry for bothering.

/Estel

OMOIKANE 2013-03-17 15:17

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
How to stop battery info line in backupmenu's root console?

Estel 2013-03-19 11:01

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
http://talk.maemo.org/showpost.php?p...&postcount=958

rm42 2013-04-03 14:27

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
So, is this program still usable? Is any one using it successfully without any hand made hacks? Which version?

woody14619 2013-04-05 01:25

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
I use it all the time, with no hacks made that I'm aware of. :)

Estel 2013-04-05 10:32

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Just to let you guys know - I've started to re-implement backupmenu's functionality into normal CLI (sh based), for use with framebuffer and early recovery shells (like Mentalist Traceur's one), without all that text2screen things.

I aim at modular design, with every main functionality represented by separate sh script, called from within main one, all extensively commented. First goal is to reproduce all backupmenu functions - then, it should be fairly easy, to add more things if required, due to code becoming much more understandable.

For sure, it will go very slowly, as I'm already overprojected (mainly in hardware mods area), with not too much free time for them.

I thyink announcing it here is good idea, though - if someone started or plan to start something like that, already, it would be good to work together, instead of duplicating each other's work.

/Estel

pichlo 2013-04-05 14:12

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by azad1top (Post 1329497)
Backupmenu that comes up suddenly reboot.

More reviews here

http://talk.maemo.org/showthread.php...art+Backupmenu

Solve the problem:confused:

I replied to that other thread two days after you bumped it here. See http://talk.maemo.org/showthread.php...50#post1330050. I have never seen your feedback.

alexporta 2013-04-17 23:34

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
in these days I've bought a second N900... reflashed... installed a lot of stuff... backed up... restored... now I have installed the thumb cssu anche when I try to start backup menu the screen goes red and there is only write chrooting...

Estel 2013-04-19 00:21

Re: [Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
 
Quote:

Originally Posted by alexporta (Post 1336878)
... installed a lot of stuff...

Very informative, indeed. So now, you only need to do a lot of stuff, and your backupmenu will work again ;)

/Estel


All times are GMT. The time now is 02:13.

vBulletin® Version 3.8.8