LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with my back ups (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-my-back-ups-4175432053/)

MissPerfekt 10-13-2012 02:49 PM

Problem with my back ups
 
For the last few months I've been backing up my files to device null because a friend told that's faster and more secure. But now my system crashed and I'm trying to get last weeks back up.

but I can't cd to null, and if I ls it just says /dev/null. I tried to use less on it but it says it's not a regular file. It's says "Use -f to see it", but that gives me an empty page.

So how can I get my files out of device null? Please help me I really need my back ups.

suicidaleggroll 10-13-2012 03:07 PM

Uhhhh...I think you need to slap your friend.

/dev/null is a black hole. A bottomless pit in which you can throw anything and it disappears forever. It's generally used as a destination where you can pipe script output that you don't want. It can't be used for backing anything up, as anything that's sent to /dev/null is gone.

Your friend probably told you that as a joke, assuming you wouldn't actually take him seriously. Similar to the old chat room/online gaming joke to hit Alt+F4 to increase your bandwidth.

/dev/random 10-13-2012 03:14 PM

Hi MissPerfekt.
You can't get any files back from /dev/null, /dev/null is essentially a blackhole what goes in can never come back out.
You data is lost for good if you have indeed been backing up to /dev/null


All times are GMT -5. The time now is 10:36 AM.