Changes for page Proxmox Backup server
Last modified by Kevin Wiki on 2024/05/21 21:23
From version
25.1
edited by Kevin Wiki
on 2024/04/06 14:25
on 2024/04/06 14:25
Change comment:
There is no comment for this version
To version
29.1
edited by Kevin Wiki
on 2024/05/21 21:23
on 2024/05/21 21:23
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -208,16 +208,53 @@ 208 208 209 209 It also seems like there are a LOT of files shifting - being added and deleted. Making the diff uploaded to jottacloud huge. 210 210 211 += Syncthing = 212 + 213 +TODO 214 + 211 211 = Client Configuration = 212 212 213 213 Configure Backup on the Datacenter or PVE host level in the proxmox web GUI. If a backup storage is already added input the following preferences: 214 214 215 215 * selection mode: include selected VMs 216 -* send email to: [[kevin.midboe+PVE_HOSTNAM[email protected]>>mailto:kevin.midboe+PVE_HOSTNAME@gmail.com]]220 +* send email to: EMAIL_ADDRESS 217 217 * email: on failure only 218 218 * mode: snapshot 219 219 * enabled: true 220 220 * job comment: ~{~{guestname}}, ~{~{node}}, ~{~{vmid}} 225 + 226 += Debugging/issues live here = 227 + 228 +== Permission denied anything for certain backups == 229 + 230 +When trying to restore a VM I noticed that it was very outdated. Before doing anything I got a `Permission denied (os error 13)` error message. I checked the permissions of the storage mount in proxmox cluster, generated new API key, removed and re-added the storage to node getting permission denied, and what gave it away I also got it when running the CLI command from proxmox-backup-server host. 231 + 232 +{{code language="bash"}} 233 +kevin@clio:~$ sudo proxmox-backup-client snapshot forget -ns apollo -repository proxmox-backup 'vm/201/2023-07-31T01:31:18Z' 234 +[sudo] password for kevin: 235 +Password for "root@pam": ***************** 236 +fingerprint: **:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**:** 237 +Are you sure you want to continue connecting? (y/n): y 238 +storing login ticket failed: $XDG_RUNTIME_DIR must be set 239 +Error: removing backup snapshot "/mnt/pergamum/proxmox-backup/ns/apollo/vm/201/2023-07-31T01:31:18Z" failed - Permission denied (os error 13) 240 + 241 +kevin@clio:~$ ls -l "/mnt/pergamum/proxmox-backup/ns/apollo/vm/201/2023-07-31T01:31:18Z" 242 +total 263 243 +-rw-r--r-- 1 root root 667 Feb 17 01:16 client.log.blob 244 +-rw-r--r-- 1 root root 167936 Feb 17 01:16 drive-scsi0.img.fidx 245 +-rw-r--r-- 1 root root 539 Feb 17 01:16 index.json.blob 246 +-rw-r--r-- 1 root root 342 Feb 17 01:16 qemu-server.conf.blob 247 +{{/code}} 248 + 249 +Aha! The owner of everything in these folders should be {{code language="none"}}backup:backup{{/code}}. 250 + 251 +**Resolve using:** 252 + 253 +{{code language="bash"}} 254 +kevin@clio:~$ sudo chown -R backup:backup /mnt/pergamum/proxmox-backup/ns/apollo/* 255 +{{/code}} 256 + 257 + 221 221 ))) 222 222 223 223