System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Recovery of deleted files from HP-UX

nish_1
Frequent Advisor

Recovery of deleted files from HP-UX

Hi,
I have accidently deleted my database dumps from HP-UX B.11.31 U ia64 machine.Please guide me in recovering the same ASAP
16 REPLIES
Torsten.
Acclaimed Contributor

Re: Recovery of deleted files from HP-UX

Recover from backup ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bart Paulusse
Respected Contributor

Re: Recovery of deleted files from HP-UX

IF you have made a backup of these files, you can restore them from this backup.
There is no undelete in hp-ux.

good luck,
Bart
Ganesan R
Honored Contributor

Re: Recovery of deleted files from HP-UX

Hi,

Unix does not have recycle bin like windows. Only way is to restore from the backup.
Best wishes,

Ganesh.
Suraj K Sankari
Honored Contributor

Re: Recovery of deleted files from HP-UX

Hi,
Once you delete any file from the system its DELETES forever from your system .If you want that file back then you have to restore from your previous backup.

Suraj
Ashish Parashar
Frequent Advisor

Re: Recovery of deleted files from HP-UX

Hello Nishamohan


the only option is to restore the files from backup .....

if you have networker install then try recover command and you can also use nwrecover for GUI of networker.

Regards

Ashish
OldSchool
Honored Contributor

Re: Recovery of deleted files from HP-UX

as noted....recover files from backup (you've got one, right?).

recovery steps depend on backup software / database in use, and how the backup was taken.
Steven E. Protter
Exalted Contributor

Re: Recovery of deleted files from HP-UX

Shalom,

Out of the box, only CDE the X windows graphical interface has a trash can.

Unix and Linux have no built in recycling bin like Windows. This uses a lot of disk capacity, and creates overhead.

Without regular backups you have no recourse or recovery path.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
subodhbagade
Regular Advisor

Re: Recovery of deleted files from HP-UX

Hi,

Hopes you have taken the backup of system.

Here is command :----

frecover -f /dev/rmt/xmn -x -v -i destination path

Regards,
Subodh

OldSchool
Honored Contributor

Re: Recovery of deleted files from HP-UX

"Hopes you have taken the backup of system.

Here is command :----

frecover -f /dev/rmt/xmn -x -v -i destination path"

well...thats correct *IF* he used fbackup. So far, there is nothing to indicate he's got one or what was used to perform it
Hakki Aydin Ucar
Honored Contributor

Re: Recovery of deleted files from HP-UX

actually there is no software programm like in Windows but it must be a way to recover a file on hard disk due to its nature.Check this out I did not try but maybe it is useful:
http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html
OldSchool
Honored Contributor

Re: Recovery of deleted files from HP-UX

"but it must be a way to recover a file on hard disk due to its nature.Check this out I did not try but maybe it is useful:...":

use grep on an entire partition and vi the results? hardly.

and since unix will happily use available space on the drive, it can very well overwrite portions where the file used to be, which may blow the "must be a way...due to nature.." right out of the water.

it's been a couple of days since he requested this "ASAP", so either it isn't that urgent or maybe there weren't backups and the boss found out
Torsten.
Acclaimed Contributor

Re: Recovery of deleted files from HP-UX

This will be just a waste of time ... all of this depends on the disk layout (volume manager yes/no; file system type ...) also.
It may work on a linux PC if you pull the plug immediately, but not here.



Keep in mind: if your are root - think about EVERY key stroke!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: Recovery of deleted files from HP-UX

Come on.

Game Over. No backup, no recovery.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: Recovery of deleted files from HP-UX

I agree SEP - 16 times "backup" in this thread, should be hint enough ...

Good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Avinash20
Honored Contributor

Re: Recovery of deleted files from HP-UX

on a UNIX box the free blocks get overwritten almost immediately. In extremely rare cases, it is possible to recover the file (or parts of it) if you immediately unmount the filesystem and use tools like fsdb but your changes are extremely small.

Look at the following thread which provides an example by RAC

http://forums13.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=526219&admit=109447627+1240545307269+28353475
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
nish_1
Frequent Advisor

Re: Recovery of deleted files from HP-UX

Thank u all for the timely response.We recovered it from the backup.

I regret for the late reply as i was out of station