If you have implemented a script as per my previous post, and find it tedious to manually delete your old backups, or find that space is at a premium, you can also include a line into your script to delete old backups.
The command to delete old backups is structured as follows:
wbadmin delete systemstatebackup
{-keepVersions:<No. of copies> | -version:<VersionIdentifier> | -deleteOldest}
[-backupTarget:<VolumeName>]
[-machine:<BackupMachineName>]
[-quiet]
Explanations of all parameters here.
I use the following line:
wbadmin delete systemstatebackup -keepVersions:1 –quiet
This will delete all backups other than the last one.
No comments:
Post a Comment