15 Commits
Author SHA1 Message Date
adam b8fe5a19fc Add new condition for when not removing any backups
Add a check for when retention equals 0. When retentions is set to 0 but no backups exist the message would still say "No old backups to remove for $vm".

This change changes the message as no backups would be removed even if they were found.
2026-02-02 15:28:40 +00:00
adam f859b776a2 change -c description 2026-02-02 15:06:36 +00:00
adam 087983bd4a less than 100 lines :) 2026-01-14 14:49:18 +00:00
adam fcf6f6008d improve defaults and argument processing.
Loop over VMs inside of main function rather than having 2 backup functions
2026-01-14 14:43:41 +00:00
adam 4a0a1ff9a7 fix some incorrect variable names 2026-01-14 09:45:58 +00:00
adam 5e07f58248 add flag to select compression algorithm 2026-01-14 00:35:59 +00:00
adam ae4f8e685d don't use compression 2026-01-12 15:28:42 +00:00
adam 2077d886cc don't include snapshots in backup and don't set noheader (only works on incus) 2026-01-12 15:16:05 +00:00
adam 753060563f add cleanup for backups 2026-01-12 14:59:46 +00:00
adam f53ffba649 update help message and correctly set default backup location 2026-01-12 10:09:00 +00:00
adam 80500254a7 remove hard coded path 2026-01-09 15:15:13 +00:00
adam 4c309982e0 fix variable string style 2026-01-09 13:18:24 +00:00
adam 4caa5b05e1 add options to set backup destination and target container manager. Also fix typo in to write backups to correct location 2026-01-09 13:04:14 +00:00
adam 9773050cd3 basic process backup working 2026-01-09 12:05:56 +00:00
adam fbbc91780b accept a comma separate list of VMs 2026-01-08 12:36:49 +00:00