Once the backup source for a backup set has been defined on the Backup What page, a backup device must be selected on the Backup Where page. If no devices have been configured (as will be the case with a new installation), the ZMC will take you directly to the Admin Devices page to define one or more backup devices. The physical object that stores a backup is referred to in Amanda as a medium (plural backup media). Thus, Amanda organizes all backup data in the following heirarchy (note that slots only apply to a tape changer device):
Regardless of the device type, the ZMC also allows you to define an optional write-cache mechanism called a staging area or holding disk, which stores the backup image on the server's hard disk. Because backups can be written in parallel to the holding disk, backups can be completed in much smaller windows than would be possible if writing directly to the device (even if the device is a virtual tape).
Note that while a backup set can include more than one host as a backup source, there can be only one target device per backup set. If you want to send backups from different host systems to different backup media, you must create multiple backup sets to do so. The Duplicate feature of the Admin Backup sets page is useful for this. Also, once a device has been associated (or bound) to a backup set it cannot be changed (this would invalidate the restore catalog). To start sending backups from an existing backup set to a new device, duplicate the existing set and bind the resulting backup set to the new device. Note that Backup When settings will have to be manually set to match the old backup set; these settings are not duplicated.
The Backup Where page is divided into two panels:
Important Note: After you have defined a staging area for a backup set and run some backups, those backups are dependent on that staging area for restores. If you set a different path for the staging area, backups taken from the old staging area cannot be restored through the Zmanda Management Console.
Comment
Enter a descriptive comment, such as the physical location of the device or any operational notes.
In case of device/media failures (such as an unavailable S3 connection or running out of tapes in the changer), backups are stored in the staging area. The backup images stored in the staging area can be used for recovery and will be moved to the secondary media in next backup run if the media problem is resolved.
Important Note:
Do not attempt to back up the staging area. Use Exclude options if necessary to prevent any backup set from including a staging area for itself or any other backup set.
Different options are displayed in the top pane depending on the device type:
Using hard disk space for a backup provides a number of important benefits:
When the Device Type is disk, the following virtual tape (vtape) options are presented.
Determines the number of backup images that should be retained. After writing to the Number of Virtual Tapes, the tapes will get overwritten. The value should be greater than the Backup Cycle value specified in Backup When page.
For example, assuming each full backup is expected to occupy a single virtual tape, and you want to store 5 full backups on the disk, you will need a minimum of 5 virtual tapes. Add two vtapes for a margin of estimation error for a total of 7 vtapes.
You can backup up to either single-tape drive or a tape changer, using industry-standard tools to create the archive that are independent of the proprietary formats of any particular tape drive manufacturer. The only requirement is that the operating system can read and write to the device, and the amandabackup user has the permissions to do so.
When Tape is the media type for the Backup Set, the following options are displayed:
The 'Auto Label Tapes' radio button allows users to specify whether they want to use the facility of automatic labeling of tapes. The default value is set to No, meaning ZMC expects you to use the Backup Media page to pre-label the tapes you intended to use for backup.
Auto Label Tapes
The 'Auto Label Tapes' radio button allows users to specify whether they want to use the facility of automatic labeling of tapes. The default value is set to No, meaning ZMC expects you to use the Backup Media page to pre-label the tapes you intended to use for backup. Used tapes cannot be labeled automatically. If a tape has any pre-existing data on it, Amanda will not write to that tape.
Enable Bar Code Reader
Determines the number of backup images that should be retained. After writing to the Number of Virtual Tapes, the tapes will get overwritten. The value should be greater than the Backup Cycle value specified in Backup When page.
For example, assuming each full backup is expected to occupy a single virtual tape, and you want to store 5 full backups on the disk, you will need a minimum of 5 virtual tapes. Add two vtapes for a margin of estimation error for a total of 7 vtapes.The S3 bucket where the backup images will be stored, which was generated when the device was configured in the Admin Devices page.