Skip to content

Retention

Retention defines how long copies created by a Backup Copy Job are stored in the target Cloud4You Cloud Repository.

The Backup Copy Job retention policy is independent of the retention of the primary backup job. This means that a local backup can have a different retention period than the copy stored in the Cloud Repository.

Example:

Local backup
Retention: 14 days

        ↓ Backup Copy Job

Cloud4You Cloud Repository
Retention: 30 days

Info

Retention should be selected according to the required data retention period and the allocated Cloud Repository capacity.


Types of retention

For Backup Copy Jobs, Veeam Backup & Replication provides two basic mechanisms:

  1. Short-Term Retention — short-term retention of current restore points,
  2. GFS Retention — long-term retention of selected full backups.

Veeam also has a separate data retention policy for machines removed from the infrastructure or excluded from a job.


Short-Term Retention

Short-Term Retention defines how many days Veeam should keep restore points created by a Backup Copy Job.

The setting is available in the Backup Copy Job wizard under:

Target
└── Retention Policy

Example:

Retention Policy: 14 days

means that Veeam will retain restore points created within the period defined by the retention policy.

The minimum value for Backup Copy Job short-term retention is:

2 days

Veeam Backup & Replication 13

In the current Veeam Backup & Replication 13, Backup Copy Job retention is configured as a period in days.


How are old restore points removed?

During the first Backup Copy Job session, Veeam creates a full restore point.

Subsequent sessions create incremental restore points:

Full
 │
 ├── Incremental
 ├── Incremental
 ├── Incremental
 └── Incremental

When the oldest restore point exceeds the configured retention period, Veeam automatically processes the backup chain.

In a standard Backup Copy Job chain, the oldest restore point is merged into the full backup and then removed from the chain.

Do not manually delete backup files from the repository.

Warning

Files stored in the Cloud Repository should be managed only by Veeam Backup & Replication mechanisms.


Retention is calculated independently of the source

A Backup Copy Job has its own retention policy.

For example, you can configure:

Local backup:
7 days

Cloud Repository:
30 days

or the other way around:

Local backup:
30 days

Cloud Repository:
14 days

Changing the retention of the local backup job does not automatically change the Backup Copy Job retention.


GFS Retention

If selected copies need to be stored for a longer period, you can use:

GFS
Grandfather-Father-Son

GFS allows full backups to be retained in:

  • Weekly cycles,
  • Monthly cycles,
  • Yearly cycles.

Example:

Short-Term Retention
30 days

GFS
├── Weekly  → 4 weeks
├── Monthly → 12 months
└── Yearly  → 5 years

This allows current restore points to be kept for a relatively short period while selected full backups are retained for months or years.


Enabling GFS

When editing a Backup Copy Job, go to:

Target

and select:

Keep certain full backups longer for archival purposes

Then click:

Configure

In the GFS configuration window, you can enable selected cycles.


Weekly

The:

Keep weekly full backups for

option defines how many weeks weekly full backups should be retained.

Example:

Weekly: 4 weeks

means weekly GFS copies are retained for 4 weeks.

You can also specify the day of the week used to select the backup marked as the weekly GFS point.


Monthly

The:

Keep monthly full backups for

option allows selected full backups to be retained for a specified number of months.

Example:

Monthly: 12 months

means monthly copies are retained for 12 months.


Yearly

The:

Keep yearly full backups for

option allows yearly full backups to be retained for a specified number of years.

Example:

Yearly: 5 years

means yearly GFS copies are retained for 5 years.


Example retention variants

The values below are examples and should be adjusted to the organization's requirements.

Basic variant

Short-Term: 14 days
GFS: disabled

A good solution for environments that primarily require a current off-site copy.


Extended variant

Short-Term: 30 days

GFS:
Weekly  → 4 weeks
Monthly → 12 months

This retains both current history and monthly archival points.


Long-term variant

Short-Term: 30 days

GFS:
Weekly  → 4 weeks
Monthly → 12 months
Yearly  → 5 years

Suitable for environments that require selected copies to be retained for a long period.

Note

Enabling GFS may significantly increase Cloud Repository usage. Copies marked as GFS are not removed by the short-term retention policy until their corresponding GFS period expires.


GFS and the number of restore points

After GFS is enabled, the number of restore points stored in the repository may be higher than the short-term retention setting alone would suggest.

Example:

Short-Term: 14 days

+
Weekly: 4 weeks
Monthly: 12 months

This does not mean that the repository will always contain only 14 restore points.

Backups marked as GFS are protected from short-term retention removal until their GFS retention period ends.


Synthetic Full and Active Full for GFS

When creating GFS full backups, Veeam can use two mechanisms.

Synthetic Full

This is the default method.

Veeam creates the GFS full backup using data already stored in the target repository.

Data already in the Cloud Repository
        ↓
Synthetic Full
        ↓
GFS Backup

This reduces the amount of data that must be transferred again from the source.


Active Full

When you select:

Read the entire restore point from source instead of synthesizing it from increments

Veeam reads the complete restore point from the source repository and transfers it to the target repository.

This may increase:

  • network transfer,
  • job duration,
  • load on the source repository.

In a typical Cloud Repository scenario, keeping the default Synthetic Full mechanism reduces the need to transfer the entire dataset again over the Internet.


Deleted machine retention

A Backup Copy Job also has a separate policy for machines that:

  • have been removed from the infrastructure,
  • have been excluded from the Backup Copy Job,
  • are no longer protected by the source job.

You can find the setting in the advanced Backup Copy Job options:

Target
└── Advanced
    └── Maintenance

The:

Remove deleted items data after

option determines after how many days Veeam may remove data for such machines from the regular backup chain.

The default value for a Backup Copy Job is:

30 days

Veeam recommends configuring at least:

3 days

to reduce the risk of accidental data removal when a machine was temporarily not processed correctly.

Warning

Do not configure a very short deleted-items retention period without careful analysis. Veeam may consider a machine deleted if it has not been able to create a valid restore point for it for a certain period.

Data protected by active GFS retention follows separate rules and is not removed by deleted-items retention in the same way as regular restore points.


Retention and Cloud Repository capacity

Longer retention means higher consumption of allocated storage.

Capacity requirements are affected by:

  • amount of protected data,
  • daily data change,
  • backup frequency,
  • Short-Term Retention period,
  • number of GFS copies,
  • compression,
  • deduplication,
  • structure of the protected data.

Example:

Source data:          5 TB
Daily change:         5%
Short-Term:           30 days
Monthly GFS:          12 months

Do not assume that the required capacity will be equal only to the size of the source data.

You can use the:

Capacity Calculator

to estimate the required space.


What happens when the repository becomes full?

If the Cloud Repository does not have sufficient free space, subsequent backup operations may fail.

We therefore recommend regularly monitoring:

Backup Infrastructure
└── Backup Repositories

and the use of the allocated quota.

If usage approaches the limit, possible solutions include:

  1. increasing Cloud Repository capacity,
  2. shortening retention,
  3. reducing the number of GFS copies,
  4. removing unnecessary backups using Veeam mechanisms,
  5. reviewing the amount of protected data.

Danger

Do not manually delete backup files directly from the repository. This may cause inconsistencies in the configuration and backup chain.


Which retention policy should I choose?

There is no single correct policy for every environment.

When selecting retention, consider:

  • required RPO and RTO,
  • risk of late ransomware detection,
  • legal requirements,
  • contractual requirements,
  • time required to detect an incorrect or deleted file,
  • available budget,
  • allocated Cloud Repository capacity.

For business-critical data, consider combining:

short-term history
+
long-term GFS retention

with regular restore tests.


Example

A company performs a local backup every day.

It wants:

  • one month of current history in Cloud4You,
  • four weekly archival copies,
  • twelve monthly copies,
  • five yearly copies.

Configuration:

Backup Copy Job

Short-Term Retention:
30 days

GFS:
Weekly:
4 weeks

Monthly:
12 months

Yearly:
5 years

In this case, the Cloud Repository quota must be sized appropriately because GFS copies may be retained much longer than standard restore points.


Best practices

  • do not select retention only according to available space,
  • account for the possibility of late detection of data loss or encryption,
  • consider GFS for important data,
  • monitor quota usage,
  • after changing retention, monitor how used space increases or decreases,
  • do not manually delete backups outside Veeam,
  • perform restore tests regularly.

Important

Long retention does not replace restore testing. A backup has value only if data can be successfully restored from it.


Summary

Key information:

Mechanism Purpose
Short-Term Retention current restore points
Weekly GFS weekly full copies
Monthly GFS monthly full copies
Yearly GFS yearly full copies
Deleted Items Retention data from machines removed or excluded from the job

A typical configuration may look like:

Short-Term → 30 days
Weekly     → 4 weeks
Monthly    → 12 months
Yearly     → as required

Each retention policy should be tailored to the organization's requirements and the capacity of the purchased service.