Proxmox daily snapshot

This script creates a snapshot of every VM on the PVE or PVE cluster

#!/bin/bash

SNAP=/usr/local/bin/cv4pve-autosnap

SNAP_KEEP_DAILY=10
SNAP_HOST=10.10.10.10

$SNAP --host=$SNAP_HOST --username=root@pam --password='topsecret' --vmid=all snap --label='_daily_' --keep=$SNAP_KEEP_DAILY