Backup Advise

glennbtn

Renowned Member
Mar 12, 2010
37
0
71
Hi All

I have a 1tb ssd in my proxmox and use a synology to store the lxc data as I have 14Tb on there. I have come accross the issue when backing up /mnt/pve/netdrive-nfs/dump/tmp/vzdumptmp5054: Cannot open: Permission denied

Now the onboard SSD is not big enough to house a backup. If I set the temp directory in /etc/vzdump.conf to the SSD, does the whole backup go to the ssd before the synology on NFS? Bit confused how it works as can't hold that sort of data on there.

Thanks
 
What command are you using exactly to perform your backup? Did you use the GUI? Please provide the full log using [code]your log[/code]. In addition, please give us the output of the following commands:
Code:
cat /etc/pve/storage.cfg
cat /etc/vzdump.conf
ls -lah /mnt/pve/netdrive-nfs/dump
 
Hi

yes this was setup using the gui. Here is the data you requested. Thi is also the error I get Thanks


tar: /mnt/pve/netdrive-nfs/dump/tmp/vzdumptmp19707: Cannot open: Permission denied



root@robin:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup
maxfiles 0
shared 0

zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1

nfs: netdrive-nfs
export /volume1/vostel/nfs-robin
path /mnt/pve/netdrive-nfs
server 192.168.253.251
content vztmpl,iso,images,rootdir,backup
maxfiles 2
options vers=3

root@robin:~# cat /etc/vzdump.conf
# vzdump default settings

#tmpdir: DIR
tmpdir: /mnt/pve/netdrive-nfs/dump/tmp
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#stdexcludes: BOOLEAN
#mailto: ADDRESSLIST
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N
root@robin:~# ls -lah /mnt/pve/netdrive-nfs/dump/
total 116G
drwxrwxrwx 1 root root 1.7K Mar 5 07:47 .
drwxrwxrwx 1 1029 users 50 Feb 5 16:27 ..
drwxrwxrwx 1 root root 0 Mar 5 07:47 tmp
-rw-r--r-- 1 root root 781 Feb 24 00:04 vzdump-lxc-100-2020_02_24-00_00_02.log
-rwxrwxrwx 1 root root 5.9G Feb 24 00:04 vzdump-lxc-100-2020_02_24-00_00_02.tar.lzo
-rw-r--r-- 1 root root 781 Feb 25 00:04 vzdump-lxc-100-2020_02_25-00_00_02.log
-rwxrwxrwx 1 root root 5.9G Feb 25 00:04 vzdump-lxc-100-2020_02_25-00_00_02.tar.lzo
-rw-r--r-- 1 root root 3.6K Feb 24 00:13 vzdump-lxc-101-2020_02_24-00_04_09.log
-rwxrwxrwx 1 root root 7.8G Feb 24 00:13 vzdump-lxc-101-2020_02_24-00_04_09.tar.lzo
-rw-r--r-- 1 root root 3.6K Feb 25 00:14 vzdump-lxc-101-2020_02_25-00_04_23.log
-rwxrwxrwx 1 root root 7.8G Feb 25 00:13 vzdump-lxc-101-2020_02_25-00_04_23.tar.lzo
-rw-r--r-- 1 root root 4.4K Feb 26 00:38 vzdump-lxc-102-2020_02_26-00_00_02.log
-rw-r--r-- 1 root root 4.7K Feb 27 00:38 vzdump-lxc-102-2020_02_27-00_00_02.log
-rw-r--r-- 1 root root 4.4K Feb 28 00:47 vzdump-lxc-102-2020_02_28-00_08_53.log
-rw-r--r-- 1 root root 4.9K Feb 29 07:54 vzdump-lxc-102-2020_02_29-00_09_30.log
-rw-r--r-- 1 root root 4.5K Mar 1 07:04 vzdump-lxc-102-2020_03_01-00_09_47.log
-rw-r--r-- 1 root root 4.5K Mar 2 07:03 vzdump-lxc-102-2020_03_02-00_09_47.log
-rw-r--r-- 1 root root 4.4K Mar 3 07:45 vzdump-lxc-102-2020_03_03-00_15_55.log
-rw-r--r-- 1 root root 4.1K Mar 4 08:32 vzdump-lxc-102-2020_03_04-01_00_02.log
-rw-r--r-- 1 root root 4.4K Mar 5 07:47 vzdump-lxc-102-2020_03_05-00_15_44.log
-rw-r--r-- 1 root root 11K Mar 4 00:16 vzdump-qemu-100-2020_03_04-00_00_02.log
-rwxrwxrwx 1 root root 45G Mar 4 00:16 vzdump-qemu-100-2020_03_04-00_00_02.vma.lzo
-rw-r--r-- 1 root root 11K Mar 5 00:15 vzdump-qemu-100-2020_03_05-00_00_02.log
-rwxrwxrwx 1 root root 45G Mar 5 00:15 vzdump-qemu-100-2020_03_05-00_00_02.vma.lzo
root@robin:~#
 
Please review the permissions of your NFS. Additionally, you can try to backup a smaller container to the NFS but using something different as tmpdir.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!