File-based backups on the old path are not subject to retention after changing the scheduled backup path
search cancel

File-based backups on the old path are not subject to retention after changing the scheduled backup path

book

Article ID: 457695

calendar_today

Updated On:

Products

VMware vCenter Server VCF Operations

Issue/Introduction

  • The scheduled backup path was changed.

  • The new path contains the same number of backup files as the configured retention limit (5 in this example):
    <user>@<new_backup_server># ls -l <new_path>
    total 20
    drwxr-xr-x 2 root root 4096 <Timestamp> S_8.0.3.00800_<Timestamp>_
    drwxr-xr-x 2 root root 4096 <Timestamp> S_8.0.3.00800_<Timestamp>_
    drwxr-xr-x 2 root root 4096 <Timestamp> S_8.0.3.00800_<Timestamp>_
    drwxr-xr-x 2 root root 4096 <Timestamp> S_8.0.3.00800_<Timestamp>_
    drwxr-xr-x 2 root root 4096 <Timestamp> S_8.0.3.00800_<Timestamp>_
  • Previously created backup files remain on the old path:
    <user>@<old_server># ls -l <old_path>
    total 20
    drwxr-xr-x 2 root root 4096 <Old_Timestamp> S_8.0.3.00800_<Old_Timestamp>_
    drwxr-xr-x 2 root root 4096 <Old_Timestamp> S_8.0.3.00800_<Old_Timestamp>_
    drwxr-xr-x 2 root root 4096 <Old_Timestamp> S_8.0.3.00800_<Old_Timestamp>_
    drwxr-xr-x 2 root root 4096 <Old_Timestamp> S_8.0.3.00800_<Old_Timestamp>_
    drwxr-xr-x 2 root root 4096 <Old_Timestamp> S_8.0.3.00800_<Old_Timestamp>_

Environment

VC: 8, 9

VCF: 9.1

Cause

  • Only backup files located in the path currently specified in the scheduled backup settings are subject to the retention policy.
  • If a manual backup is performed using the exact same path as the scheduled backup, that backup file will also be subject to retention. In this case, the folder will be named following the pattern M_8.0.3.00800_<Timestamp>_.

Resolution

This is expected behavior.