Recent content by Mirmanium

  1. M

    [TUTORIAL] Virtual Pendrive on VM

    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...
  2. M

    [TUTORIAL] Virtual Pendrive on VM

    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...
  3. M

    Snippets hookscript can not change CT net config

    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,
  4. M

    Snippets hookscript can not change CT net config

    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 :(
  5. M

    API to backup a host or folder?

    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!
  6. M

    API to backup a host or folder?

    What you mean to say with wrap the client invocation? don't get is sorry. Could you put me an example? Thank you,
  7. M

    API to backup a host or folder?

    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...
  8. M

    API to backup a host or folder?

    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,
  9. M

    [SOLVED] Bug or normal behaviour PBS API taskId (UPID) pattern

    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...
  10. M

    Easy way to backup all VMs via the API, without enumerating them one by one?

    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...
  11. M

    [SOLVED] Bug or normal behaviour PBS API taskId (UPID) pattern

    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...
  12. M

    [SOLVED] Cannot suspend VM to disk due to passed-through PCI device(s)

    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...
  13. M

    [SOLVED] Cannot suspend VM to disk due to passed-through PCI device(s)

    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...
  14. M

    [TUTORIAL] Recover ZFS RAIDZ1 pool (3x HDs) after all partitions being deleted

    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...
  15. M

    Install poxmox on a partition and not on the whole disk?

    @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,

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!