Search results

  1. 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...
  2. 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,
  3. 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 :(
  4. 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!
  5. 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,
  6. 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...
  7. 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,
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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,
  15. M

    Unable to remove datastore in PBS

    It worked @Lukas Wagner Thank you!
  16. M

    Unable to remove datastore in PBS

    Hi super community, I am unable to remove a datastore which are no longer available physically. The problem comes when executing the command: proxmox-backup-manager datastore remove NameOfTheDatastore and throws If I use the GUI button "Remove Datastore", the Tasks end throwing above message...
  17. M

    Live CD with Proxmox Backup Client

    Ok, I end up doing the following: - Boot with ubuntu 22 live cd with Try out option - Once desktop available, open a terminal and execute the following commands as "root" so first "sudo -s" It takes less than a minute to resolve dependencies and install, TEMPORARY until next reboot, the PBC...
  18. M

    Live CD with Proxmox Backup Client

    I see your point @Dunuin but I agree with @k11a approach that having a live cd with PBC would be the straightest forward way. Ill try something and if it works let you know
  19. M

    USB devices in Windows 10/11 not detected by just doing reboot

    Hey, you are right! I believe tried in the past rebooting the VM using Proxmox and changes not being applied :( but as you mentioned, maybe I did soft reboot from inside VM so good to know :)
  20. M

    Unable to restore to a passthrough hard disk

    Mmm... I am wondering if clonezilla could be used to restore a backup done by PBS. I don't know if will recognize the image or I would need to map it somewhere to restore using CZ. Anyone did something similar before?