Author Topic: What Is The Difference?  (Read 3405 times)

BarrySamuels

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://www.beenthere-donethat.org.uk
What Is The Difference?
« on: October 24, 2006, 01:34:42 pm »
Can someone explain the difference between a NAND backup/restore from the Service menu and a backup/restore from the settings tab?
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
What Is The Difference?
« Reply #1 on: October 24, 2006, 01:46:24 pm »
I'll explain Backup/Restore from the settings tab, as I haven't used NAND Backup/Restore.
I have only used this in Cacko.
This Backup/Restore option allows you to create images of settings & programs installed, in increments.
This Backup/Restore option allows you to restore your Zaurus to a previous state, within Cacko.
In other words, you must have a "Working" ROM (Sharp/Cacko)
I keep many backups using this method. I have about 22 of them archived to DVD.
Back when I first got my Zaurus, I once started over with Sharp rom.
Then I installed Cacko and didn't tweak or adjust anything.
Then I used Restore, and restored ONE of my Backups.
Now my Zaurus was in the same "state" as it was when I made THAT backup.

BTW, you'll get more responses to this thread if you edit the title to something more descriptive...
« Last Edit: October 24, 2006, 01:55:10 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
What Is The Difference?
« Reply #2 on: October 24, 2006, 02:33:09 pm »
NAND backup/restore...

It is not OS dependant... you don't have to have a running OS to do a restore or backup...

It his backups up EVERYTHING... full file system... from begining to end... even empty space...

Good for if you have a perfect running copy of any ROM...

Late

PS HoloVector is repling as a type so his will prolly be me indepth... I dont have time now to "Break it down"
« Last Edit: October 24, 2006, 02:33:41 pm by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
What Is The Difference?
« Reply #3 on: October 24, 2006, 02:40:49 pm »
Nice Description Jon_J    

To add on to what Jon_J said a NAND backup is useful when your Zaurus OS is no longer working.  They are larger in size compared to the regular backup.  A NAND is around 128MB in size because it is a backup of the entire Zaurus flash area while the regular backup file only has settings, documents and added applications it's about 64MB in size.  I prefer NANDs because I like restoring everything back to exactly the way it was but, getting to the Service Menu is a pain.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
What Is The Difference?
« Reply #4 on: October 25, 2006, 02:44:39 am »
NAND is a type of Flash Memory
Quote
Developed by Toshiba a year after Intel's NOR flash, NAND flash functions like a disk rather than memory. Flash Translation Layer (FTL) software makes flash look like a disk drive to the operating system. Reads and writes are sector-sized blocks of 512 bytes; however, typically, a 2KB page of four blocks are read and written at one time. Before writing, cells are erased in blocks ranging from 16KB to 128KB. Less expensive than NOR, NAND flash can be rewritten up to a million times, and erasing and writing NAND is faster than NOR

When creating a back-up of a NAND it is archiving each inode, every superblock, from zero to the last. (In the case of our Z's a full 128MB of installed memory) You do not need to have an OS installed to perform a NAND backup. (the service menu is not an OS per-se -- as long as the service menu functions you can reflash a NAND image) ... **as a note there are also two service menus .. in case one gets corrupted. They are accessed by hitting [D]+[M]+power and [Fn]+[D]+[M]+[Power]  ( D+M stands for Diagnostic Menu)

The back-up/restore function is found in Sharp based ROMS (Cacko/Sharp) under that name .. I think it is called something different in OZ. pdaXrom does not have a utility built-in. backup/restore is OS dependent in that You need to have already flashed an OS on your Z. It is creating a tarball (compressed image) of the files you have specified. ie: your /home directory, also user space, configs, and installed programs... it generally does not archive the kernel, all system files, etc ..

To restore from a restore/backup tarball you need to have a working OS flashed to your NAND memory. (generally the same version the tarball is originally from) the tarball then extracts your /home and configs so you can duplicate your settings.



A good way to think about it is that the NAND is the physcial base like your harddisc. a NAND backup archives everything where it phsycially is on the disc. the kernel, libraries, configs, etc... all remain exactly where they were when you created the image. You do not need to have an OS flashed to restore from a NAND image. it can be used to install a full system, OS, settings and all. for instance a C1000 owner running OZ could use a NAND backup from another user to install pdaXrom fully configured with extra prorgams already installed. it will overwrite EVERYTHING.

a backup/restore generally adds or alters whatever is already there. If you do not have a working image on the Z, the restore will fail. or if you try to use a backup/restore for a different OS then what you are currently running, the restore will fail.


hmmmm ... make more sense when to use which? I haven't needed to make a backup in a long time .. pdaXrom is very stable for me ... but I used backup/restore to keep my calendar data up to date, and avoid minor inconviences.
« Last Edit: October 25, 2006, 02:48:02 am by loji »
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

TRIsoft

  • Sr. Member
  • ****
  • Posts: 332
    • View Profile
    • http://www.trisoft.de
What Is The Difference?
« Reply #5 on: October 25, 2006, 04:30:45 am »
Hi all,

and the most important thing:
A NAND backup is just a large and dumb memory dump,
but the regular backup is a simple tar-file.
So it's easy to access files from a regular backup if
you just give it a .tar extension, you may even extract
files on a Windows box.

///TRIsoft

Marc Stephan

BarrySamuels

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://www.beenthere-donethat.org.uk
What Is The Difference?
« Reply #6 on: October 25, 2006, 05:10:51 am »
Quote
NAND flash can be rewritten up to a million times
I've already done one NAND restore so I've only 999,999 more to go - I'll have to watch that carefully then.  

Quote
**as a note there are also two service menus .. in case one gets corrupted. They are accessed by hitting [D]+[M]+power and [Fn]+[D]+[M]+[Power]
Well I didn't know that! Could be useful.

Thanks to all who replied. I now know a bit more than I did about backups.
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain