Solved

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

Posted on 2011-03-08
4
731 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 39
Can't get /etc/resolv.conf to configure after reboot 8 72
Problem to start Neon 20 86
Trying to make SNMP connection work 7 65
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now