Author Topic: I Need A (full) Backup Utility  (Read 2701 times)

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
I Need A (full) Backup Utility
« on: March 10, 2005, 09:11:08 pm »
I need a full backup utility for my now very stable and satisfactory installation of OZ 3.5.2/Opie.  Unfortunately, the included backup/restore utility hasn't implemented full backup yet.  I think I should be able to backup things using tar and gzip to archive them on my SD card, but in order to do so I need to know what directories should and should not be included in said archive.

I know I'll need to archive the following:
/mnt/ram
/opt
/lib
/etc/profile

Any others?  I want this archive to be able to as completely as possible restore the state of a system which has had to be reflashed.  If there is another utility for the Z that does this better, I'll try that before I start mucking around myself with archives that overwrite system files when extracted.  Thanks!

Note: as a temporary measure to hold me (and everyone else) over until the Opie backup utility is fully functional, I might write an opie-sh wrapper for this.
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
I Need A (full) Backup Utility
« Reply #1 on: March 10, 2005, 11:12:54 pm »
I'm not sure about the Z's tar, but most tars I know can use exclude.  If you want it to be relatively complete, why don't you tar up / and exclude the directory where your backing up to?

I'm not sure you would want to backup anything in from the ROM though
« Last Edit: March 10, 2005, 11:14:28 pm by bluedevils »
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
I Need A (full) Backup Utility
« Reply #2 on: March 11, 2005, 06:57:29 am »
Check out http://www.pipsfrank.de/public_files/ozone.tar.gz , it somewhat does what you want and might be easily adaptable (well, it does a full backup of your Z on your PC, so you might be able to change it to do it on your Z only, it's just a shellscript).

Cheers
Philipp
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
I Need A (full) Backup Utility
« Reply #3 on: March 11, 2005, 08:34:39 am »
I use unison to back up my Zaurus.  It looks at the Zaurus filesystem and the backup filesystem, and tells you about any differences.  You can then decide whether to back up the new files or restore the old ones.

Dan
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
I Need A (full) Backup Utility
« Reply #4 on: March 17, 2005, 02:38:05 pm »
I checked out ozone, and it looks like that's sort of what I was thinking of.  Thanks a bunch!
« Last Edit: March 17, 2005, 02:40:10 pm by GenericAnimeBoy »
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(