Author Topic: Backup Strategy  (Read 2557 times)

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Backup Strategy
« on: March 05, 2007, 12:58:33 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?
YT,
Tron

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Backup Strategy
« Reply #1 on: March 05, 2007, 02:39:38 pm »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155423\"][{POST_SNAPBACK}][/a][/div]

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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Backup Strategy
« Reply #2 on: March 05, 2007, 04:50:27 pm »
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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Backup Strategy
« Reply #3 on: March 05, 2007, 10:25:54 pm »
Quote
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155423\"][{POST_SNAPBACK}][/a][/div]

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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155442\"][{POST_SNAPBACK}][/a][/div]

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
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Backup Strategy
« Reply #4 on: March 06, 2007, 01:55:25 am »
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!
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Backup Strategy
« Reply #5 on: March 06, 2007, 02:14:53 am »
Quote
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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155512\"][{POST_SNAPBACK}][/a][/div]

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...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Backup Strategy
« Reply #6 on: March 06, 2007, 02:22:43 am »
Quote
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.
YT,
Tron

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Backup Strategy
« Reply #7 on: March 06, 2007, 02:34:13 am »
Quote
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155516\"][{POST_SNAPBACK}][/a][/div]

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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K