Removing Backups
You can remove existing backups and restore points using the vbr
utility. When you use the vbr task, remove
, Vertica updates the manifests affected by the removal and maintains their integrity. If the backup archive contains multiple restore points, removing one does not affect the others. When you remove the last restore point, Vertica removes the backup entirely.
Note: Vertica does not support removing backups through the file system.
To remove a backup or a restore point, use the vbr task remove
. Specify this task in the following form:
vbr -t remove -c configfile.ini --archive timestamp
You can remove multiple restore points using the archive parameter. To obtain the timestamp for a particular restore point, use the listbackup task.
- To remove multiple restore points, use a comma separator:
--archive="restore_point1, restore_point2"
- To remove an inclusive range of restore points, use a colon:
--archive="restore_point1: restore_point2"
- To remove all restore points, specify an archive value of
all
:--archive="all"
The following example shows how you can remove a restore point from an existing backup.
[dbadmin@doch01 ~]$ vbr -t remove -c backup.ini --archive 20160414_134452 Removing restore points: 20160414_134452 Remove complete!