- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how do I recover a deleted file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 08:55 PM
08-29-2004 08:55 PM
how do I recover a deleted file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:04 PM
08-29-2004 09:04 PM
Re: how do I recover a deleted file
Recover a backup. There is no undelete available on unix. Could you specify the file deleted?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:08 PM
08-29-2004 09:08 PM
Re: how do I recover a deleted file
if you don't have a backup i'm afraid you've lost that file, because there's no recovery option for deleted files in unix
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:18 PM
08-29-2004 09:18 PM
Re: how do I recover a deleted file
If it's very importend and you do not have a backup to recover! There is one other site to look at:
http://www.porcupine.org/forensics/tct.html#features
http://www.fish.com/tct/help-recovering-file
Have a look at "unrm"
It's a toolkit used for forensic computing and made by 2 smart people:
Dan Farmer and Wietse Venema
Text from the website:
The quick version is this:
Use "unrm" to recover the data, from the file system with
the lost file, to another file system; run lazarus, and
comb through the results until you find your data.
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:19 PM
08-29-2004 09:19 PM
Re: how do I recover a deleted file
When ever you remove file then, move that file into some storage area. After some period delete that file.
mkdir /var/adm/recyclebin
Move the files over there by making move instead rm command when calling rm there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:27 PM
08-29-2004 09:27 PM
Re: how do I recover a deleted file
Take a look at these threads (same topic has been discussed there):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=66836
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=61612
HTH.
Regards,
Sri Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:35 PM
08-29-2004 09:35 PM
Re: how do I recover a deleted file
In unix if u delete the file you won't be able to get it back unless you have back of the file.Right now you no option other than restoring the required files from the backup.
As muthu told if u want to delete a file instead of deleting it move a directory and keep.
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 02:11 AM
08-31-2004 02:11 AM
Re: how do I recover a deleted file
You can make the rm command a little more "novice friendly" by using the -i option and it will then ask whether you definately want to remove the file.
For example.
rm -i test
test: ? (y/n) y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 02:18 AM
08-31-2004 02:18 AM
Re: how do I recover a deleted file
alias rm="rm -i"
This will force "rm -i"
You can still override this alias by using: -
rm -f
but at least you'll know it WILL delete all your files ;)