Hello,
frinally I was able to clone my SL-C3000 setup completely onto a second machine, so now in theroy I know how to _completely_ backup the device and restore it.
However, to lower the efforts needed for a backup (i.e. in order to make it possible to myself to run backups more often), I'm looking for a way to automate it.
What I did:
* Used the built-in backup/restore to backup the SL-C3000 (all but /dev/hda3) onto an SD card (it boots into simgle-user mode in order to make clean backups of hdd1 and hdd2 and probably /home etc.)
* used tar to back up important directories of /dev/hda3 (leaving out video / mp3 files, as they are not important) onto SD
Then I prepared the "backup" (i.e. second) unit:
* Flashed Cacko ROM per instructions
* used built-in backup/restore to restore the backup
* untarred the hdd3 stuff
* rebooted.
--> Now I have a perfect clone of the first device. And so I know in case of a hardware failure I do not have to spend too much time for getting up and running agian.
But the backup procedure is somewhat clumsy. I can put the hdd3 backup stuff into a script which I can call when going to bed.
Now I'm interested in what exactly the built-in backup appliactoin does, so I can baybe also control that from a script. If it is only a wrapper for some commands, it could be done maybe.
The most complicated part is probably the single-user-mode switch,. since an "init 1" will probably kill the script. But OTOH the built-in applications also must survive somehow.
Has anyone looked deeper into this already?
---
Also it would be great to be able to create a CF/SD card with everything onboard to completely recover from a crash, i.e. the Cacko flash files AND the backups. Maybe even restore the complete backups (hdd3 and the other backup) directly from the Cacko installer scripts, so just pop in the card, co through some Japanese menues as Cacko docs describe, and have EVERYTHING back running in half an hour).
Is it correct that the Cacko flash files MUST be on a FAT partition? My SD is ext2, so I cannot do it without swapping cards or having some trouble with multiple partitions on the card.
For the backups created with the internal backup application, it doesn't matter which fs type it stores its stuff on, does it?
Any ideas?
Thanks
daniel