hello,
i want to do a serialized gc/prune & verify from commandline via cronjob to minimize spinup/down of the backup-disk at my homeserver and i have come very close.
one problem is left:
how can i verify a datastore from cli with --ignore-verified and --outdated-after option?
unfortunately, there seems to be no such option for "proxmox-backup-manager verify" !?
furthermore it seems that i cannot immediately start a verify job from cli, too (which lets the command return after finish) !?
for now my script looks like this, but it does not skip uneccesary verify. i have no idea how to solve this.
#!/bin/bash
proxmox-backup-manager verify pve-t620_backup
pvesm prune-backups pbs_pve-t620_backup --keep-daily 14 --keep-weekly 4 --keep-monthly 6 --keep-yearly 1
proxmox-backup-manager garbage-collection start pve-t620_backup
i want to do a serialized gc/prune & verify from commandline via cronjob to minimize spinup/down of the backup-disk at my homeserver and i have come very close.
one problem is left:
how can i verify a datastore from cli with --ignore-verified and --outdated-after option?
unfortunately, there seems to be no such option for "proxmox-backup-manager verify" !?
furthermore it seems that i cannot immediately start a verify job from cli, too (which lets the command return after finish) !?
for now my script looks like this, but it does not skip uneccesary verify. i have no idea how to solve this.
#!/bin/bash
proxmox-backup-manager verify pve-t620_backup
pvesm prune-backups pbs_pve-t620_backup --keep-daily 14 --keep-weekly 4 --keep-monthly 6 --keep-yearly 1
proxmox-backup-manager garbage-collection start pve-t620_backup