Hello Proxmox Team,
I would like to suggest a useful feature for Proxmox VE. Currently, there is no built-in option to remove only the VM configuration or to unregister a deactivated VM from the list without deleting its disks. This functionality would be very helpful for managing inactive VMs more efficiently.
Since this option does not exist, I have developed a script that temporarily moves the VM configuration (without moving the disk) to another location, specifically to /root/backup-vm. This allows for a temporary "unregistration" of the VM while keeping its data intact.
I am sharing this script with you so that you can consider implementing a similar feature in future Proxmox VE updates. Let me know if you find this idea valuable!
To run the script, simply place it in /bin/move-conf.sh and grant execution permission with:
chmod +x /bin/move-conf.sh
The script will prompt for the VM ID to move. When restoring, it will list the VMs already stored in the destination (/root/backup-vm/
I would like to suggest a useful feature for Proxmox VE. Currently, there is no built-in option to remove only the VM configuration or to unregister a deactivated VM from the list without deleting its disks. This functionality would be very helpful for managing inactive VMs more efficiently.
Since this option does not exist, I have developed a script that temporarily moves the VM configuration (without moving the disk) to another location, specifically to /root/backup-vm. This allows for a temporary "unregistration" of the VM while keeping its data intact.
I am sharing this script with you so that you can consider implementing a similar feature in future Proxmox VE updates. Let me know if you find this idea valuable!
To run the script, simply place it in /bin/move-conf.sh and grant execution permission with:
chmod +x /bin/move-conf.sh
The script will prompt for the VM ID to move. When restoring, it will list the VMs already stored in the destination (/root/backup-vm/