LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-06-2013, 02:53 PM   #1
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
About backup software and strategies


First things first, I'm new to server administration.

How are backups stored nowadays? In another internal HD used just for this purpose? On an external HD? Assuming that I do not have a backup server.

Also, I have learned that differential backups are slower to back up the data but faster to restore, because it's only needed two disks, the full backup and the last differential backup. By contrast, an incremental backup is faster backing up files but slower on restoring because I need to use all previous disks.

However, this approach seems to be very old, when backups were stored on tapes. Is there still a huge difference between restoring a differential or an incremental backup?

Finally, which software is recommended? Or do you use rsync only? On my own computer I use rsync on mirror mode (-av --delete) for daily backups, but don't know whether it's appropriate or not to use it in the enterprise scope.
 
Old 11-06-2013, 04:09 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Assuming that you don't have a backup server I'd buy a tape drive and plug it in directly, you can take the tapes home with you as an el cheapo "off site storage". External disks are just as likely to fail as internal disks, especially if you drop one - you don't have to be that gentle with tapes.

You could choose to buy a NAS with raided disks, but this prevents storing your backups offsite. You could work around this by pushing your backups to some cloud storage, but you'll have to think about encrypting them first (probably required) and whether the transfer speeds are sufficient to meet your recovery SLA in the event that you need to get one back urgently.
 
1 members found this post helpful.
Old 11-07-2013, 02:58 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Probably overkill, but what we do is this, it may give you some ideas.

We use dirvish to backup up data from 37 servers in 4 locations to a central "backup server".
We keep a rolling 6 months of data on the server.
Using dirvish allows us to have the most recent "vault" having pretty much an image of the relevant data with the older "vault" having just the older versions of files etc.
From this backup server 3 daily LTO4 tapes are taken and rotated off-site with a commercial storage company. The data is encrypted as it's written to tape. We use an HP autochanger and barcoded tapes so there's no need for an operator to check and change tapes around except first thing in the morning.
At weekends we take an additional tape with less critical data.
Monthly we take the 4 tape backup and leave that off-site for our data retention period.

All of this is done with a bash script for portability.

Future plans involve either upgrading to LTO6 tape drives (to make use of TFS and on-tape encryption) or using a commercial "cloud" storage provider for additional resiliance.

Like I say.... bit of overkill but it might give you some ideas.

(I'm old fashioned, I LIKE the idea of physical tapes stored off-site that I can have delivered to a DR site and restored to a server, rather than having to pull things over the internet from a cloud over the wire.)

Last edited by TenTenths; 11-07-2013 at 03:00 AM.
 
Old 11-07-2013, 07:42 AM   #4
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
What do people think about Tandberg RDX?

My thoughts are:

Pros:

Sensitivity is much less i.e. the media and the drive are less prone to maintenance issues i.e. dust and dirt. I used to work for an IT company whereby some of their customers had problems with dust in drives which can spread to the tapes and vice versa. Having a removable disk that is more like a cartridge in my opinion is more robust than tape.

Direct access not serial access like tape (efficiency and speed of data transfer)

Cons: Capacity and cost.


There might be other issues; if anyone has any thoughts I would invite them to express these.
 
Old 11-07-2013, 07:59 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by tombelcher7 View Post
What do people think about Tandberg RDX?
Looks interesting and Tandberg have been around for years so they've a history in this kind of thing.

At the end of the day the media is still a hard disk, just doesn't look like one, so the normal things about moving parts etc. apply.

As for direct access. Relevant if you're looking to restore a single file rather than a complete back-up I suppose.

It also looks rather "propriatory", with something like a widely adopted standard like LTO there's the freedom to use different vendor devices which some might consider a plus.

The 8 drive unit looks interesting though!

At around $250 for the 1.6Tb media that's 10x the cost of comparable tape media.
 
Old 11-07-2013, 11:05 PM   #6
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 529

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Originally Posted by yzT! View Post
How are backups stored nowadays? In another internal HD used just for this purpose? On an external HD? Assuming that I do not have a backup server.
It depends on what risks you are trying to guard against. Backing up to another internal HD protects you from file losses within the primary hard drive, but it doesn't protect you from a malicious user who has access to both drives, nor does it protect you from physical theft of the computer (or physical loss due to fire or other catastrophes). That's why you should consider using a backup server and/or off-site backup.
Quote:
Originally Posted by yzT! View Post
On my own computer I use rsync on mirror mode (-av --delete) for daily backups...
Mirror mode covers you if a file loss (or corruption) is discovered before the next backup. Otherwise the loss is mirrored in your backup. With incremental backups, you can restore even if the loss is not discovered until days later.

It is possible to use rsync for incremental backups. Briefly, each daily backup goes into a sequentially-named directory, and is hard-linked to the previous backup by using rsync --link-dest. With this method, differential and incremental are equally fast to restore, but incremental uses less disk space and therefore is slightly faster to back up.
 
Old 11-08-2013, 02:07 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by Beryllos View Post
It is possible to use rsync for incremental backups. Briefly, each daily backup goes into a sequentially-named directory, and is hard-linked to the previous backup by using rsync --link-dest.
This is the underlying method the dirvish tools use, as having additional facilities for "aging" of backups etc. without having to write your own scripting for it.
 
  


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
Ububtu Server + Windows Workstations + Backup Strategies dfwcomputer Linux - Server 3 04-19-2011 12:20 AM
Backup software that can backup an ftp site mortalic Linux - Software 1 08-04-2010 03:25 PM
Backup software that can backup symbolic links Geert86 Linux - Software 2 01-20-2010 06:10 PM
Windows Backup Software (diff backup without archive bit) nkhajanchi.mg@gmail.com Linux - Software 4 09-09-2009 09:29 AM
New backup software fills huge open source software gap! gacott Linux - News 0 12-26-2007 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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