بنقرة واحدة
backup-vm
Create or restore VM backups. Use for full VM backups that can survive VM destruction.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create or restore VM backups. Use for full VM backups that can survive VM destruction.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Set up a new nixos-vm-template context for managing VMs on a hypervisor (libvirt, proxmox KVM, or proxmox-lxc containers). Use this when the user wants to configure a new VM management context, create an alias, or set up environment variables for a backend.
Completely remove a VM including its machine config. Use when user wants to permanently delete everything about a VM.
Recreate a VM from its existing machine config. Use when user wants to rebuild a destroyed VM or reset a VM to fresh state.
Create a new NixOS VM on the configured backend (libvirt or proxmox). Use this when the user wants to create a new virtual machine.
Clone an existing VM to create a new VM with copied /var data but fresh identity.
Destroy a VM and its disks. Use when user wants to remove a VM but keep its machine config for later recreation.
| name | backup-vm |
| description | Create or restore VM backups. Use for full VM backups that can survive VM destruction. |
| allowed-tools | Read, Bash, AskUserQuestion |
Create and restore VM backups.
Ask what they want to do:
Run just list to show existing VMs. Ask which VM to backup.
just backup {NAME}
just backups
First list backups to show available options:
just backups
Ask which VM to restore. The restore command will show available backups for that VM.
Warn the user: Restoring will replace the current VM with the backup contents. All current data will be lost.
just restore-backup {NAME}
This will show available backups and prompt for selection.
Confirm the action completed. For backups, note where they're stored. For restores, remind them to start the VM.