Slashdot Mirror


Best Backup Server Option For University TV Station?

idk07002 writes 'I have been tasked with building an offsite backup server for my university's television station to back up our Final Cut Pro Server and our in-office file server (a Drobo), in case the studio spontaneously combusts. Total capacity between these two systems is ~12TB. Not at all full yet, but we would like the system to have the same capacity so that we can get maximum life out of it. It looks like it would be possible to get rack space somewhere on campus with Gigabit Ethernet and possibly fiber coming into our office. Would a Linux box with rsync work? What is the sweet spot between value and longevity? What solution would you use?'

32 of 272 comments (clear)

  1. Done to death. by Zlurg · · Score: 5, Funny

    Holy crap we're approaching the need for an Ask Slashdot FAQ. I feel old.

    1. Re:Done to death. by Magic5Ball · · Score: 5, Informative

      Cue usual discussion about defining the problem correctly, choose the right tool for the job, etc.

      Specifically:
      "Would a Linux box with rsync work?" - It depends on the objective business requirements you've defined or been given. If those requirements include "has to be implemented on Foo operating system", then those requirements are not just for a backup solution.

      "What is the sweet spot between value and longevity?" - Simple: Graph accumulated TCO/time based on quotes from internal and external service providers. Throw in some risk/mitigation. Find the plot which best meets your cost/time/business requirements.

      "What solution would you use?" - Almost certainly not the solution you would use, because my needs are different. What is your backup strategy? What are your versioning requirements? What are your retention requirements? (How) do you validate data? Who should have access? What is an acceptable speed for access to archived data? What's an acceptable recovery scenario/timeline, etc.

      If you do not already know the answers to those questions, or how to find reasonable answers, ask neighboring university TV stations until you find one which has implemented a backup solution with similar business requirements as your's, and copy and paste the appropriate bits. You'll likely get better answers from people who have solved your exact problem before if you search Google for the appropriate group/mailing list for your organization's level of operating complexity, and ask there instead of asking generalists on slashdot, and hoping that someone from your specialist demographic is also here.

      --
      There are 1.1... kinds of people.
    2. Re:Done to death. by neiras · · Score: 5, Funny

      I feel old.

      Well, your UID makes you older than me.

      I SAID, YOUR UID MAKES YOU OLDER THAN ME.

      Also, my name is NOT "sonny boy", and this is my lawn, not yours. Where do you think you are, old timer?

    3. Re:Done to death. by Barny · · Score: 4, Funny

      /me loads his shotgun and squints

      Just walk away kid, real slow, and keep your hands where I can see em

      --
      ...
      /me sighs
    4. Re:Done to death. by ndege · · Score: 4, Funny

      What? Can't hear ya...you gotta speak up!

      --
      Sig Return: 204 No Content
    5. Re:Done to death. by Leto-II · · Score: 3, Funny

      Young kids these days and their rock music... Deaf at such an early age.

      --
      Do not anger the worm.
  2. Build a Backblaze Storage Pod. by neiras · · Score: 4, Interesting

    Try one of these babies on for size. 67TB for about $8,000.

    There's a full parts list and a Solidworks model so you can get your local sheet metal shop to build cases for you.

    Talk to a mechanical engineering student on campus, they can probably help with that.

    1. Re:Build a Backblaze Storage Pod. by Anonymous Coward · · Score: 4, Informative

      You might have mentioned the Slashdot article on these from two weeks ago.

    2. Re:Build a Backblaze Storage Pod. by illumin8 · · Score: 4, Interesting

      Try one of these babies on for size. 67TB for about $8,000.

      There's a full parts list and a Solidworks model so you can get your local sheet metal shop to build cases for you.

      Talk to a mechanical engineering student on campus, they can probably help with that.

      Better yet, just subscribe to Backblaze and pay $5 a month for your server. Problem solved.

      --
      "When the president does it, that means it's not illegal." - Richard M. Nixon
    3. Re:Build a Backblaze Storage Pod. by mlts · · Score: 3, Insightful

      Remote storage at a provider like Backblace, Mozy, or Carbonite is a good tertiary level backup, just in case your site goes down, but you are limited by your Internet pipe. A full restore of terabytes of videos through a typical business Internet connection will take a long time, perhaps days. Of course, one could order a hard disk or several from the backup company, but then you are stuck waiting for the data to physically arrive.

      Remote storage is one solution, but before that, you have to have local ones in place for a faster recovery should a disaster happen. The first line of defense against hard disk stuff is RAID. The second line of defense would be a decent tape drive, a tape rotation, and offsite capabilities. This way, if you lose everything on your RAID (malware or a blackhat formats the volume), you can stuff in a tape, sit on pins and needles for a couple hours, and get your stuff back, perhaps back a day or two.

      For a number of machines, the best thing to have would be a backup server with a large array and D2D2T (disk to disk to tape) capabilities so you can do fast backups through the network (or perhaps through a dedicate backup fabric), then when you can, copy them to the tapes for offline storage and the tub to Iron Mountain.

      Of course, virtually all distributed backup utilities support encryption. Use it. Even if it is just movies.

  3. Need more information by belthize · · Score: 5, Insightful

    A couple of details you'd need to fill in before people could give legitimate advice.

    What's the rate of change of that 12TB. Is it mostly static or mostly dynamic. I would assume it's mostly write once read rarely video but maybe not.

    Do you have a budget ? As cheap as practical or is there leeway for bells/whistles.

    Is this just disaster recovery. You say if the station gets slagged you want a backup. How quickly do you want to restore. Minutes, hours, next day ?

    Do you need historical dumps ? Will anybody want data as it existed last month ?

    Is it just data you're dumping or some windows App complete with Windows registry junk that needs to be restored (don't know anything about Final cut pro)

    If you just want to dump data and restore isn't critical, you just need to be able to do it in some time frame then sure rsync'ing to some striped 6 (or 12) TB SATA array is plenty good.

    1. Re:Need more information by Krondor · · Score: 5, Informative

      The parent is absolutely right. We don't have enough details to really make a recommendation, but if the question is 'can rsync replicate 12 TB with an average rate of churn over a 1 Gbps link reliably'? The answer is an emphatic and resounding YES!

      I used to maintain an rsync disaster recovery clone that was backing up multiple NetWare, Linux, Unix, and Windows servers to a central repository in excess of 20 TB over primarily 100 Mbps links. We found that our average rate of churn was 1% / day which was easily accomplished. It was all scripted out with Perl and would notify on job status each night or failures. Very easy to slap together and rock solid for the limited scope we defined.

      When you get into more specifics on HA, DR recovery turn around times, maintained permissions, databases and in use files, versioning, etc.. things can get significantly more complicated.

    2. Re:Need more information by Anonymous Coward · · Score: 4, Insightful

      >

      Is it just data you're dumping or some windows App complete with Windows registry junk that needs to be restored (don't know anything about Final cut pro)

      If you think Windows registry junk could possibly be involved with Apple's pro video software, you are quite right, you don't know anything about it.

  4. FreeBSD/Linux + Rsync by mnslinky · · Score: 3, Insightful

    That's all you need. We even use a script to create versioned backups going back six months using perl as a wrapper.

    Assuming the same paths, edit to your liking. I've made the scripts available at http://www.secure-computing.net/rsync/ if you're interested. It requires the system you're running the script for have root ssh access to the boxes it's backing up. We use password-less ssh keys for authentication.

    The README file has the line I use in my crontab. I didn't write the script, but I've made a few modifications to it over the years.

    1. Re:FreeBSD/Linux + Rsync by moosesocks · · Score: 4, Informative

      Actually, I'd suggest using OpenSolaris so that you can take advantage of ZFS. Managing large filesystems and pools of disks is *stupidly* easy with ZFS.

      You could also do it with Linux, but that would require you to use FUSE, which has a considerable performance penalty. I'm not sure about the state of ZFS on FreeBSD, although I imagine that the Solaris implementation is going to be the most stable and complete. (For what it's worth, I've been doing backups via ZFS/FUSE on Ubuntu for about a year without any major problems)

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
  5. Check with the university by darkjedi521 · · Score: 5, Insightful

    Does your university have a backup solution you can make use of? The one I work at lets researchers onto their Tivoli system for the cost of the tapes. I think I've got somewhere in the neighborhood of 100TB on the system and ended up being the driving force behind a migration from LTO-2 to LTO-4 this summer. If you are going to go and role your own and use disks, I'd recommend something with ZFS - you can make a snapshot after every backup so you can do point in time restores.

    Also, I'd recommend more capacity on backup than you have now to allow versioning. I was the admin for a university film production recently (currently off at I believe Technicolor being put to IMAX) and I've lost track of the number of times I had to dig yesterday's or last week's version off of tape because someone made a mistake that was uncorrectable.

  6. Just build a clone by pla · · Score: 3, Insightful

    What solution would you use?

    First of all, I love linux. Use it for my own file servers, and media machines, and routers, and pretty much everything except desktops.

    That said...

    For your task, I would probably just build an exact duplicate of the "real" machine and sync them nightly. Always keep in mind that if you have no way to quickly recover from a disaster, you don't actually have a backup.


    That said, and if possible, I would also build the "backup" machine with more storage than the "real" machine. As someone else pointed out, you'll probably discover within a few days that your food-chain-superiors have no concept of "redundancy" vs "backup" vs "I can arbitrarily roll my files back to any second in the past 28 years". Having at least nightly snapshotting, unless your entire dataset changes rapidly, won't eat much extra disk space but will make you sleep ever so much better.

  7. rdiff-backup: like rsync with versioning by Z8 · · Score: 5, Interesting

    You may want to check out rdiff-backup also. It produces a mirror like rsync, and uses a similar algorithm, but keeps reverse binary diffs in a separate directory so you can restore to previous states. However, because it keeps these diffs in addition to the mirror, it's better if you have more space on the backup side.

    There are a few different frontends/guis to it but I don't have experience with them.

  8. Automatic internet backup by Len · · Score: 4, Funny

    Everything your TV station broadcasts will automatically be backed up here.

    1. Re:Automatic internet backup by Kjella · · Score: 5, Funny

      [3 months later]:
      <admin@uni> OMG we lost the server... 0 seeds!? somebody seed plz!

      --
      Live today, because you never know what tomorrow brings
  9. BackupPC by dissy · · Score: 3, Informative

    What I use is BackupPC. It's a very nice web front end to tar over ssh.

    For linux, all the remote servers need are sshd listening somewhere, and with the backuppc servers public key in an authorizedhosts file. It will pipe tar streams over an ssh connection.

    For windows, it can use samba to backup over SMB

    I run a copy on my home file server, which backs up all the machines in the house, plus the couple servers I have out in colo.

    When it performs an incremental backup, after it is done it will populate its timestamped folder with hardlinks to the last full backup for duped files. so restoring from any incremental will still get the full version no matter when it was last backed up.

    Also after each backup, it will do 2 hashes on every file and the previous backup. If the files match, it deletes the second copy and again hardlinks it to the first copy of the file.
    I have nearly 3 months worth of backup retention, backups every 3 days (every day on a couple), but for the base system and files that rarely change, each 'copy' does not take up the same amount of disk space.
    It is very good at saving disk space.

    Heres some stats from its main page as an example

    There are 7 hosts that have been backed up, for a total of:
            * 26 full backups of total size 38.34GB (prior to pooling and compression),
            * 43 incr backups of total size 0.63GB (prior to pooling and compression).

    Pool is 10.11GB comprising 108499 files and 4369 directories (as of 9/16 01:00),

    Restoring gives you a file browser with checkboxes. after you tell it what you want, it can send you a tar(.gz) or .zip file, OR it can directly restore the file via tar over ssh back to the machine it was on, by default in the original location but that can be changed easily too.

    The main downside is the learning curve. But once you get things down, you end up just copying other systems as templates, updating the host/port/keyfile/etc settings.
    Also, with all those hard links, it makes it a pain to do any file/folder manipulation on its data dir.
    Most programs won't recognize the hard link and just copy the file, easily taking up the full amount of storage.

    But works just as well with only itself and one remote server.
    schedule it to start at night and stop in the morning, set your frequency and how much space to use before it deletes old backups, and let it run.

    1. Re:BackupPC by IceCreamGuy · · Score: 3, Informative

      I couldn't agree more; BackupPC is really great. Not only does it support Tar over SSH and SMB, but it also supports rsync over SSH, rsyncd and now in the new beta, FTP. I backup everything to a NAS and then rsync that every weekend to another DR disk (you have to be careful about hardlinks when copying the pool, since it uses them in the de-duplication process). There are several variants of scripts available on the wiki and other sites for initiating shadow copies on Windows boxes, and with a little tinkering you can even get that working on Server 2008, though of course it really shines with *nix boxes. Highly recommended - the only drawbacks are that, as the parent mentioned, the learning curve can be intimidating at first, and the project has been pretty quiet the past few years since the original developer stopped working on it. Amanda (the MySQL backup company) seems to have picked it back up and they are the ones who released the most recent beta. Did I mention it has a really convenient web interface, emails about problems, auto-retries failed backups (while it's not in a blackout period), and somebody wrote a great Nagios plugin for it? I'm pretty sure I did, oh yes definitely.

  10. Don't use rsync â" at least, not vanilla by Jeremy+Visser · · Score: 4, Informative

    Don't use rsync to make backups. Because you don't just want to backup against spontaneous combustion â" inevitably, there will be accidental deletions and the like occurring in your studio. If you use rsync (with --delete, as any sane person would, otherwise your backup server will fill up in days, not years), then when some n00b runs `rm -rf ~/ReallyImportantVideos`, they'll be deleted from the backup too.

    Remember that pro photography website that went down, because their "backup" was a mirroring RAID setup? Yep â" they lost all their data on one fell swoop when somebody accidentally deleted the whole lot. Don't make the same mistake.

    Use an incremental backup tool. Three that come to mind are rdiff-backup, Dirvish, and BackupPC.

    I would think that rdiff-backup would suit your needs best. I currently use BackupPC at home, which is great for home backups, but I think that it's overkill (and possibly a bit limited) for what you want.

    Hope this helps!

    1. Re:Don't use rsync â" at least, not vanilla by pla · · Score: 3, Informative

      Don't use rsync to make backups. Because you don't just want to backup against spontaneous combustion - inevitably, there will be accidental deletions and the like occurring in your studio.

      rsync actually includes an option to make hardlinked snapshots as part of the syncing process, nowadays.

      Personally, I don't trust it and always do that part manually, then let rsync do what it does best... But yeah, even "vanilla" rsync contains exactly the functionality you mention.

    2. Re:Don't use rsync â" at least, not vanilla by MrNemesis · · Score: 3, Informative

      rsync makes it pretty easy to implement a bargain-basement backup system if you're willing to do a bit of hacking around with scripts and soft/hard links. Make your backups into e.g. /backups/2009/09/17/* and update the symlink for /backups/latest to point to that dir; when the next backup comes along, use the --link-dest=/backups/2009/09/17/ to hardlink all files that have stayed the same, but copy over the newer versions into your /backups/latest. This way you get a) the absolute minimum space taken up without resorting to snapshots and b) and easy way of looking at and restoring individual files or the whole tree from a given date/time. For bonus points set up a vacuum script that automagically deletes the oldest backups whenever your backup partition gets to 90% full or whatever. Run your set of scripts every hour or so (but don't forget to include lock files/semaphores so you don't end up running nine instances of the script simultaneously).

      As far as syncing large amounts of data, firstly use rsync 3 if you can - it's a hojillion times faster with large numbers of files and much easier on your memory. If you're going over the internet, tunnel through SSH using inline compression (if your data is easily compressible that is) - heck, tunnel through SSH on your private network, rsync makes it ridiculously easy. Using this technique I managed to keep a mirror of a 2TB file server over a 2Mbps SDSL link no more than an hour or two out of date.

      That's how I remember it working anyway - don't have a box I can try it out on here, but in all honesty rsync and a bit of bash/python/whatever is capable of reproducing all sorts of "enterprisey" backup features for zero cost and almost zero effort (and, I'll almost certainly say, zero approval from your boss). IMHO it's one of the killer apps of UNIX.

      Disclaimer: I am not an employee of Rsync Overlord Corp, just a satisfied customer ;)

      --
      Moderation Total: -1 Troll, +3 Goat
  11. Re:Amazon S3 by Brian+Gordon · · Score: 3, Informative

    Why do anything when you can pay someone else twice as much? 12TB from Amazon will be an order of magnitude more expensive than just running a storage server, and you have to pay for internet bandwidth instead of just running a wire.

  12. Different Solutions by Anonymous Coward · · Score: 3, Informative

    My university is developing a local backup and co-location data center, and I have been one of the major forces in decided what software we go with. If you are looking for linux style freedom, as mentioned before, rsync is all you need. If you happen to be looking for something more professionly supported, there are many options, but I will tell you some of what I have seen. At significant cost, the primary system I run into is EVault, which works ok, is very stable, and doesnt have too many crazy features. Offsetting that is the horrible, and I mean horrible, cost. Acronis just (as in like less than a month ago) came out with their new backup product, which they even give a free trial for. It does bare metal restore among other things, and I was very impressd with it, but it didnt meet some of my requirements and I didnt get to play with it much more. On the cheaper more jenky side of things, I have tried NovaStor backup products with overall horrendouse results, stay away completely from them. (things like being able to export data directly to a removable drive for first time transfer is ridiculous!) I am very impressed with a completely off the wall solution called RBackup. It seems at first very "made in india" but it has tons of features that are easy to understand (being brandable is a big plus) and generally can be setup quickly or very granularly. If your using a windows system you should check it out.I have also looked at symantecs and other things, but these so far are a few of the major players in the "I want to remote backup my own data to my own servers" category (which excludes lots of stuff) Since I am still in the review process, I am also curious to see what other people say. I can also tell you that I have setup almost 4 drobos now and they really rock, so your doing good on that front!

  13. Best solution for backup hands-down is... by macraig · · Score: 3, Funny

    ... BitTorrent pirates. You'll always find last night's shows backed-up on TPB the next morning. Yaaarrr!

  14. Here's an effective cost-reduction strategy. by failedlogic · · Score: 4, Funny

    Have each student create their "own TV station" as part of their degree requirement - no matter the area of study. Similar to research essays, you'll get the following results: 1) students who completed the assignment with no outside assistance 2) students that copied certain small portions of the data you are backing up and presenting it as their own 3) students that plagiarize everything - yes some students will debate that the same content the TV station has accumulated over the years - all 12 TB - is actually their original work.

    As this data appears on the University network, the entire TV station will be backed-up in a local "Cloud". And if these types of assignment become popular at other universities, you can expect to find redundant off-site backups. By this point, the 12 TB will appear on BitTorrent (and probably on Newsgroups and IRC for the dedicated plagiarists). A full restore will only take a few days - as long as the full 12 TB is seeded.

  15. Re:Different Solutions by mlts · · Score: 4, Interesting

    Backups for UNIX, backups for Windows, and backups all across the board almost require different solutions.

    For an enterprise "catch all" solution, I'd go with TSM, Backup Exec, or Networker. These programs can pretty much back up anything that has a CPU, although you will be paying for that privilege.

    If I were in an AIX environment, I'd use sysback for local machine backups and backups to a remote server.

    If I were in a general UNIX environment, I'd use bru (it used to be licensed with IRIX, and has been around so long, it works without issue with any UNIX variant.) Of course, there are other solutions that work just as well, both freeware, and commercial.

    If I were in a solidly Windows environment, I'd use Retrospect, or Backup Exec. Both are good utilities and support synthetic full backups so you don't need to worry about a full/differential/incremental schedule.

    If I were in a completely mixed environment, I'd consider Retrospect (it can back up a few UNIX variants as well as Macs), Backup Exec, or an enterprise level utility that can back up virtually anything.

    Please note, these are all commercial solutions. Bacula, Amanda, tar over ssh, rsync, and many others can work just as well, and likely will be a lot lighter on the pocketbook. However, for a business, some enterprise features like copying media sets, or backing up a database while it is online to tape or other media for offsite storage may be something to consider for maximum protection.

    The key is figuring out what you need for restores. A backup system that is ideal for a bare metal restore may be a bit clunky if you have a machine with a stock Ubuntu config and just a few documents in your home directory. However, having 12 terabytes on Mozy, and needing to reinstall box from scratch that has custom apps with funky license keys would be a hair puller. Best thing is to use some method of backups for "oh crap" bare metal stuff, then an offsite service just in case you lose your backups at that location.

    Figure out your scenario too. Are multiple Drobos good enough, or do you need offsite storage in case the facility is flooded? Is tape an option? Tape is notoriously expensive per drive, but is very economical once you start using multiple cartridges. Can you get away with plugging in external USB/SATA/IEEE 1394 hard disks, backing to them, then plopping them in the Iron Mountain tub?

  16. Re:redundancy, anyone? by mysidia · · Score: 4, Interesting

    The hard drives are desktop class, not designed for 24x7 operation. Not designed for massive write traffic that server backups generates.

    Latent defects on disks are a real concern.

    You write your data to a disk, but there's a bad sector, or miswrite, and when you go back later (perhaps when you need the backup), there are errors on the data you are reading from the disk.

    Moreover, you have no way of detecting it, or deciding which array has recorded the "right value" for that bit...

    That is, unless every bit has been copied to 3 arrays.

    And every time you read data, you compare all 3. (Or that you have two copies and a checksum)

    Well, the complexity of this redundancy reduces the reliability overall, and it has a cost.

  17. Re:rdiff-backup: like rsync with versioning by M.+Baranczak · · Score: 3, Insightful

    Since we're talking about Final Cut data, it's safe to assume that it's all coming from Macs. The version of cp on Mac OS doesn't take either of those options, so it's a moot point.

    Time Machine is probably the way to go. It's integrated into Mac OS, and it's ridiculously easy to set up. I don't know how it scales up, but I'd be very surprised if it couldn't handle 12TB.