Date: Mon, 07 May 2007 13:19:26 -0400 From: Jeff Palmer <questions@totaldiver.net> To: ray@stilltech.net,freebsd-questions@freebsd.org Subject: Re: disaster recovery - did I do the right thing? Message-ID: <20070507171949.1BB9AB859@mail.totaldiver.net> In-Reply-To: <200705051705.43504.ray@stilltech.net> References: <200705051705.43504.ray@stilltech.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 07:05 PM 5/5/2007, Ray wrote: >Hello all, >I did something stupid the other day (sleep deprivation combined with >a "clever" hack were the main reasons), and I'm just curious if I did the >right thing afterwards. > >The mistake: >/usr/local/# rm -f * >note that root was running bash as a shell at the time, found >in /usr/local/bin or something. > >What I did was to start over, reinstall from scratch. >my question, was there an easier way? >thanks, >Ray Ray, Good quality backups are a must. Even a filesystem snapshot would have helped in the above scenario. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html The link above has great info about creating and using filesystem snapshots. If you had one, you could have just mounted the snapshot, and copied over the files/folders you accidentally removed. Jeff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070507171949.1BB9AB859>