Author Topic: Zbackup For Pdaxii13  (Read 12878 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« on: March 06, 2007, 11:26:24 am »
i have updated zbackup so it can support akita devices as well.

can someone with akita test and see if it works?

please make sure you make a nand backup before ypu try it.


install zbackup, then from outside of X, just run zbackup

it should create a initrd.bin on /mnt/card

now in theory, you could use this initrd.bin file to reflash your Zaurus...

on the c3100/3200 it should generate two files, initrd.bin just like for c1000, but also a pdaXrom-C3k....tgz file on /data
rename this file to hdimage-custom.tgz and you should be able to restore your system just like you the way you initially flashed it but using these backup files instead....


removed attachment. use new attachment in the following posts...
« Last Edit: March 07, 2007, 06:54:58 pm by Meanie »
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

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Zbackup For Pdaxii13
« Reply #1 on: March 06, 2007, 01:10:42 pm »
Quote
i have updated zbackup so it can support akita devices as well.

can someone with akita test and see if it works?

please make sure you make a nand backup before ypu try it.


install zbackup, then from outside of X, just run zbackup

it should create a initrd.bin on /mnt/card

now in theory, you could use this initrd.bin file to reflash your Zaurus...

on the c3100/3200 it should generate two files, initrd.bin just like for c1000, but also a pdaXrom-C3k....tgz file on /data
rename this file to hdimage-custom.tgz and you should be able to restore your system just like you the way you initially flashed it but using these backup files instead....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155563\"][{POST_SNAPBACK}][/a][/div]

Hey Meanie,

Ok, zbackup installed fine on my sl-c1000. I jumped outside of X and ran zbackup which returned the following message:

sorry, your model sl-c1000 is not supported with zbackup


VirtusRex

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #2 on: March 06, 2007, 05:16:17 pm »
Quote
Quote
i have updated zbackup so it can support akita devices as well.

can someone with akita test and see if it works?

please make sure you make a nand backup before ypu try it.


install zbackup, then from outside of X, just run zbackup

it should create a initrd.bin on /mnt/card

now in theory, you could use this initrd.bin file to reflash your Zaurus...

on the c3100/3200 it should generate two files, initrd.bin just like for c1000, but also a pdaXrom-C3k....tgz file on /data
rename this file to hdimage-custom.tgz and you should be able to restore your system just like you the way you initially flashed it but using these backup files instead....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155563\"][{POST_SNAPBACK}][/a][/div]

Hey Meanie,

Ok, zbackup installed fine on my sl-c1000. I jumped outside of X and ran zbackup which returned the following message:

sorry, your model sl-c1000 is not supported with zbackup


VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155572\"][{POST_SNAPBACK}][/a][/div]

please try uninstalling zbackup and installing again. somehow you still have the old version. make sure /us/bin/zbackup does not exist after you uninstalled zbackup, if it does, remove it before installing zbackup again...
« Last Edit: March 06, 2007, 05:18:14 pm by Meanie »
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

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Zbackup For Pdaxii13
« Reply #3 on: March 06, 2007, 05:37:44 pm »
Quote
i have updated zbackup so it can support akita devices as well.
...

rename this file to hdimage-custom.tgz and you should be able to restore your system just like you the way you initially flashed it but using these backup files instead....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155563\"][{POST_SNAPBACK}][/a][/div]

Hi Meanie,

this is just great. :-) Another time we seem to have both the same idea at the same time.
I have just created a shell script which does a complete backup of my pdaXrom setup to an USB drive or an internal backup (just Documents directory opn SD to a place on hard disk, so you can revert to older file versions easily), dependent on a lot of conditions.
The script checks if
- AC adapter is connected
- USB device is connected
- SD is mounted
- there is enough space on the target drive for the backup

And it deactivates suspend during backup and restores the original suspend / screensaver settings afterwards (code for this rived from your xset-wrapper script).

Also, it calculates the time needed for the backup and creates backup files with time stamp in file name.

It creates backup files in a way which I will extend to making me able to use the backup files in order to automatically restore the entire setup from scratch. This will just be a small step from here.

I am still testing it. A full backup takes about 4-5 hours on my setup....

In case you want to use some of my ideas for zbackup, don't hesitate to do so.
Here is the script (as I said, not too well tested yet)!

This is tailored for my specific setup, so anyone using this script as a basis will have to adapt it to the partitions mounted and file systems to be backed up and targets etc.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #4 on: March 06, 2007, 06:12:13 pm »
Quote
Quote
i have updated zbackup so it can support akita devices as well.
...

rename this file to hdimage-custom.tgz and you should be able to restore your system just like you the way you initially flashed it but using these backup files instead....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155563\"][{POST_SNAPBACK}][/a][/div]

Hi Meanie,

this is just great. :-) Another time we seem to have both the same idea at the same time.
I have just created a shell script which does a complete backup of my pdaXrom setup to an USB drive or an internal backup (just Documents directory opn SD to a place on hard disk, so you can revert to older file versions easily), dependent on a lot of conditions.
The script checks if
- AC adapter is connected
- USB device is connected
- SD is mounted
- there is enough space on the target drive for the backup

And it deactivates suspend during backup and restores the original suspend / screensaver settings afterwards (code for this rived from your xset-wrapper script).

Also, it calculates the time needed for the backup and creates backup files with time stamp in file name.

It creates backup files in a way which I will extend to making me able to use the backup files in order to automatically restore the entire setup from scratch. This will just be a small step from here.

I am still testing it. A full backup takes about 4-5 hours on my setup....

In case you want to use some of my ideas for zbackup, don't hesitate to do so.
Here is the script (as I said, not too well tested yet)!

This is tailored for my specific setup, so anyone using this script as a basis will have to adapt it to the partitions mounted and file systems to be backed up and targets etc.

daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155593\"][{POST_SNAPBACK}][/a][/div]

nice, i dont have all these checks in place but i should have them.
once it is verified to be working, as a side effect of being able to backup your c1000 as an initrd.bin file, you can easily customise your c1000 and make it available for others to install by simply making a zbackup and sharing the resulting initrd.bin file for flashing...
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

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Zbackup For Pdaxii13
« Reply #5 on: March 06, 2007, 06:34:01 pm »
Sounds like a great opportunity to have different versions of pdaXii13 (one with Fluxbox, one with Xfce, etc)! Save people the trouble of fixing all of the little quirks of installing a new WM.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #6 on: March 06, 2007, 06:42:25 pm »
Quote
Sounds like a great opportunity to have different versions of pdaXii13 (one with Fluxbox, one with Xfce, etc)! Save people the trouble of fixing all of the little quirks of installing a new WM.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155604\"][{POST_SNAPBACK}][/a][/div]

that's the general idea
btw, when pdaXii13 Spitz 5.3.2 is available, it will have icewm and fluxbox preinstalled and slightly pre-customised, but some further tweaking is still required...
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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #7 on: March 07, 2007, 07:59:09 am »
i have updated zbackup. it will be uploaded shortly...
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
Zbackup For Pdaxii13
« Reply #8 on: March 07, 2007, 08:43:09 am »
Quote
btw, when pdaXii13 Spitz 5.3.2 is available, it will have icewm and fluxbox preinstalled
[wishful-thinking]
xfce4 pre-installed and -configured?
[/wishful-thinking]

Anyway, thanks for updating zbackup, I'll try it out as soon as you've uploaded it.
YT,
Tron

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #9 on: March 07, 2007, 08:47:45 am »
and here is the latest and greatest build of zbackup


removed this ipk due to a bug in it. use the newer one instead
« Last Edit: March 07, 2007, 11:25:13 pm by Meanie »
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

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Zbackup For Pdaxii13
« Reply #10 on: March 07, 2007, 11:19:01 am »
Quote
and here is the latest and greatest build of zbackup
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155657\"][{POST_SNAPBACK}][/a][/div]


Ok, I reinstalled zbackup and it worked fine. It created a initrd.bin backup on my /mnt/card.

VirtusRex

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #11 on: March 07, 2007, 06:53:21 pm »
Quote
Quote
and here is the latest and greatest build of zbackup
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155657\"][{POST_SNAPBACK}][/a][/div]


Ok, I reinstalled zbackup and it worked fine. It created a initrd.bin backup on my /mnt/card.

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155675\"][{POST_SNAPBACK}][/a][/div]

that's good. now the big question is whether you can flash this initrd.bin and you get your exact setup back....
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

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Zbackup For Pdaxii13
« Reply #12 on: March 07, 2007, 08:54:13 pm »
Quote
Quote
Quote
and here is the latest and greatest build of zbackup
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155657\"][{POST_SNAPBACK}][/a][/div]


Ok, I reinstalled zbackup and it worked fine. It created a initrd.bin backup on my /mnt/card.

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155675\"][{POST_SNAPBACK}][/a][/div]

that's good. now the big question is whether you can flash this initrd.bin and you get your exact setup back....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155724\"][{POST_SNAPBACK}][/a][/div]

And the answer to your question is no. I tried using the initrd.bin to restore the os, but it failed half-way through the reinstall.

Error Message:

Oups!!!
RO file system: error while flashing.
Press the [ENTER] key for reboot.

VirtusRex

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #13 on: March 07, 2007, 11:23:56 pm »
Quote
Quote
Quote
Quote
and here is the latest and greatest build of zbackup
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155657\"][{POST_SNAPBACK}][/a][/div]


Ok, I reinstalled zbackup and it worked fine. It created a initrd.bin backup on my /mnt/card.

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155675\"][{POST_SNAPBACK}][/a][/div]

that's good. now the big question is whether you can flash this initrd.bin and you get your exact setup back....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155724\"][{POST_SNAPBACK}][/a][/div]

And the answer to your question is no. I tried using the initrd.bin to restore the os, but it failed half-way through the reinstall.

Error Message:

Oups!!!
RO file system: error while flashing.
Press the [ENTER] key for reboot.

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155729\"][{POST_SNAPBACK}][/a][/div]

oh yeah, found the bug. i will upload a new fixed zbackup ipk and hopefully this one will work!

btw, what was the size of the generated initrd.bin file?
« Last Edit: March 07, 2007, 11:43:59 pm by Meanie »
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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #14 on: March 07, 2007, 11:54:14 pm »
try this one
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