Insider Tips: Backup with Rsync and SSH

SAFE HARBORS

Article from Issue 55/2005
Author(s):

It is often inefficient to fire up a tape drive whenever you need to back up files or restore a backup. The Rsync tool pushes critical files to a second computer, where you can access them easily.

A full backup on separate media is a vital part of any backup strategy, however, the task of restoring backups from tapes, CDs, or DVDs is often too time-consuming. It sometimes makes sense to also perform online backups. There are a few ready-to-run solutions for online backup, such as Rsnapshot [2]. This month’s Admin Workshop will discuss a scripted approach that uses Rsync and SSH. Cooperation The practical Rsync tool, combined with SSH, takes care of transporting your backup data across the network. These tools solve two problems for admins. First, they save bandwidth, as Rsync will compress your data if asked to do so. Second, SSH ensures that sniffers on the network will be unable to grab your backups off the wire. An additional advantage of Rsync is that it transfers only the changes across the network and merges them with the last full backup on the target machine, thus providing the simplicity of a full backup with the efficiency of an incremental backup.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Rotating Backup with rsync
  • Shredder_9_Chess_Too..>

    Rsync lets you synchronize your data – on either a local or remote computer. You can even use Rsync with SSH to encrypt your data.

  • Website Backup

    Shared hosting is the best way for first-time webmasters to get started. But what do you do about backup?

  • Admin Workshop: Backups

    Data always seems to get lost at exactly the wrong moment, but the right backup strategy can help you restore those missing files.

  • Charly's Column

    The principle behind Rsnapshot is nothing new: use Rsync and SSH to back up files to another computer. What sets Rsnapshot apart is its simple setup and its rich collection of features.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News