i see, there is some backup of /var/lib/pve-cluster/config.db at /var/lib/pve-cluster/backup.
how can i create backups of vm and cluster configuration at regular interval ?
i see there is some cfs_backup_database(); in cfs_backup_database in https://github.com/proxmox/pve-cluster/blob/master/data/PVE/Cluster.pm , but it seems it's not meant to be used by some end-user or cronjob !?
root@pve-pc5:/var/lib/pve-cluster/backup# ls -la
total 26
drwxr-xr-x 2 root root 3 Mar 18 2022 .
drwxr-xr-x 3 root root 7 Dec 22 17:40 ..
-rw-r--r-- 1 root root 13574 Mar 18 2022 config-1647623846.sql.gz
how can i create backups of vm and cluster configuration at regular interval ?
i see there is some cfs_backup_database(); in cfs_backup_database in https://github.com/proxmox/pve-cluster/blob/master/data/PVE/Cluster.pm , but it seems it's not meant to be used by some end-user or cronjob !?
root@pve-pc5:/var/lib/pve-cluster/backup# ls -la
total 26
drwxr-xr-x 2 root root 3 Mar 18 2022 .
drwxr-xr-x 3 root root 7 Dec 22 17:40 ..
-rw-r--r-- 1 root root 13574 Mar 18 2022 config-1647623846.sql.gz