Hi,
I am trying to setup an automatic backup of the disk image to dropbox for my VM.
First I install dropbox on my proxmox root, then I created a symlink folder where then I assign as the backup directory in the GUI.
With this, I have no problem backing up a VM and have it uploaded to dropbox.
However, when I tried to do the same for LXC it fails:
Any idea would be appreciated.
I am trying to setup an automatic backup of the disk image to dropbox for my VM.
First I install dropbox on my proxmox root, then I created a symlink folder where then I assign as the backup directory in the GUI.
With this, I have no problem backing up a VM and have it uploaded to dropbox.
However, when I tried to do the same for LXC it fails:
INFO: create storage snapshot 'vzdump'
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume "snap_vm-102-disk-0_vzdump" created.
WARNING: Sum of all thin volume sizes (<352.02 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (<16.00 GiB).
INFO: creating archive '/CSQT_RAID1/BKUPs/BKUP_CSMS1/dump/vzdump-lxc-102-2020_02_24-03_33_25.tar.lzo'
INFO: tar: /CSQT_RAID1/BKUPs/BKUP_CSMS1/dump/vzdump-lxc-102-2020_02_24-03_33_25.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
Logical volume "snap_vm-102-disk-0_vzdump" successfully removed
ERROR: Backup of VM 102 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/CSQT_RAID1/BKUPs/BKUP_CSMS1/dump/vzdump-lxc-102-2020_02_24-03_33_25.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/CSQT_RAID1/BKUPs/BKUP_CSMS1/dump/vzdump-lxc-102-2020_02_24-03_33_25.tar.dat' failed: exit code 2
INFO: Failed at 2020-02-24 03:33:28
INFO: Backup job finished with errors
TASK ERROR: job errors
Any idea would be appreciated.