> -----Original Message----- > From: Simon Slater [mailto:[EMAIL PROTECTED] > Sent: Friday, May 20, 2005 4:43 PM > To: Will H. Backman; misc@openbsd.org > Subject: Re: Safe development > > Luckily, restoring is not something i've had to do too > often so I don't have a pre-written script for doing > it but after booting from the CD and dropping to a > shell I would use something along the lines of > > --- BEGIN --- > > mount /dev/wd0a /mnt > cd /mnt > gzcat /scratch/backup/root.dump.gz | restore -r -f - > cd /mnt/home > gzcat /scratch/backup/home.dump.gz | restore -r -f - > cd /mnt/var > gzcat /scratch/backup/var.dump.gz | restore -r -f - > cd /mnt/cvs > gzcat /scratch/backup/cvs.dump.gz | restore -r -f - > > /usr/mdec/installboot /usr/mdec/boot > /usr/mdec/biosboot wd0 > > --- END --- > > These are pretty much from memory so they may not be > exactly right. Also if you boot from a CD you may need > to remount /tmp somewhere so that restore has enough > space to work. > > The added complication in my particular case is that > everything other than / is located on a ccd(4) disk > and the ccd driver is not in the RAMDISK kernel. Can't > recall how I got round this last time but I do > remember it causing me a few problems initially. > > Hope this helps > > - Simon >
Perhaps the OpenBSD community can work to create something for the FAQ. One of our requirements for any new system is a tested restore procedure. I think that a suggested procedure can be very helpful, even though we all know that there are many ways to do it.