View Single Post
Naranek's Avatar
Posts: 236 | Thanked: 149 times | Joined on Jul 2007 @ Finland
#3
I'm using a N800 booting off a mmc, so you probably can't apply this directly, but it might give some ideas.

From time to time I plug in my N800 and write an image of the system partition to disk with a program called dd (diskdump). If something goes terribly wrong, I can just get a new card, partition it, dump the image back and I'm ready to go.

I also have a rsync script, which I can use to copy the contents of my home directory to a computer at home. It works securely over the internet. The script is very simple, but you need ssh and rsync to make it work. I try to run this as often as possible.

Code:
#!/bin/sh
cd /home/user
dpkg --get-selections > installedpackets
rsync -v -u -a --delete --rsh=ssh --stats --exclude-from=/home/user/sbin/backup-excludes /home/user myusername@myserver.dyndns.org:backup_directory/