1832877 Members
2730 Online
110048 Solutions
New Discussion

Re: Recover file

 
SOLVED
Go to solution
O'lnes
Regular Advisor

Recover file

If I have reset the file ( eg. > file ) , can I recover the file? Thanks.
Andy
5 REPLIES 5
Tom Geudens
Honored Contributor
Solution

Re: Recover file

Hi,
It depends. Did you take a backup of that specific file ? Which file are we talking about ?

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
O'lnes
Regular Advisor

Re: Recover file

i have no backup, it is just a log file( not system file). Thanks.
Andy
Michael Tully
Honored Contributor

Re: Recover file

Unless you have created a backup copy beforehand or have it on backup, then the answer is no, the system will not automatically create a backup file.
Anyone for a Mutiny ?
Tom Geudens
Honored Contributor

Re: Recover file

Hi,
As Michael indicated ... no, you won't be able to recover. Lucky you ... only a logfile.

If I were you, I'd grab this incident as a opportunity to take a look at backup/recovery. You might start with a
#man fbackup
#man frecover

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Michael Tully
Honored Contributor

Re: Recover file

AND continuing from Tom's suggestion.

If your going to make changes to a file:

# cp file1 file1.300802 (date of the change)
# vi file1 (make your changes)
Save the file

If something goes wrong, you have the backup file in which to recover from. Try not to make a habit of creating or changing files using '> file'

HTH
Michael
Anyone for a Mutiny ?