PDA

View Full Version : On-Board Backup


PortlandPaw
05-02-2007, 11:41 PM
I’ve been playing around with creating a backup file of the /var directory using cpio and gzip. I’ve successfully created a file of about 145 meg (I’ve got a lot of junk loaded and really should clean house), placed it in the /lib directory, and then successfully restored the files to their original locations.

I’m thinking about adding this feature to hackman. This, combined with the active/inactive partition backup, would provide an on-board backup of the operating software along with all hacks, whether they’re loaded in the root directory or in /var.

It would also be possible to create a cronjob to keep the /var backup current.

My question is this: Does anybody see any downsides or danger to this idea? Any suggestions to improve upon the idea?