Author Topic: Best Way To Backup?  (Read 1930 times)

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Best Way To Backup?
« on: March 12, 2006, 06:54:09 am »
Ive now made a good cacko install with x/qt and debian and I want to test pdax and oBSD....
Ive made a normal backup from cacko but who about HD (x/qt,debian and some apps are in hdd4 ext part)? I thought somethink like
umount ... and tar... am I missing smthg?
OR a NAND backup? Will it take HD also?

thnx,
tasos
« Last Edit: March 12, 2006, 06:56:20 am by DaemonsGR »
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Best Way To Backup?
« Reply #1 on: March 13, 2006, 02:11:06 am »
Anyone??????
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Best Way To Backup?
« Reply #2 on: March 13, 2006, 03:17:40 am »
Quote
Anyone??????
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Have a look at [a href=\"http://www.daniel-hertrich.de/zaurus/zps]http://www.daniel-hertrich.de/zaurus/zps[/url]
and search for "user data backup solution" (there are two such sections, old and new!)

daniel
« Last Edit: March 13, 2006, 03:20:31 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

prahs

  • Newbie
  • *
  • Posts: 25
    • View Profile
Best Way To Backup?
« Reply #3 on: March 13, 2006, 03:20:21 am »
Hi,

Try this from Meanie's web site, it worked for me...

Since /hdd3 is quite large, you either need to get a big CF card, or mount a Samba or USB drive that has enough space to hold your data. A USB drive would be the best (cheaper than CF drive and faster than Samba since its connected directly and not over a network unless you have got a fast network).

Assuming you have your USB disk mounted as /mnt/usbdisk1 you could do the following to backup /hdd3:

# tar cf - /hdd3 | gzip - > /mnt/usbdisk1/hdd3-backup.tgz
 

If you are paranoid you can backup /hdd1, /hdd2 and /home as well:

# tar cf - /hdd1 | gzip - > /mnt/usbdisk1/hdd1-backup.tgz
# tar cf - /hdd2 | gzip - > /mnt/usbdisk1/hdd2-backup.tgz
# tar cf - /home | gzip - > /mnt/usbdisk1/home-backup.tgz
# tar cf - /root | gzip - > /mnt/usbdisk1/root-backup.tgz
# tar cf - /mnt | gzip - > /mnt/usbdisk1/mnt-backup.tgz
 

The Zaurus backup tool basically shuts down Qtopia so all open files are closed and then tars up /hdd2 and /home which become the backup image. This is much safer than the above approach while Qtopia is still running. You should, however, gzip the backup image to save some space. There is no real need to backup /hdd1 each time since it is a read-only partition and does not change unless you have changed something on it manually or applied an update via flashing.

I have written a script called hdbackup which will backup /hdd3 by archiving and compressing each directory separately and datestamping them so regular backups can be made by simply running a single command.