Re: restoring deleted files

2006-06-12 Thread Alex Zbyslaw

Denny White wrote:


I hate it  it's aggravating, but it's saved me several
times from another restore, but in .bashrc I have:

alias rm='rm -i'

This is good advice.  You can also alias mv and cp similarly, and also 
set noclobber (tcsh) or its equivalent so that  etc do not overwrite 
existing files.


By using file name expansion (TAB, ^D etc) you can also check whether 
file names exist already or not.


--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restoring deleted files

2006-06-12 Thread Eric Schuele

On 06/08/06 18:36, Phil Sweeney wrote:

Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Not a lot of options here as others have hinted.  But one thing that 
might help in the future is SoftUpdates+Snapshots.  See the online 
handbook Section 17.14:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

You can take a daily snapshot, and if you accidentally delete a file... 
mount the snapshot, and recover it.


Just an idea.

--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: restoring deleted files

2006-06-09 Thread fbsd
Only option is to restore from backup.

YOU DO backup your data?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Phil
Sweeney
Sent: Thursday, June 08, 2006 7:37 PM
To: [EMAIL PROTECTED]
Subject: restoring deleted files


Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: restoring deleted files

2006-06-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1






Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___


I guess, if you know what you're doing, you can go
in with a disk editor, but not simple. And, like
another message said, depends on if the inodes have
been overwritten. And like the other post alluded to,
there's no replacement for a good backup. That being
said, I can tell you what I've done ever since I hosed
/usr one day accidentally, while in a pissed off mood
 not paying attention to the paths I was typing,  had
to do a restore (luckily I  had just done a full dump).
I hate it  it's aggravating, but it's saved me several
times from another restore, but in .bashrc I have:

alias rm='rm -i'

When you type rm whatever, it'll ask you if you're
sure.
Be sure. :-) And backup regularly.

Denny White

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEikpfy0Ty5RZE55oRAlO8AJ0ciXkefj+hCNGygp+kBgjBXD6XMwCfYu/f
xvLiJSbzdaocg79HoDgpgNU=
=PT9Y
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


restoring deleted files

2006-06-08 Thread Phil Sweeney
Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restoring deleted files

2006-06-08 Thread Jahilliya

On 6/9/06, Phil Sweeney [EMAIL PROTECTED] wrote:

Can you tell me a simple way of retrieving recently deleted files?


There is no simple way.

And it depends on whether the inodes the file existed on have been overwritten.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]