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. If backup devices are defined, Backup Where allows user to define a backup device for the backup set. You will have to provide backup set specific information for each device depending on the type. Sections below provide more information on how to configure the device for the backup set.
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). The staging area can be configured in the Backup Staging page.
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 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.
This table shows how the devices are used by different backup sets.
Device Name is the name of device as specifiec in Admin Devices page.
Changer Path and Device Path are device file names for tape changer and device. In case of disk backup, Changer Path appears as /dev/null (i.e, changer entry is not valid). In case of Amazon S3 backup, the S3 access key is shown as Device Path.
Media Per Backup defines the number of media volumes that can be used in a backup run. For Amazon S3, tapes and tape changers, the value can be changed in the Backup Where page.
Comments are the notes that were specified when the backup device was configured with the backup set.
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.
Comments
Media Used Space
This field cannot be modified. It provides information on how much space is in use in the file system used for backups. This value can be used to fill Virtual Tape Size and Number of Virtual Tapes values.
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.
Reserved Percent
Most file systems reserve certain amount of free space. This value is used for free space calculations to provide ZMC warnings when the backup volume is running out of space.
Comments
Enter a descriptive comment, such as the physical location of the device or any operational notes
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. Amanda will label the tape automatically based on the policy that is specified in the drop-down box. The list of policies are shown below
Setting the policy to "Always" is dangerous and is not recommended. If you are using tape changer for multiple backup products including Amanda Enterprise, do not use "Only if Amanda label not found" policy.
Use Bar Code Reader
Select the check box if Bar Code reader should be used for this backup set, Otherwise choose No. This option can be changed at any time and will take effect when the next backup run is executed. This feature should be enabled to display bar codes in the Backup Media page and adding bar codes to the volume labels automatically.
Starting/Last Slot Number
Total Tapes Allocated
This value determines the backup retention policy. Amanda will rotate backups among the number of tapes in rotation. You can take tapes out of rotation by archiving it in Backup Media page. Please see Backup When page for more information on this field.
Changer Device
This information is provided for information only and cannot be changed. It can be changed in the Admin Devices page.
Tape Drive Device
The tape drive that should be used by the backup set. Please note that Amanda will use mt command to manage the device. If the tape drive is not recognized, please select --OTHER-- from the drop down box and enter the tape drive device file name as shown below.
Tape Drive Slot# (Advanced option)
When there are multiple tape drives in a tape changer, each tape drive has a slot number. Please provide the information here. If it is a single drive tape changer, the drive slot # is usually 0.
Comments
Enter a descriptive comment, such as operational notes, amazon account owner
Backups stored at
The S3 bucket where the backup images will be stored, which was generated when the device was configured in the Admin Devices page.
Virtual Tape Size
Specify the size of the virtual tapes, which will be dependent on how many are to be use for a backup cycle, and how large each backup will be. It should be more than the full backup size of the largest backup object/DLE in the backup set. The value is specified in megabytes.
Number of Virtual Tapes
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.
Secure Communications (Advanced Options)
Enable this to perform secure SSL transfers of data to and from Amazon S3 cloud. Zmanda recommends enabling secure communication.
You can backup up to a 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:
Comments
Enter a descriptive comment, such as the physical location of the device or any operational notes.
Tape Drive Device
Select the tape device file name for the tape drive. Please note that Amanda will use mt command to manage the device
Tape Size
Capacity of the tape in MB (megabytes), GB (gigabytes) or TB (terabytes). This should be the uncompressed size of tapes used by the changer. It is important not to use the number quoted by marketing material. You can use the amtapetype command to allow Amanda to estimate the size of tape. The execution of amtapetype will probably take hours because it must perform I/O operations on the entire tape length.
Note on Block Size: Although you cannot change the block size of the device using the ZMC, you can manually edit the amanda.conf file to specify a different block size if necessary. See the description of device_property in the link for details.
Tapes in Rotation
This value determines the backup retention policy. Amanda will rotate backups among the number of tapes in rotation. You can take tapes out of rotation by archiving it in Backup Media page. Please see Backup When page for more information on this field.