VMware Cloud Community
Defde_freD
Contributor
Contributor

VCSA VAMI backup is failing to delete old backups according to retention policy (70823)

This bug is still not fixed???

https://kb.vmware.com/s/article/70823

Workaround:

#ssh VCSA or PCS
cd /storage/applmgmt/backup_restore
cp -p backup-history.json 202109-backup-history.json
# only keep current month "202109" to be adapted to your need.
egrep '^    "202109' -A 17 BACKUP-backup-history.json | egrep -v ^-- > backup-history.json

# add first line with "{"
# remove useless "," at the end of the json
# add last line with "}"
vi  backup-history.json
#done
0 Kudos
2 Replies
Defde_freD
Contributor
Contributor

In VCSA 6.7.x, without cleaning the json manually:

- after a while, the existing backup list is no more working in the appliance

- after ~500 days, the backup are no more working at all!

Seems a really simple bug to resolve...

I hope it is with 7.x

0 Kudos
Defde_freD
Contributor
Contributor

I still have the issue with

VMware® vSphere®

 

vSphere Client version 7.0.3.01700

vcsa backup config.JPGvcsa backup.JPG

 

0 Kudos