Thanks @gfngfn256 for suggestion but struggling to get correct parameters / commands. VM don't start bc unable to find out this bus=xhci.0 :(
I mitigated it adding usb0 as SPICE (don't know why) but only to 100Mb... it is really paintful process if can not get USB2.0 or even better USB3.1 to...
I followed the tutorial and was able to burn the virtual USB perfectly. Thank you @PanWaclaw !
However, I notice the speed of the interface is terribly low. I checked over VM -> Monitor, the "info usb" and shows me using ubs 1.1:
Type 'help' for help.
# info usb
Device 0.1, Port 1, Speed 12...
Ok, found a way. I know needs to be done carefully but if you put a
nohup ./script.sh > /dev/null 2>&1 &
code inside script.sh does not have locked context and just gets executed.
Thank you,
Do we have any "alternative" to this behaviour? a simple "remove a passthrough drive if not connected" can not be done using hookscripts at start time :(
Ok I see your point now :)
Unfortunately I have zero knowledge on how to create an API and expose it. I need to think a bit next steps here.
Thank you!
I have a flow to backup different physical and virtual servers in a sequential way (not using cron). All processes control that pve and pbs tasks are finished before proceed with next one. This way I avoid potential concurrent backup processes which kills performances of disks (with cron you can...
Hi community,
Do we have any API available within PVE or PBS to backup not a VM/LXC but a host/folder instead? I know it exist cli proxmox-backup-client who can perform this action but didn't found anything about API available. Do we have any?
Thank you,
I found a way by encoding each backslash \ highlighted in the previous post (only the backslash) by "%5c" (encoded backslash). Now it returns valid json parsed.
It shows like this ...%5cx3a...
Update: Nevermind... don't know why didn't work before but trying it again by adding vmids as a parameters works.
--
Is it possible with one curl command to copy several vmid using the API? I would like to replicate same behaviour than a backup job but with API. Now I have one curl per each...
Hi,
I am creating some flows in node-red to call Proxmox API to perform some backup actions.
Although I created some of them successfully to create backups and check if task of each one finished well or not, when trying to check if a task from a "sync" job finished, it always returns error to...
Wow this is way beyond expected hehe. Thanks for sharing.
However I would prefer something simpler but looks using hookscripts wont ever work bc lock vms and simple but effective commands you brought requires vms not being locked.
Anyway, it is not big deal but will continue searching over there...
Hi @ukro
I want to implement your idea as a hookscipt "pre-stop" and "pre-start" so instead of shutting down I can always keep unsaved files or session.
However, I am getting this message when trying to snapshot at "pre-stop" and end up not doing it...
Any suggestion? how are your executing...
I want to share this “how to” for anyone who mistakenly could removed partitions from 3x HDs in a ZFS RAIDZ1 configuration without need of recreating pool from scratch + recover backup.
Credits to user2209743 from...
@leesteken this is an interesting approach.
How do you copy the virtual disk to the physical partition? do you use clonezilla or similar software?
Thank you,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.