From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,af0d0ffe1590e9b8 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,af0d0ffe1590e9b8 X-Google-Attributes: gidfee84,public X-Google-Thread: 11ee88,af0d0ffe1590e9b8 X-Google-Attributes: gid11ee88,public From: Ed Wensell III aka THE StormRaiser Subject: Re: recover deleted files in Digital UNIX Date: 1999/07/20 Message-ID: <37949612.7C80@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 503168510 Content-Transfer-Encoding: 7bit References: <37944E3F.ED5D8B7A@murdoch.edu.au> <7n21pi$5ee$1@imsp009a.netvigator.com> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Technical Community College Mime-Version: 1.0 Reply-To: ewensell@pstcc.cc.tn.us.net Newsgroups: comp.unix.admin,alt.unit.wizards,comp.unix.osf.osf1 Lai Wai Lun Alan wrote: > > As far as I know, there is no method to recover a deleted file in UNIX > system. > Correct me if I am wrong. > > Alan Lai This depends on how the files were deleted... If one were to delete files using the CDE File Manager (or something of the like), then they MIGHT be able to recover those files from the Wastebasket. As long as they didn't "empty" their Wastebasket. If one were to delete their files using good old rm, then the recovery of those files would be highly dependent on whether or not a good backup is available. If these "very important files" were system related (rm -R /usr), then I hope there is either a good backup or the original installation CD's handy. If a good backup is not available, maybe now would be a good time to start... > Hong Xie wrote in message <37944E3F.ED5D8B7A@murdoch.edu.au>... > > > >Hello, > > > >I accidentally deleted a directory containing many important files. > >I wonder if anyone know whether and how I can recover those files. > >I am using a Digital Alpha workstation running Digital UNIX v4.0. > >The filesystem type is UFS. I have root user privilege. > > > >I would appreciate you for any information. Many thanks. > > > >Hong Xie > >h.xie@murdoch.edu.au Another possibility is see if you can find some file system tools. If the system/disk is not accessed much, and you do not have a high level of security on it, then the files might be "recovered" using the appropriate hacks. I'm afraid I do not know of any hacks right off... If the system is heavily used, or is in a "high security" mode, then the files are probably overwritten or were erased at the moment of deletion. Which brings us back to having a good backup... It does not take much to set up a cron job to have files tarred/dumped to disk or tape once a day. -- Until soon... Ed Wensell III Systems and Operations Support, Pellissippi State E-mail hint: A college with a dot net domain?