Difference between revisions of "Automating taking and deleting of Snapshots"
From Notes_Wiki
Line 9: | Line 9: | ||
<pre> | <pre> | ||
# wget https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.15.2/cv4pve-autosnap-linux-x64.zip | # wget https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.15.2/cv4pve-autosnap-linux-x64.zip | ||
</pre> | |||
=== Install unzip package === | |||
<pre> | |||
# apt install unzip | |||
</pre> | |||
=== unzip the package === | |||
<pre> | |||
# unzip cv4pve-autosnap-linux-x64.zip | |||
</pre> | |||
=== give execute permission === | |||
<pre> | |||
# chmod +x cv4pve-autosnap | |||
</pre> | |||
=== move it to sbin folder === | |||
<pre> | |||
# mv cv4pve-autosnap /usr/sbin/ | |||
</pre> | |||
=== To verify that the commands are working, we can run this command. It will display all available options. === | |||
<pre> | |||
# cv4pve-autosnap --help | |||
</pre> | </pre> |
Revision as of 09:43, 2 May 2025
Home > Proxmox > Automating taking and deleting of Snapshots
We can automate taking and deleting of Snapshots using cv4pve-autosnap tool.
cv4pve-autosnap is a lightweight automation tool designed for Proxmox VE environments to create and manage LVM-Thin and ZFS volume snapshots. It helps administrators implement automated, scheduled snapshot backups of virtual machines (VMs) and containers (CTs), offering a simple but effective mechanism for data protection and rollback.
Install the tool on Proxmox VE
# wget https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.15.2/cv4pve-autosnap-linux-x64.zip
Install unzip package
# apt install unzip
unzip the package
# unzip cv4pve-autosnap-linux-x64.zip
give execute permission
# chmod +x cv4pve-autosnap
move it to sbin folder
# mv cv4pve-autosnap /usr/sbin/
To verify that the commands are working, we can run this command. It will display all available options.
# cv4pve-autosnap --help