Solved

Recover a file that was auto deleted on boot from /tmp folder

Posted on 2011-03-08
4
732 Views
Last Modified: 2012-05-11
I wonder if anyone can help me I have been working on a perl script on a vyatta (debian based) router.
I foolishly saved the script to the /tmp folder.   When i have rebooted this file has been auto deleted
because of it's location.

Is there a way which i can recover this file?

many thanks
0
Comment
Question by:Ross-C
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
svs earned 500 total points
ID: 35068610
If /tmp is memory-based (using tmpfs filesystem), there's no chance to recover the file.

If it's not, it's still very hard.
0
 
LVL 4

Expert Comment

by:l4ncel0t
ID: 35068649
You have hardly any chance to restore it. But if you are using ext3 you can try that
http://www.linux.com/archive/feature/141074
0
 
LVL 4

Expert Comment

by:l4ncel0t
ID: 35068671
0
 
LVL 11

Author Closing Comment

by:Ross-C
ID: 35068713
Thats what i thought, ah well you only do these things once.  Cheers anyway.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux hostname change 2 72
Adding more CPU cores to a Linux VM 5 97
Help With Shell Script Centos 6 6 53
how to rebuild XFS volume from LV 19 64
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question