vzdump prune only

hazaqames477

New Member
Apr 3, 2024
5
0
1
My backup target filled up. Using other backup software in this situation, I would typically invoke a prune or retention process (also called a zero-byte backup w/ subsequent retention) which would usually bring it back from the cliff. Then I could adjust my retention settings to avoid this in the future. I just attempted vzdump 101 --prune-backups ... but this invoked a backup first! How can I invoke a prune only?
 
The vzdump utility is for creating backups only and the --prune-backups argument is only for overwriting the settings that were configured on the storage-level. It seems like pvesm set <storage> --prune-backups <options> and/or pvesm prune-backups <storage> would be the better fit for you, see here for the documentation on it (or man 1 pvesm).