LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-06-2014, 08:29 PM   #1
peter_b123
LQ Newbie
 
Registered: May 2006
Posts: 18

Rep: Reputation: 2
Backups; desktop Mint 17, have a primary 1TB drive, secondary 3TB drive.


I'm looking for some general help here.

I do have TimeShift installed per the advice of a Linux user on another forum, and I believe it's working well.

From what I gather, TimeShift is only backing up - as I have it configured - the system 'state' to the 3TB drive.

What I'm wondering, aside from /home and /etc and /opt (some programs live in /opt and I've come to the understanding that backing up /etc is a good course of action), what else should I be backing up, and what's the best method to backup automatically?

And if I had a real disaster; say hard drive failure, I think the most reasonable and quickest bounce-back would be to have 'image' copies of my system drive, but I've been told that it's not really that easy (CloneZilla for example must be run outside of the OS, is there another way?) and not really a reasonable way to backup my Linux box.

Instead I've been told to simply back up my user data (don't know where it is aside from the /home /opt and /etc dirs?) and nuke from orbit (format and reinstall from ISO)...

What I'm most comforable with has been image backups and deduped incrementals coming from an IT role with Windows boxes.

Any suggestions on wrapping my head around this and coming up with a game plan?

I also have a few VirtualBox VMs on this Linux box that I'd like to have backed up, and I know the images are quite large. If there's a way to have those backed up regularly, automatically, that would be quite useful.

Tyvm
 
Old 12-07-2014, 11:16 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
For automatic user data backup to a second disk on my PC, I find
Code:
backup2l
to be excellent. It runs on a automated daily basis to create differential backups in tar.gz form. This means that even if you should the ability to run the restore program you can still access your backups directly.
Try to exclude data held in cache files.

You should also backup some of /var
 
Old 12-07-2014, 02:15 PM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
It depends on how much effort you're willing to undertake if you do have a crash. I'm firmly in the camp of "Backup all your data." Now, anything that is known to be temporary (contents of /tmp, /var/tmp, ...) can be omitted, and anything in a cache directory can be omitted since it is "just a cache" and will be automatically regenerated or reloaded if needed. Also, directories that are virtual filesystems (/proc, /sys, /dev, .gvfs) do not exist on disk and should not be backed up. I've got a few other things that I specifically exclude (thumbnails, Trash, lock files created by running processes, ...), but everything else gets backed up.

Once I have a backup scheme in place, I run a test by replacing my disk drive with a blank one and seeing what it would take to do a bare metal recovery from just my backup. That can be quite illuminating.
 
Old 12-08-2014, 03:56 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
I'm with rknichols in the "Backup all your data" camp. Linux is a lot better than Windows at working when restored from a backup taken while the system is running.

Your VB VMs: are they running or shut down when you want to back them up. If they are running, which OS are they running?
 
  


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
Seagate 3TB USB hard drive does not plug and play in Linux Mint 12 SkyMeadow Linux - Hardware 17 05-21-2013 09:06 AM
[SOLVED] Finding The Primary and Secondary Nameserver(s?) Linux Mint 13 tfnc99 Linux - Networking 3 11-18-2012 05:08 AM
Windows works as slave drive not as primary drive? trien27 Linux - General 1 02-25-2012 06:38 PM
Booting Windows on secondary hard drive with Grub on primary drive mpmackenna Linux - General 1 11-09-2008 06:16 PM
Hard drive in primary channel showing in secondary channel Ale Linux - Hardware 2 02-20-2004 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:02 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