![]() ![]() |
Mar 5 2007, 09:58 AM
Post
#1
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
Hello all,
having pdaxii13 up and running well, I'd love to keep it that way. However, one has to expect the worst. What would be the best strategy to get it back up and running? Say we have a akita full install, i.e. "/" on flash and "/usr" on hda1. I was thinking about booting into the maintenance menu and make a NAND backup and tar-gzip "/usr" as hdimage-custom.tgz and use that as hdimage after the NAND-restore. Would that work and how do you do it? |
|
|
|
Mar 5 2007, 11:39 AM
Post
#2
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
QUOTE(Tron @ Mar 5 2007, 07:58 PM) Hello all, having pdaxii13 up and running well, I'd love to keep it that way. However, one has to expect the worst. What would be the best strategy to get it back up and running? Say we have a akita full install, i.e. "/" on flash and "/usr" on hda1. I was thinking about booting into the maintenance menu and make a NAND backup and tar-gzip "/usr" as hdimage-custom.tgz and use that as hdimage after the NAND-restore. Would that work and how do you do it? there's a script called zbackup which does exactly what it is supposed to do at least it works for the c3000, i don't know for the 3200 |
|
|
|
Mar 5 2007, 01:50 PM
Post
#3
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
if your Z is connected to your home network for any length of time during the day, then you could "rsync" it across to your PC, using "ignore-existing" to only copy changes.
then when the rsync has finished, trigger a tar->gzip process on the PC so that it creates a snapshot for backup or archive purposes. the good thing about this is that rsync runs over ssh so you don't have to be on a private/protected LAN to work. also rsync allows compression too. |
|
|
|
Mar 5 2007, 07:25 PM
Post
#4
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(jpmatrix @ Mar 6 2007, 05:39 AM) QUOTE(Tron @ Mar 5 2007, 07:58 PM) Hello all, having pdaxii13 up and running well, I'd love to keep it that way. However, one has to expect the worst. What would be the best strategy to get it back up and running? Say we have a akita full install, i.e. "/" on flash and "/usr" on hda1. I was thinking about booting into the maintenance menu and make a NAND backup and tar-gzip "/usr" as hdimage-custom.tgz and use that as hdimage after the NAND-restore. Would that work and how do you do it? there's a script called zbackup which does exactly what it is supposed to do at least it works for the c3000, i don't know for the 3200 zbackup works just like that for the Spitz based setups. However, on Akita based setups, it will not work due to it using the NAND and there currently is no real solution for it yet. You can do a NAND backup of the flash and tar-gzip /usr. That would work. In case you need to restore, restore your NAND and extract the tgz file back to /usr |
|
|
|
Mar 5 2007, 10:55 PM
Post
#5
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
Because I switch now more often between r179 (for testing) and beta3 (for stability) and because i like clean systems, I've made 2 scripts that helps me backup exactly what I need, exactly how I need it, and one script that reinstalls packages and restores the backed files. So in my case I have a 20 minutes script run after flashing with beta3, then I have the perfect setup
It's all in the customizations! |
|
|
|
Mar 5 2007, 11:14 PM
Post
#6
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(kkazakov13 @ Mar 6 2007, 04:55 PM) Because I switch now more often between r179 (for testing) and beta3 (for stability) and because i like clean systems, I've made 2 scripts that helps me backup exactly what I need, exactly how I need it, and one script that reinstalls packages and restores the backed files. So in my case I have a 20 minutes script run after flashing with beta3, then I have the perfect setup It's all in the customizations! that's more like a kickstart/jumpstart process which is great for rebuilding machine setups but not exactly a backup. i am still trying to find a nice user friendly GUI backup and restore application (preferably ncurses based) that is lightweight enough to be used on the Zaurus... |
|
|
|
Mar 5 2007, 11:22 PM
Post
#7
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
QUOTE(Meanie @ Mar 6 2007, 05:25 AM) You can do a NAND backup of the flash and tar-gzip /usr. That would work. In case you need to restore, restore your NAND and extract the tgz file back to /usr Yes, I thought so, that's what I'm doing now. I do have a C3100 (Borzoi) so I run the system from flash und use the microdrive for "/usr". As you pointed out, just rsyncing everything to a backup location does not really help as I do not have any way of getting it back onto the flash (the boot sector is another matter, anyway). Am I correct to assume that the "Install hdimage"-function in the installer (not sure how exactly it's called) looks for a hdimage-tgz and extracts that to the first partition of the microdrive? In that case that together with a NAND-backup would be sufficient. |
|
|
|
Mar 5 2007, 11:34 PM
Post
#8
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Tron @ Mar 6 2007, 05:22 PM) QUOTE(Meanie @ Mar 6 2007, 05:25 AM) You can do a NAND backup of the flash and tar-gzip /usr. That would work. In case you need to restore, restore your NAND and extract the tgz file back to /usr Yes, I thought so, that's what I'm doing now. I do have a C3100 (Borzoi) so I run the system from flash und use the microdrive for "/usr". As you pointed out, just rsyncing everything to a backup location does not really help as I do not have any way of getting it back onto the flash (the boot sector is another matter, anyway). Am I correct to assume that the "Install hdimage"-function in the installer (not sure how exactly it's called) looks for a hdimage-tgz and extracts that to the first partition of the microdrive? In that case that together with a NAND-backup would be sufficient. there are two formats for the hdimage, hdimage-full.tgz,hdimage-base.tgz and hdimage.tgz require the files in the tgz to be prefixed with /hdd1 directory, whereas hdimage-custom.tgz just needs / so you can name the file hdimage-custom.tgz and the 'Install hdimage' feature in the installer should be able to extract it for you. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 11:03 AM |