LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2012, 01:49 PM   #1
MissPerfekt
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 10-13-2012, 02:07 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,459

Rep: Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053Reputation: 2053
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.

Last edited by suicidaleggroll; 10-13-2012 at 02:11 PM.
 
Old 10-13-2012, 02:14 PM   #3
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 262

Rep: Reputation: 101Reputation: 101
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
files back-ups replica9000 Linux - Desktop 16 10-05-2007 05:07 PM
apc Back-ups 650 a10392 Linux - Software 1 12-03-2004 10:51 AM
apc Back-ups a10392 Debian 1 12-03-2004 10:24 AM
Back ups vswr31 Linux - General 2 10-25-2004 12:56 AM
Wierd problem with APC Back-UPS ES500 jtshaw Linux - Hardware 0 01-10-2004 09:39 AM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration