Proxmox 无法备份lxc容器的解决方法

By | 2021-06-03

今天备份一台LXC的容器报错:

INFO: tar: /mnt/pve/NAS/dump/vzdump-lxc-100-2021_01_03-18_21_57.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now

解决方法很简单:

# vi /etc/vzdump.conf 

把原来:

#tmpdir: DIR     (默认这行是注释掉的,记得取消注释符)

改为:

tmpdir: /tmp

 

發佈留言