📜 ⬆️ ⬇️

Archive to tape in Veeam Backup & Replication v8: new to the familiar old

Many organizations use magnetic tape devices in their backup infrastructure. Magnetic tape has been and remains an effective means for long-term storage of backup copies, allowing you to implement the "3-2-1" rule for data protection. That is why Veeam continues to improve support for tape libraries, which will be my story today.



For details, welcome under cat.
')

New in architecture - Veeam Tape Server


In the distributed architecture of Veeam Backup & Replication v8, a component with a new role has appeared - this is the Tape Server , that is, the server that is responsible for transferring data (backup copies of virtual machines or files) to a tape device. This role is played by a Windows server connected directly to a tape library (via SCSI / FC / SAS) or remotely via iSCSI and acting as a proxy server - in particular, managing read-write operations, moving and loading-unloading tapes on a tape device.

The Tape Server role can be assigned either to a dedicated server or to a server with an already existing role (for example, Veeam backup proxy), or even to a Veeam backup server - for example, if everything is installed on one machine. Both physical and virtual machines can cope with such a role - the main thing is that it works under Windows and is connected to a tape device, for which it is necessary to install the necessary drivers (for more, see here - in English).

We connect the tape library to the machine that will play the role of the Tape Server , and on this machine we check in the Device Manager Device Manager that the tape device is displayed under the Tape drives node:



If instead of the expected tape device a “Unknown Media Changer” or some other unidentified device appeared in the tree, check the installation of the required drivers (they must be “native”, that is, from the library manufacturer).

Next, go to the Veeam Backup & Replication console, open the Tape Infrastructure view there, select the Add Tape Server menu command and go through the steps of the Tape Server add wizard. In this case, you can select from the list the server already available in the backup infrastructure, or you can add a new one:



After the wizard’s steps have been completed, Veeam will scan the newly created Tape Server to determine if the required components and cassettes in the library are present, and display in the console a list of available devices that write to the tape ( Drives ) and the actual tapes ( Media ):



What are the benefits of such an architecture?


In the previous version, it was necessary to connect a tape device to the Veeam Backup server, which imposed a number of restrictions — for example, it was necessary to deploy the Veeam server exclusively on a physical machine. Naturally, the load on the server, which was responsible for reading and writing to the tape, grew, while it was practically impossible to optimize traffic.

With the assignment of the role of the Tape Server to a dedicated machine, Veeam Backup server is freed from the need to perform read-write operations to the tape and now deals exclusively with management, and for Tape Server you can apply traffic optimization settings (for more details, see here ).

We also note that now it is not necessary to deploy the Veeam Backup server on a physical machine - you can install it on a virtual machine and use VMware Fault Tolerance features to protect it.
Among the advantages of using a dedicated Tape Server are the following:



As can be seen from the picture diagram, the catalog of archives on a magnetic tape (Tape Catalog) is stored in the database on the Veeam Backup server, and in case of a failure in the work of the Tape Server, the data on the archives processed by it will not disappear - and the server can be replaced. For database backup, we use updated Configuration Backup functionality, which further enhances the security of directory data.

What else is new in support of working with magnetic tape?


In addition to the role of the Tape Server , added support for Tape Vaults - these are logical containers for displaying those tapes that are currently unloaded from the library (offline media). The user can create such containers himself and appropriately group his archives, which are currently outside the tape device (they are in the safe, on the rack, etc.).

For example, you can create one container for each remote site in the infrastructure. When the tapes are unloaded from the library and “leave” to a long-term storage location (safe, shelving, etc.), in the Veeam Backup console you just need to move them to the appropriate container. A well-constructed logical structure will allow people responsible for recovering data from tape archives to quickly find the necessary tapes.



And, of course, we could not fail to mention the new backup archiving algorithm on magnetic tape under the beautiful name Virtual Synthesized Full Backup for Tape . It allows you to synthesize full backups directly on the tape without the backup task doing it on disk beforehand. The job of archiving (tape job) forms such a full backup right in the course of its work.

What is this "synthesis" during archiving?


To form this very “virtual full backup on tape”, an auxiliary file .VSB (Veeam Synthetic Backup) is used, which contains pointers to data blocks in the backup chain files stored in the repository.
When creating an archiving task in the Media Pool wizard step, you can click the Schedule button and specify on which days you want the tape to form a full backup using the appropriate chain:



On the day to which this operation is scheduled, 3 steps are performed:
  1. The archiving task creates a .VSB file and saves it to the repository, next to the backup chain, consisting of a full backup (.VBK) and increments (.VIB)
  2. Referring to the list of pointers in this .VSB, the task finds out which blocks (from those stored on disk in the .VBK and .VIB files) will be needed to form a full backup that is relevant for the day. The corresponding blocks are recorded on the tape in the form of this “virtual full tape backup”.
  3. At the end of the session, the archiving task removes the outdated .VSB file from the repository.



The resulting full backup on the tape will be fully suitable for use as a starting point for subsequent increments, which the backup task will already create.

I draw your attention to the fact that such “virtual full backups for the tape” can be created only for backup copy job jobs and for backup job jobs that build an infinitely incremental chain — that is, only for chains containing necessarily 1 full backup and a set of subsequent increments.

Additional Information


Source: https://habr.com/ru/post/250951/


All Articles