i just did a rm -rf /*r as root!!!

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Wed Apr 27 03:33:36 UTC 2005


On Tuesday 26 April 2005 23:15, Ed Wilts wrote:
> On Tue, Apr 26, 2005 at 10:52:12PM -0400, Reuben D. Budiardja wrote:
> > Backups should always be mounted read-only.
>
> Then how do you create them?  :-)

I should've been more specific.

> My backups are updated constantly - the volume is updated via rsnapshot
> which creates hardlinks all over the place.

Mine's similar. I have a backup server that do this using rsnapshot from other 
machines. Then the backup server export the backup volume as NFS read only. 
The machines mount their relevant backup volume as /yesterdays, so users can 
read their 'older' files.

Access to backup server is very restricted (in this case, only I have access). 
But if one happens to "rm -rf /" in the backup server, well, that's either 
very bad luck, or ... (fill in the blank yourself )  :)

RDB

-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------




More information about the redhat-list mailing list