Skip to content

McTwist/vmmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

vmmv

Rename virtual unit id

Disclaimer: This tool should only be used in a local environment, directly within a Proxmox host. It does not acccount for, nor does it care, about units located on other servers. If a cluster is used, this tool is not your solution, as it is not tested if the change is propagated. I made this tool for my own set up, which may not suit you.

Usage

./vmmv.py <from_id> <to_id>

What does this do?

It locally reassigns a VM/CT/template id to an another available one. It keeps track of the following:

  • Configuration
  • Disks (LVM(thin), ZFS, Directory, NFS, CIFS)(Note: Disks are on LVM/ZFS and backups are on dir/NFS/CIFS)
  • Backups
  • Pools
  • Backup schedules

Internally it directly accesses the config files, modifying them where needed and renames disks through lvrename/zfs rename.

Releases

No releases published

Packages

No packages published

Languages