LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-14-2015, 06:25 AM   #1
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Rep: Reputation: Disabled
back up


Hi, I wonder if, in case someone hacks my linux PC, the backup in Ubuntu 15.10 will be hacked also, e.g. missing. In the worse case, do I have to send backups to a media, disc or stick regularly ?
many thanks,
miramarcos
 
Old 12-14-2015, 06:31 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Why not perform a one time back up of the system and then back up your data regularly. At points where you install new software or change how your system is configured, you can back up either the system again or just the added changes. As far as where you store it, that depends on how much data you have. The system should be small, and data can be very large, but it really depends on what you do have for data.
 
Old 12-14-2015, 09:54 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by miramarcos View Post
Hi, I wonder if, in case someone hacks my linux PC, the backup in Ubuntu 15.10 will be hacked also, e.g. missing.
If you keep the backup outside of the hacked PC, as is normally the case, no.

Quote:
Originally Posted by miramarcos View Post
In the worse case, do I have to send backups to a media, disc or stick regularly ?
Yes, and also in the best case. In other words, you need to make regular backups in all cases. Exception: You don't care for the data.
 
Old 12-14-2015, 10:38 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by miramarcos View Post
Hi, I wonder if, in case someone hacks my linux PC, the backup in Ubuntu 15.10 will be hacked also, e.g. missing.
No, but depending on how you do your backups, anything they screw up on the main system might screw up the backup as well the next time the system runs its backup. The way around that is incremental backups using rsync --link-dest for example.
 
Old 12-17-2015, 07:44 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Cool

Quote:
Originally Posted by miramarcos View Post
Hi, I wonder if, in case someone hacks my linux PC, the backup in Ubuntu 15.10 will be hacked also, e.g. missing. In the worse case, do I have to send backups to a media, disc or stick regularly ?
many thanks,
miramarcos
Harden your system, as others suggested do a backup and make it offline as soon as the backup finished. Like a USB or NAS, disconnect or unplug from the system once the backup is done.
 
Old 12-18-2015, 04:41 PM   #6
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
What you need to worry about is not someone hacking your system, but hardware failure. HDDs fail, and it's not a rare event. When that happens, your backup is gone. You should always have backups on external media, and if you really care about the data, another copy at another site, because your entire house could burn, and take your external media with it. It all depends on how much you value your backups.
 
Old 12-18-2015, 11:56 PM   #7
Steven_G
Member
 
Registered: Dec 2015
Location: Western US
Distribution: Home spun
Posts: 142

Rep: Reputation: 67
My wife's dad passed away several years ago. Back when computers became popular in the early 90's she had a bunch of old family photos transferred to CD b/c the photos were starting to decay. The photos are irreplaceable. But CDs only last about 5 years.

Hard drives fail. 10 years is a *really* good life for a hard drive. Most don't last that long. I've had drives fail 3 months after the one year warranty was expired.

Before I became a real stickler for backing up, right when we first met, her hard drive crashed and we did not have $1500 to send it off for forensic file recovery. With ~6 weeks educating myself and working very carefully I was able to recover ~98% of her photos.

I have back ups of powers of attorney, last wills and testaments and so on b/c paper can burn. But drives crash and CDs go bad. So, what to do?

I build custom operating systems. When I was learning it took me a year to build the first one. I can do it in ~6 weeks now. Still a lot of work to lose. So I extract the OS in a format that can be installed to other hardware.

I have incremental back ups on a NAS. If that fails I have "every day" USB back up drives in my lab. If that fails I have everything burned to DVD. If that fails (like a fire or theft of *all my equipment*) I have a safe with back up drives in it. If that fails I have back up drives over in storage.

Always CYA 6 ways to Sunday. I'm *probably* not going to get hit every where at once. If my apartment building burns down my storage bin will probably be OK.

Now the stuff in storage is usually 3-6 months out of date. But at least I won't lose my wife's irreplaceable 20-30 year old photos. Or have to cross my fingers and hope that I can forensically extract them from another physically failing hard drive again.

So how much does your data mean to you?
 
  


Reply



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
unable to get default ip address for interface connected back to back chakka.lokesh Linux - Networking 5 08-25-2014 03:02 AM
LXer: Back In Time, Automatic Back-Up Tool For Linux LXer Syndicated Linux News 0 12-12-2011 09:21 AM
Minicom not working I connected linux machines back-to-back Prabhunath Linux - Networking 2 06-30-2010 04:39 AM
Can't log back in after changing runlevels from init 3 to 1 back to 3 manwichmakesameal Slackware 5 06-29-2009 11:36 AM
Connecting 2 linux computer back to back with cross cable. michalng Linux - Networking 8 02-11-2009 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:45 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
Open Source Consulting | Domain Registration