LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-02-2020, 10:22 PM   #1
manf0001
LQ Newbie
 
Registered: Nov 2004
Location: Canada
Posts: 16

Rep: Reputation: 0
Backup options


Hello,

I'm working for a Small business and we are looking at moving our servers to Linux. I'm looking at Red Hat and possibly using Proxmox or Redhat's Virtual platform.

I come from a Windows admin background so I'm still learning but I do know how to do things, I'm just not a power user yet. One of the things that I've learned is don't think like Windows (which can be hard to break out of the habit) I'm wondering about backups for Linux. I've seen alot of options, like Bacula that seems to be more robust option, but also individual projects such as Borg, rsync, Rear, which seem to provide one or the other.

Example, I would like to have a backup solution that I can do Baremetal backup/recovery (which Rear does) but also to be able to restore individual files, in case someone deletes a file. (which Borg does) I've seen people say oh no for Linux you don't need baremetal, just resinstall and restore your rsync/borg backups.

I'm looking for feedback to see what others are doing for their linux backup solutions.

Thanks.

Last edited by manf0001; 01-02-2020 at 10:25 PM.
 
Old 01-03-2020, 07:40 AM   #2
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 274

Rep: Reputation: Disabled
I would suggest you look at systems using rsync since they will copy files only when changed. Specifically I would recommend rsnapshot since it maintains periodic snapshots (daily, weekly and monthly is their suggestion) and uses hard links instead of actual copies of files. The only physical copy of a file is the first until/unless the file changes. But you don't see that, you see a normal list of files. Linux handles hard links very nicely and this allows speed and relatively low disk usage. A system based on rsync will maintain copies of files which means you can restore individual files if necessary.
 
Old 01-05-2020, 11:25 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,342

Rep: Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040
Quote:
Originally Posted by manf0001 View Post
Hello,
I'm working for a Small business and we are looking at moving our servers to Linux. I'm looking at Red Hat and possibly using Proxmox or Redhat's Virtual platform.

I come from a Windows admin background so I'm still learning but I do know how to do things, I'm just not a power user yet. One of the things that I've learned is don't think like Windows (which can be hard to break out of the habit) I'm wondering about backups for Linux. I've seen alot of options, like Bacula that seems to be more robust option, but also individual projects such as Borg, rsync, Rear, which seem to provide one or the other.

Example, I would like to have a backup solution that I can do Baremetal backup/recovery (which Rear does) but also to be able to restore individual files, in case someone deletes a file. (which Borg does) I've seen people say oh no for Linux you don't need baremetal, just resinstall and restore your rsync/borg backups. I'm looking for feedback to see what others are doing for their linux backup solutions.
The term "backups" is a bit vague. Do you mean "make a copy periodically", or do you mean **BACKUPS**, as in long term storage of versions, snapshotting, file versioning, etc., etc.?? What media are you backing up to? There are LOTS of variables to consider...and there are also legal requirements depending on the business. Sarbanes-Oxley comes into play if you do ANYTHING related to finance, and you HAVE TO keep seven years of backups.

That said, if you're just talking about keeping copies in case something dies, I'd agree with the assessment of not having bare-metal images. Fairly pointless unless you're in a large enterprise where you've got a thousand servers with complex configs. A bare-metal recovery takes as much time (typically), as loading the OS from scratch...about 30 minutes or so either way. If you lay the system out right, you'll have your actual DATA (databases, user files, home directories, etc.) on their own partition, and back IT up frequently. And as an admin, you'll know what system config files you've touched/played with, so you can add those to the to-be-backed-up list easily. Not much need to back up gigs of data for no purpose.

And a lot of this depends on your budget. If you've got some cash to throw around, you have more options. If you're talking about backing up a couple of servers and some user data, you can probably get a NAS device with some big drives in it, and do your backups over the wire, and be able to go back in time a little ways. Rsync and borg are decent choices and are fairly simple to maintain and use. Things get even simpler if you're using VMware or have virtual servers, since you can copy the entire server image off, and get EVERYTHING as a single file. Granted, a single-file restore is more complex, since you have to spin up the virtual image and copy the file off, but weigh that against how often you'll have to do it.
 
  


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
Remote Backup script needed | backup every 1-2 seconds (Online/Hot backup) reda Linux - Newbie 4 04-20-2019 06:02 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 06:03 AM
[SOLVED] Kernel boot options removed by fault, no boot options cdt Linux Mint 8 09-09-2011 12:25 AM
[SOLVED] modifying stream id of ip options Error options (unknown 136) MegaMindd Programming 0 06-07-2011 10:17 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 05:23 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:17 PM.

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