> On Sun, 18 Feb 2007, Calvin Liu wrote:
>
>> I want to run command "rm Dis*" in a folder but mis-typed a space in it
>> so it became "rm Dis *". Unfortunately I had pressed the return button
>> before I noticed the mistake. So you all know what happened... :( :( :(
>
> Ouch!
>
>> How can I get the files back in this case?
>
> You restore them from your backups.
>
>> I haven't backup them.

This is one ( of many ) reasons why ZFS just rocks.  A snapshot would have
saved you.  I don't consider a snapshot to be an actual backup however.  I
define a backup as something that you can actually restore to bare metal
when your entire datacenter has vanished into a blackhole.  That means a
tape generally.

In the Lotus Notes/Domino world there is a very nice feature where you can
have soft-deletions.  Essentially you can delete a record from a database
and then still do a recovery if needed within a given retention time period.
 Perhaps a soft-deletion feature to ZFS would be nice.  It would allow a
sysadmin or maybe even a user to delete something and then come back later,
check a deletion log and possibly just unrm the file.

Dennis

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to