On Fri, 2003-10-17 at 22:19, Andrew Gaffney wrote: > Tom Wesley wrote: > > On Fri, 2003-10-17 at 22:08, Andrew Gaffney wrote: > > > >>I want to be able to quickly restore my system to a known working configuration > >>from a > >>burned CD or set of CDs. I currently backup my /home, /root, /etc, and MySQL dbs > >>everynight to a tape drive. I also have a second HD that I perform a complete > >>backup to > >>everynight using rsync. What I want to be able to do is rebuild the system in a > >>matter of > >>minutes similar to the way a stage 3 install works. In case the box catches on > >>fire or > >>something equally unlikely, I want to be able to get my system back up and running > >>quickly. > >> > >>What I was thinking about doing was using the quickpkg utility to create binary > >>packages > >>of everything installed on my system. I would then burn all the binary packages to > >>a CD. > >>In order to restore, I would boot from a LiveCD, create my partitions, extract a > >>stage 1 > >>or 2 tarball (if even needed), and then use emerge to re-install all the binary > >>packages > >>from my CD. I would then restore my data and configs from the tape backup. > >> > >>Would this work? Are there any major pitfalls anyone can see? Has anyone > >>successfully done > >>this kind of thing before? > > > > Check partimage. I have used it more than once. One thing worth > > noting, after a restore I have had to do a manual "ldconfig" from a root > > console before major things (like x) will work. Not sure if it's > > generic or something obscure to my setup, but worth a note and saves > > some hair pulling.... > > This does look promising. I may base my rescue CD on the Gentoo LiveCD to start. > From > there, I'll write a bash script to automate/semi-automate the restore of partitions > from > multiple CDs.
I would be curious about anything you get in this direction, I currently backup to a different disk and restore as needed. Also, not that I'm at all lazy, but if you write any cron scripts to automate backup I wouldn't mind a glance. Have been meaning to get to it, just been busy. -- Tom Wesley
signature.asc
Description: This is a digitally signed message part
