The Following User Says Thank You to RobbieThe1st For This Useful Post: | ||
|
2011-02-19
, 04:57
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#612
|
Usage: ./backup.sh <-sd|-internal>
The Following User Says Thank You to nightfire For This Useful Post: | ||
|
2011-02-21
, 06:54
|
Posts: 212 |
Thanked: 189 times |
Joined on Oct 2010
|
#613
|
|
2011-02-23
, 10:04
|
Posts: 212 |
Thanked: 189 times |
Joined on Oct 2010
|
#614
|
|
2011-02-23
, 20:32
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#615
|
5 root@glamb-n900 [~]# ./backup.sh ./backup.sh: error: no target specified. Usage: ./backup.sh <sd|internal> [-rootonly|-homeonly]
# Include both home and rootfs? doHome=1 doRoot=1
|
2011-02-23
, 21:09
|
Posts: 212 |
Thanked: 189 times |
Joined on Oct 2010
|
#616
|
Opt lives in /home; I could specify /home/opt explicitly, but I'm not sure if it would have other consequences. Are you looking to be able to exclude your personal preferences in a restore, or restore only your prefs?
|
2011-02-24
, 05:57
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#617
|
|
2011-02-26
, 17:57
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#619
|
|
2011-02-26
, 18:36
|
Posts: 212 |
Thanked: 189 times |
Joined on Oct 2010
|
#620
|
... flu ... haven't been doing much.
If you restore rootfs without restoring /opt, you'll have a lot of invalid package metadata. The system will be in an ugly, inconsistent state.
So possibilities include:
Only /home/user (ie. just preferences)
Only rootfs, /opt
rootfs, /opt and /home/user
Does that make sense?
I'm not sure if these backups would be compatible with the way BackupMenu works (ie., I think it rm -r's /home before restoring the optfs backup), so it would take some changes to BackupMenu itself before my script could produce anything useful.
Tags |
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system |
Thread Tools | |
|
Not sure. My program -cannot- damage the actual bootloader etc - A reflash is what you need.
Try flashing the way I've talked about several times in this topic - without using the "u" key.
If that doesn't work, you can Cold Flash it, there's -no way- to brick the n900 via software, provided all the hardware's OK.
@m4:
Yea, I know.
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