This is an archive version of the document. To get the most up-to-date information, see the current version.

Tape Data Retention

In this article

    Data retention period is a period of time when data written to tapes is protected from overwriting.

    Retention period is set by user for media pool and is applied to all tapes in this media pool. To set the retention policy, you can choose between the following options:

    • Never overwrite data
    • Define a particular time period to protect data
    • Not to protect data at all.

    During the retention period, Veeam Backup & Replication will not overwrite data on tape. If a tape contains several backup sets, it will expire when the backup set with the longest retention period expires.

    Tape Data Retention 

    You can change the retention at any time. When you change the retention policy, you can select if this modification works for tapes that will be written after you apply this change or also to tapes that are already recorded. In the latter case, the retention settings of the recorded tapes will change immediately and will be applied to tapes that are both online and offline.

    Tape Data Retention Note:

    If you choose to set a shorter retention period and apply the retention settings to all tapes, some of your tapes may immediately become outdated. Such tapes will be queued for overwriting. Be careful when applying a new retention policy in order not to lose any data you need, or use the protection option. For more information, see Tape Protection.

    Tape Retention and Disk Retention

    For forward incremental and reverse incremental backup chains, you must always set the retention period for the tape archive not less than the retention period for backups on disk. The tape jobs analyze the existing tape archives and synchronize them with disk backups. If you have some restore points on disk and the tape archive misses them (for example, if the media pool retention allowed overwriting of these tapes), the tape job will re-write all missing restore points. For details, see Retention Policy.

    For example, there are 14 backup files on the backup repository that are kept for 14 days. The backup to tape job archives files once a week. The retention policy for the media pool is set to 7 days. In this case, Veeam Backup & Replication will first write 14 backup files from the backup repository to tape. After a 7-day interval, Veeam Backup & Replication will start recording the whole set of backup files from the backup repository to tape anew, overwriting backup files on tape with their copies from the backup repository.

    When the primary job produces a forever forward incremental backup chain, you can set any retention period for the tape archive. To back up such chains, the virtual full mechanism is enabled automatically. Keep in mind that the virtual full backup must be always newer than the full backup on disk. Otherwise, the tape job will copy the full backup from disk and synthesize the virtual full within one backup set. For details, see Virtual Full Backup.

    Managing Outdated Tapes

    The tapes containing outdated data are handled in the following way:

    • If the expired tape is online, it will be overwritten next time a tape job requires a free tape. The expired tape can be used only by the same media pool unless you erase the tape manually or move it to another media pool. The tapes are rewritten by the FIFO method.
    • If the expired tape is offline, you can re-load it back to the library. Tapes that were written in particular media pool will be automatically placed to the same media pool unless you move the tape to another media pool or erase the tape manually.