61718: Acronis Backup 12.5: Pre-backup tape inventory

Also read in:

use Google Translate

Applies to: 

Create a .bat file to run inventory before backup

Introduction

If you have a standalone tape device and insert new tape for the backup, you need to inventory tapes before running the backup task. If you try to run a backup without inventorying the tape first, you will see the following message: Cannot find tape to continue backup; and user interaction will be required to continue backup.

Solution

You can create a batch file to run tape inventory automatically before backup. Follow the steps below:

  1. In backup console, go to Settings -Tape management and choose your tape device
  2. Click on Details - All properties and note the libraryid (not to be confused with id or resourceid). You will need this id for the batch.

  3. Make sure that the component Command-Line Tool is installed on the machine with tape (the default location is \Program Files\Acronis\CommandLineTool\acrocmd.exe)
  4. Create a new .txt file and specify the following text in the file

    acrocmd inventory tape --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 

    where XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX is libraryid of your tape device

  5. Save changes to the file and change the file extension from .txt to .bat
  6. If the Agent is installed on the same machine where the tape device is connected, open Backup Options in your backup plan, go to Pre/Post commands, enable executing command before the backup and specify the .bat file that you created as a pre-command to the backup. File can be specified by providing a local path to it, e.g C:\ProgramData\Acronis\Inventory.bat
  7. If the Agent is installed on a different machine from where the tape device is connected or if you have many Agents making backup on this device through Acronis Storage Node, create a task in Windows Scheduler on the machine with tape device. Open Windows Scheduler and create new task that should run before the backup. Under Actions specify the path to the batch file that you created.

More information

Automatic detection of newly inserted tapes is planned for future versions of Acronis Backup.

Tags: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 7 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.