Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Offsite backup for Linux using hard disk drive dock and SATA laptop disks

  1. Home

By Khalid on 2010/05/30 - 22:43, last updated 2010/05/30 - 22:44

Many years ago, I wrote about why tapes are still the most efficient backup method. I also wrote about using tape backup on Linux for a home network.

That was then, when all the server's data fit in on 10 GB tape cartridge. Since then, digital cameras have gotten more pixels, with individual pictures jumping from 350 KB, to 950 KM, and then to 2 MB. Cameras acquired video, first VGA resolution, and now High Definition 720p. All this means that the data is growing exponentially.

Current tape technology have suffered from many issues for small business and home networks:

  • Capacity: the current tape capacity has not kept up with the ever increasing size of disks and the growth of data on them.
  • Availability: It is not easy to find the cartridges at a good price. Too often they are special order at shops.
  • Cost: The tape drives are expensive, several hundred dollars to a few thousand. The cartridges can also be expensive.

For example, DLT tape drives are $825 at NCIX ($773 at Amazon Canada). This is for only 160GB native capacity. The cartridge for it is $52 (at NCIX).

And 160GB is not a lot. My current server backup is approaching 100GB, and such a drive will only last a couple of years at that rate. That does not justify the investment in an expensive tape.

LTO tapes offer higher capacities, e.g. 400GB or 800GB native, but at a higher cost for drives, and limited availability for media.

For example, an 800GB cartridge LTO 4 is $50 NCIX, which is reasonable. But the drive is a whopping $2,252 at NCIX, and has a Serial Attached SCSI (SAS) interface, meaning it will not fit in servers used in homes or small business.

Therefore, for all the above reasons, I was on a quest to find another way to backup a home network.

Of course, using Ubuntu Linux backup and a USB enclosure with the dump utility has proven to be successful, once you find a stable USB disk (e.g. LaCIE 1TB disk). Also see: setting up a hard disk USB 2.0 enclosure for backup under Linux.

All the above work well, except for two issues:

  • USB tends to be slow, and spike the CPU usage. Since backups run in the wee hours of the morning, this is not a big deal. And whether the backup takes 30 minutes or 90 minutes is not a big issue.
  • Lack of offsite capability: the powered USB disks are clumsy to transport around, and bulky too.

So, the solution lied in the Vantec NexStar hard drive dock NST-100SU, costing only $32.99, with SATA laptop 2.5" disk drives (Seagate, 500GB at a cost of $69.99).

This dock has both USB and eSATA connections. They provide an eSATA bracket and 6 ft SATA cable as well. I was hoping to use SATA because it is faster than USB. However, I was unable to get the disk to be hotpluggable. The server did not see the disk when connected with SATA unless it was plugged in when the server booted. Perhaps this was because the server did not have the port multiplier feature for SATA. I am not sure.

The server is running Ubuntu Server Edition 8.04 LTS, so it has a 2.6 Linux kernel.

If you are reading this, and found a solution to making eSATA work, please post a comment below.

Once I connected the dock using USB, it worked well though.

To mount a disk, plug it in the dock, power up the dock, wait for about 10 seconds, and then issue the command:

mount /dev/sdc1 /backup/1

Then do the dump backup as described above.

When you want to take the disk out, you do the following:

umount /dev/sdc1

Then power off the dock, and eject the disk.

You can now remove a disk once a week, and take it to your work, or give to a friend for safe keeping. This takes care of the offsite backup part.

Every week, get back the other disk, and send the latest one offsite.

Contents: 
Linux
Tags: 
dump
backup
offsite
usb
eSATA
tape
LTO
DLT
  • Add comment

Comments

smith (not verified)

Thanks

Mon, 2010/06/07 - 03:59

My server has many files and use too much space. And I can't backup all of my data.

Thanks for the solution.

regards,

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.