P promoxer Member Apr 21, 2023 210 20 18 Aug 14, 2024 #1 I'm trying to change the storage of my backup job and not sure how to translate this error into corrective action.
I'm trying to change the storage of my backup job and not sure how to translate this error into corrective action.
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 14, 2024 #2 Hi, Can you please clarify how you attempted to change the storage for your backup job?
P promoxer Member Apr 21, 2023 210 20 18 Aug 14, 2024 #3 1. Select the backup job by clicking on it 2. Click on `Edit` 3. Click on Storage dropdown to change it 4. Error shows up when I click `OK` Error not showing after I reboot PVE
1. Select the backup job by clicking on it 2. Click on `Edit` 3. Click on Storage dropdown to change it 4. Error shows up when I click `OK` Error not showing after I reboot PVE
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 16, 2024 #4 Could you please share your storage config? `cat /etc/pve/storage.cfg`
P promoxer Member Apr 21, 2023 210 20 18 Aug 16, 2024 #5 ``` dir: usb-nvme path /mnt/usb-nvme content backup prune-backups keep-all=1 shared 0 ``` There are others, but this was the one that gave that error.
``` dir: usb-nvme path /mnt/usb-nvme content backup prune-backups keep-all=1 shared 0 ``` There are others, but this was the one that gave that error.
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 16, 2024 #6 Thank you! Could you please also provide us with the output of the following commands: Bash: cat /etc/pve/jobs.cfg pvesh get /cluster/backup cat /etc/vzdump.conf
Thank you! Could you please also provide us with the output of the following commands: Bash: cat /etc/pve/jobs.cfg pvesh get /cluster/backup cat /etc/vzdump.conf
P promoxer Member Apr 21, 2023 210 20 18 Aug 16, 2024 #7 ``` root@pve:/scripts# cat /etc/vzdump.conf # vzdump default settings #tmpdir: DIR #dumpdir: DIR #storage: STORAGE_ID #mode: snapshot|suspend|stop #bwlimit: KBPS #performance: [max-workers=N][,pbs-entries-max=N] #ionice: PRI #lockwait: MINUTES #stopwait: MINUTES #stdexcludes: BOOLEAN #mailto: ADDRESSLIST #prune-backups: keep-INTERVAL=N[,...] #script: FILENAME #exclude-path: PATHLIST #pigz: N #notes-template: {{guestname}} root@pve:/scripts# pvesh get /cluster/backup ┌──────────────────────┐ │ id │ ╞══════════════════════╡ │ backup-3d1923e9-1e58 │ └──────────────────────┘ root@pve:/scripts# cat /etc/pve/jobs.cfg vzdump: backup-3d1923e9-1e58 schedule 02:15 compress zstd enabled 1 mailnotification always mailto pve@example.com mode snapshot node pve notes-template {{guestname}} prune-backups keep-last=1 storage local vmid 101,103,102 root@pve:/scripts# ```
``` root@pve:/scripts# cat /etc/vzdump.conf # vzdump default settings #tmpdir: DIR #dumpdir: DIR #storage: STORAGE_ID #mode: snapshot|suspend|stop #bwlimit: KBPS #performance: [max-workers=N][,pbs-entries-max=N] #ionice: PRI #lockwait: MINUTES #stopwait: MINUTES #stdexcludes: BOOLEAN #mailto: ADDRESSLIST #prune-backups: keep-INTERVAL=N[,...] #script: FILENAME #exclude-path: PATHLIST #pigz: N #notes-template: {{guestname}} root@pve:/scripts# pvesh get /cluster/backup ┌──────────────────────┐ │ id │ ╞══════════════════════╡ │ backup-3d1923e9-1e58 │ └──────────────────────┘ root@pve:/scripts# cat /etc/pve/jobs.cfg vzdump: backup-3d1923e9-1e58 schedule 02:15 compress zstd enabled 1 mailnotification always mailto pve@example.com mode snapshot node pve notes-template {{guestname}} prune-backups keep-last=1 storage local vmid 101,103,102 root@pve:/scripts# ```
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 19, 2024 #8 Hi, Thank you for the output! Could you please run the `journalctl -f` in the terminal and then provide us with the output when you changed the storage on the backup?
Hi, Thank you for the output! Could you please run the `journalctl -f` in the terminal and then provide us with the output when you changed the storage on the backup?
P promoxer Member Apr 21, 2023 210 20 18 Aug 19, 2024 #9 Hi Moayad, The issue is no longer reproducible. Does `journalctl -f` still help?
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 19, 2024 #10 No, will not help if the issue no longer reproduced. You can provide us with the syslog next time if the issue happened again and the `pveversion -v`.
No, will not help if the issue no longer reproduced. You can provide us with the syslog next time if the issue happened again and the `pveversion -v`.
P promoxer Member Apr 21, 2023 210 20 18 Aug 19, 2024 #11 Hi Moayad, Please state the full set of commands I need to run before and after trying to change the storage.
Hi Moayad, Please state the full set of commands I need to run before and after trying to change the storage.
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,370 341 128 31 Vienna shop.proxmox.com Aug 19, 2024 #12 Before you change the storage, issue the following command, after you get the error you can `Ctrl+C` on the below command and attach the syslog to this thread. Bash: journalctl -f > /tmp/$(hostname)-syslog.txt
Before you change the storage, issue the following command, after you get the error you can `Ctrl+C` on the below command and attach the syslog to this thread. Bash: journalctl -f > /tmp/$(hostname)-syslog.txt