备份需要关闭所有虚拟机
首次需要注册一个Veeam账号 :https://www.veeam.com/
Veeam Agent for Linux:https://www.veeam.com/linux-backup-free-download.html
下载Veeam插件,下载红框里的2个链接
下载好的 veeam-release-deb_1.0.8_amd64.deb 文件上传到PVE的root目录里
更新源
apt update && apt upgrade
安装所需的软件包
apt install pve-headers squashfs-tools libisoburn1 xorriso cifs-utils nfs-client -y
安装linux内核
apt-get install linux-headers-$(uname -r)
安装 veeam 存储库
dpkg -i ./veeam-release*
安装后再刷新库
apt update
安装Veeam
在线安装
apt install veeam -y
离线安装:
https://repository.veeam.com/backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeam/veeam_6.0.0.1060_amd64.deb
https://repository.veeam.com/backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeam-release-deb/veeam-release-deb_1.0.8_amd64.deb
https://repository.veeam.com/backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeamsnap/veeamsnap_6.0.0.1060_all.deb
https://repository.veeam.com/backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeam-nosnap/veeam-nosnap_6.0.0.1060_amd64.deb
https://repository.veeam.com/backup/linux/agent/dpkg/debian/public/pool/veeam/b/blksnap/blksnap_6.0.0.1060_all.deb
dpkg -i veeam*.deb
dpkg -i blksnap*.deb
安装完成后输入 veeam 即可启动
接受许可协议后Next
直接 Next 跳过恢复镜像的设置
选择Server ,Finish
按 C 配置新的备份计划
设置备份名称
备份模式,如果有多个硬盘,选择volume level backup,然后选择需要备份的盘
这里不能选择备份到本机,选择共享文件夹
根据自己的情况选NFS或者SMB
SMB 文件夹这里前面不需要/
计划任务设置
选上 Start job now , Finish
开始备份
备份完成