OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: GenericAnimeBoy 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.
-
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
-
Check out http://www.pipsfrank.de/public_files/ozone.tar.gz (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
-
I use unison (http://www.killefiz.de/zaurus/showdetail.php?app=462) 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
-
I checked out ozone, and it looks like that's sort of what I was thinking of. Thanks a bunch!