Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#221
Originally Posted by jsbigs View Post
Thanks all. I'm trying one method at a time though I can't get past the last line of code in this. I get the following error:

Code:
tar: can't open 'data.tar': No such file or directory
This is after I ran:

Code:
7z x backupmenu_0.52-1_all.deb
and have two new files in my directory:

control.tar.gz
data.tar.gz

Is there something I'm doing wrong?
No - must be a different version of 7zip (I was checking on the desktop). You'll need to do "tar -xzf data.tar.gz -C /" instead then.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#222
Originally Posted by Rob1n View Post
No - must be a different version of 7zip (I was checking on the desktop). You'll need to do "tar -xzf data.tar.gz -C /" instead then.
Hmm...this didn't work either. I received the following:

Code:
Error:
Incorrect command line
I had installed 7zip from this file:

p7zip-full_9.04~dfsg.1-1-m5-1_armel.deb

from here:

http://maemo.org/packages/view/p7zip-full/

So, to get around this, on my Mac I ran:

Code:
7z x backupmenu_0.53-1_all.deb
and copied the data.tar file to the N900, where I ran:

Code:
sudo gainroot
tar -xf data.tar -C /
This SEEMED to work. Now, in addition to BackupMenu being an option when I boot with the keyboard open, I can select it and it will boot into BackupMenu. However, the next issue is even though I get the full menu, it won't accept any key presses. Neither "b" for create a backup or "x" for exit and reboot. I had to depress the "hold switch" in order to reboot.

Any ideas?

(Many thanks for all of your help!)
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#223
Originally Posted by jsbigs View Post
Hmm...this didn't work either. I received the following:

Code:
Error:
Incorrect command line
You may need to use gtar instead then - the busybox version is somewhat limited.

Originally Posted by jsbigs View Post
This SEEMED to work. Now, in addition to BackupMenu being an option when I boot with the keyboard open, I can select it and it will boot into BackupMenu. However, the next issue is even though I get the full menu, it won't accept any key presses. Neither "b" for create a backup or "x" for exit and reboot. I had to depress the "hold switch" in order to reboot.

Any ideas?
Sorry - looks like I missed that out in my instructions. You need to create a symlink so evkey appears where backupmenu is expecting it:
Code:
root
ln -s /bin/evkey /usr/sbin/evkey
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#224
Originally Posted by Rob1n View Post
You may need to use gtar instead then - the busybox version is somewhat limited.



Sorry - looks like I missed that out in my instructions. You need to create a symlink so evkey appears where backupmenu is expecting it:
Code:
root
ln -s /bin/evkey /usr/sbin/evkey
Okay, now the key presses work - thanks for that. Next problem though:

Pressed "b" for backup
Pressed "q" for RootFS only (or the other keys for either OptFS only or both...same result)
Pressed "s" for sdcard

This returns the following error:

Error: 1 Last /usr/share/backupmenu/BackupMenu.item: line 1117: gtar: not found

and then a few seconds later the screen changes and I get:

Error: returned 127
Press any key to continue...


and then, if I try to do it all over again WITHOUT rebooting, I get:

cannot mount the RootFS

When I reboot, I can try it all over again but get the same results.

I've since run:

Code:
apt-get install tar-gnu
thinking that was the problem, but it was already installed.

Opening up BackupMenu.item with Leafpad and going to line 1117 reveals "Done". It says nothing about gtar, but then I'm not a programmer so maybe it refers to gtar somehow.

Ideas? (Thank you! I hope this helps others too.)
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#225
You'll have to copy 'tar' from /opt/maemo/usr/bin/gnu/tar to /usr/share/backupmenu/
e.g. cp /opt/maemo/usr/bin/gnu/tar /usr/share/backupmenu/
Installing the deb usually does it automatically.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 

The Following User Says Thank You to RobbieThe1st For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#226
Originally Posted by RobbieThe1st View Post
You'll have to copy 'tar' from /opt/maemo/usr/bin/gnu/tar to /usr/share/backupmenu/
e.g. cp /opt/maemo/usr/bin/gnu/tar /usr/share/backupmenu/
Installing the deb usually does it automatically.
Brilliant!! You people are amazing. Copying my RootFS and OptFS backup files to my laptop as I type this. On to test NitDroid 0.0.8 (I had tried 0.0.7 previously), and get IPv6 over T-Mobile running. Thank you!!
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#227
Excellent!
Would you mind trying a restore of those backups? I want to make sure there are no conflicts.
If it all works out, I'll try to piece together an actual guide.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#228
Originally Posted by RobbieThe1st View Post
Excellent!
Would you mind trying a restore of those backups? I want to make sure there are no conflicts.
If it all works out, I'll try to piece together an actual guide.
Hmm...I'm a bit nervous about doing that. I like having the piece of mind but if it didn't work, I'm completely hosed, and to do that intentionally....

I've only just got my contact and calendar syncing all worked out, and with 2700 contacts, it wasn't easy.

Let me think about it. I can't do it at the moment as I'm heading out.

Any reassuring words?
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#229
Well, erm... First, check the size of the rootfs/optfs backups. These should be around 300and 600-2gb respectively.
Also, if it fails to restore, you can reflash and restore individual files , so your stuff -should- be easily recoverable.

On top of that, everything -should- work fine anyway. I -would- install ssh-server and test that it works though: It will give you a method to fix things if they -do- go wrong.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 28 | Thanked: 3 times | Joined on Apr 2010
#230
Hello RobbieThe1st,
I also upgraded my 0.32 version to 52.1 and also have this orphan file which I want to remove. The proper way as I understand it is to reinstall the 32 version and then remove the app with fapman or the standard application manager.
Then do a fresh install of backupmenu 52.1
Since the .32 is not in the repository, at least I cannot find it.
From where can I download and install the old 0.32?
 
Reply

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


 
Forum Jump


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