Fundamentals

This chapter describes Retrospect’s main concepts. This manual and the program itself refers constantly to these basic ideas, so it is important to understand them to get the most out of using Retrospect. In this chapter, you’ll learn how Retrospect works; about the different kinds of Media Sets you can use to back up your data; and about the backup actions you can take with Media Sets.

How Retrospect Works

Retrospect uses an archival method of backup that ensures backed up files are not deleted or written over until you request it. That way, they stay on the backup media indefinitely. For example, if you have been working on a particular document over a period of time, Retrospect backs up a different version of the document each time you back up. If necessary, Retrospect lets you retrieve a previous version of the file from any point in time it was backed up.

Retrospect always performs Smart Incremental backups. A Smart Incremental backup intelligently copies only files that aren’t already present on the current Media Set being used for backups (typically those files that are new or have changed since the previous backup). You don’t have to specify whether you want a “full” or “incremental” backup. Retrospect, by default, copies any and all of the files it hasn’t already backed up.

Because Retrospect only needs to add one instance of each unique file to the backup, it saves space on the backup media that would otherwise be used up storing duplicate copies of files. This space-saving technique is known as file-level deduplication or single-instance storage.

All of the backup, copy, and restore operations in Retrospect require a source and a destination. For a backup, the source is generally a hard drive or a folder on a hard drive (Retrospect calls these sources and Favorite Folders, respectively). The destination is generally a Media Set stored on backup media such as disk or tape.

Retrospect uses a Catalog file, an index of the files and folders contained in a Media Set, to keep track of the different generations of modified files in a Media Set. The Catalog lets you quickly search for files without having to actually search the backup media itself, which would be considerably slower, especially with media like digital tape. By default, Catalog files are stored on the Retrospect server computer, in
Library/Application Support/Retrospect/Catalogs/.

Sources

Sources are the disk volumes, folders on disk volumes, and networked clients that you want to back up. Each source you want to back up needs to be added to the Sources list.

It’s important to understand that Retrospect uses the term sources to refer to the volumes and folders that you want to back up, and also to refer to hard disk volumes that those backups will be written to. For example, you can back up a client’s hard disk called My Disk (that’s a source) to a Disk or File Media Set that resides on a hard disk named Backup Disk (because it is a hard disk that could also be backed up, Backup Disk also appears in the Sources list).

02fig01.tiff

Above the Sources list, the toolbar allows you to add or remove sources, add Favorite Folders, and otherwise work with items in the Sources list. Below the list, a tabbed area allows you to see important details on a source that you have selected in the list.

02fig02.tiff

Media Sets

Media Sets are the destinations for files and folders that you back up. A Media Set consists of one or more disks, tapes, optical discs, or a single file. Individual pieces of media (for example, tapes, optical discs, or hard disks) are members of a Media Set. A Media Set consists of one or more disks or tapes, or a single file. Individual pieces of media (for example, tapes or hard disks) are members of a Media Set. A Media Set can be made up of almost any sort of storage media: hard drives, disk arrays, tape, and even flash memory.

You can backup as many source volumes as you like to a single Media Set. For example, you could have a single Media Set as the backup destination for your computer’s internal hard disk, your external hard disk, a coworker’s hard disk on a computer with installed Retrospect Client software, and even a Mac OS X Server or Windows Server. All of your Media Sets appear in Retrospect’s Media Sets list.

Above the list, the toolbar allows you to work with Media Sets, including functions such as adding, removing, copying, and verifying a Media Set. Below the list, tabs give you more information on the Media Set you have selected.

02fig03.tiff

When a disk or tape fills with data, Retrospect asks for a new member, adds it to the Media Set and continues appending data. It automatically uses any available new or erased media. If the media has the name Retrospect is looking for, Retrospect will erase and reuse it. However, Retrospect will never automatically use a medium with the wrong name if it has data on it.

When you create a Media Set in Retrospect, it can be one of the following types:

  • Disk Media Sets are Retrospect’s most flexible Media Set. They allow backups to span across multiple, random-access storage devices, including hard disks, Network Attached Storage (NAS), removable cartridges, and even flash media. Older backups can be groomed from Disk Media Sets to reclaim space, and it’s even possible to perform a restore from a Disk Media Set that’s in use by a backup operation. Disk Media Sets should be your most-used backup destination if you are not using tape backup. A Disk Media Set writes a folder containing a series of files to the destination media, with each file being no larger than 600 MB (which can be useful in environments where these files are replicated to additional storage, such as an off-site vault). Retrospect considers the folder containing the backup files to be a single member of the Disk Media Set. Disk Media Sets replace the less-flexible Removable Disk sets present in older versions of Retrospect. Catalogs for Disk Media Sets are usually stored on the Retrospect server’s hard drive.
  • Tape Media Sets use tape drives and backup tapes as the storage medium. Retrospect supports many types of tape drives, including DAT drives, LTO drives, AIT drives, VXA drives, and DLT drives. See the Retrospect website for a complete list of supported drives. Some drives, such as tape libraries (which can accommodate and automatically load multiple tapes) may require a license for the Advanced Tape Support add-on. Catalogs for Tape Media Sets are usually stored on the Retrospect server’s hard drive.
  • Tape WORM Media Sets are similar to Tape Media Sets, except that the tapes they use are WORM (Write Once, Read Many). As the name suggests, WORM tapes cannot be erased or reused once data is written to them. They are used for archival purposes and to comply with government regulations requiring document retention. Catalogs for Tape WORM Media Sets are usually stored on the Retrospect server’s hard drive.
  • File Media Sets combine the Catalog file and the backed-up data into a single file stored on a volume. They can be saved anywhere a Disk Media Set can be saved, but they are limited by the size of the volume on which it is stored, and also the maximum file size of the file system (FAT32, NTFS, HFS+, etc.). Backups in a File Media Set cannot span across media. File Media Sets are useful for small jobs where everything (the Catalog and the backed up data) is self-contained in a single file, but in most cases, you should use Disk Media Sets.

Media Actions

Whenever you run a backup script manually, or when you set a script to later run automatically, you have the option of using one of four media actions. Each media action tells Retrospect how to handle the physical media, which in turn has an effect on which files are backed up.

Retrospect’s four media actions are:

  • No media action, which is the default choice, tells Retrospect that it doesn’t need to do anything special with media during the current backup. As usual, Retrospect will perform a Smart Incremental backup, which saves time and media space by not copying files that already exist in the Media Set. In other words, Retrospect will copy only files which are new or newly modified since the last backup to the same Media Set.
  • Skip to new member causes Retrospect to create a new member within the current Media Set. Retrospect will display a dialog requesting a new piece of media, so that you can insert it for use in the next backup operation. This media action is useful when a piece of media that you have previously used for a particular Media Set is not available.
  • Start new Media Set tells Retrospect to create a new destination Media Set (with a name similar to the old one) of the chosen type. Depending on the type of Media Set, Retrospect will use a new or erased disk or tape. For Disk Media Sets, Retrospect will create a new folder on the disk, and backed-up data will be written as a series of 600 MB backup files inside that folder. Use the Start new Media Set media action so that you can take your old media off-site for safe storage.
  • Recycle Media Set first clears the catalog contents (if any) of the destination Media Set, so it appears no files are backed up. Then it looks for the first media member of the Media set and erases it if it is available. If the first member is not available, Retrospect uses any available new or erased piece of media appropriate for the Media Set type. All selected files and folders from the source are then backed up to the Media Set. Use the Recycle Media Set action when you want to reuse one or more pieces of media.

Note: As long as matching is left on (the default), Retrospect will always perform a Smart Incremental backup, adding only those files that don’t exactly match already-backed-up files. If a Media Set and its catalog file are empty, then Retrospect’s Smart Incremental backup will automatically add all the files necessary to restore each backed-up source.

Catalog Files

Retrospect uses a separate catalog file (usually stored in /Library/Application Support/Retrospect/ on the Retrospect server) to keep track of all of the files and folders in a Media Set. You can think of the catalog as an index or table of contents of the files on the backup media. The catalog lets you view the contents of a Media Set without requiring the media to be inserted in the backup device, greatly speeding up finding and retrieving files.

A catalog file is required for all operations that copy files to and from a Media Set. Retrospect can repair damaged catalogs, using the Repair button in the list view toolbar under Media Sets. If the catalog is lost or damaged too severely for the repair operation, Retrospect can rebuild it by reading and reindexing the media.

Retrospect Clients

Retrospect can back up any drive that can be mounted on the Macintosh desktop, whether that drive is local or a shared networked volume.

Retrospect Clients extend the backup and restore capabilities of Retrospect to other computers on your network. A computer equipped with the Retrospect Client software is known as a Retrospect client computer, or simply a client. Retrospect can back up clients on the network without the need for installing file servers, starting file sharing, or mounting volumes, and it does so with full administrator privileges on those systems.

Proactive Backups

Retrospect’s Proactive Backups accommodate changing network and disk configurations.

A Proactive Backup offers a special type of scripted backup. Rather than backing up sources on specified days and/or times to specified Media Sets (like a traditional script), Proactive Backup scripts look for transient computers and volumes, such as notebook computers with the Retrospect Client software installed, to appear on the network. When the sources appear, Retrospect backs them up. Retrospect Client users can even request backups of their volumes. A Proactive Backup script is often best used in concert with regular backup scripts to produce a comprehensive backup strategy.