{"id":51186068,"url":"https://github.com/tcdoverlord/hyperv-backup-bootstrap","last_synced_at":"2026-06-27T10:02:35.215Z","repository":{"id":365345686,"uuid":"1271695374","full_name":"tcdoverlord/hyperv-backup-bootstrap","owner":"tcdoverlord","description":"Release-safe Hyper-V backup automation framework with VM selection, drive selection, safe export, and backup verification.","archived":false,"fork":false,"pushed_at":"2026-06-18T23:56:01.000Z","size":8689,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T01:21:35.797Z","etag":null,"topics":["automation","backup","bootloader","devops-tool","hyper-v","powershell","system-automation","vm-management"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tcdoverlord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T23:34:36.000Z","updated_at":"2026-06-19T00:08:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tcdoverlord/hyperv-backup-bootstrap","commit_stats":null,"previous_names":["tcdoverlord/hv-lazybackup","tcdoverlord/hyperv-backup-bootstrap"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tcdoverlord/hyperv-backup-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcdoverlord%2Fhyperv-backup-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcdoverlord%2Fhyperv-backup-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcdoverlord%2Fhyperv-backup-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcdoverlord%2Fhyperv-backup-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcdoverlord","download_url":"https://codeload.github.com/tcdoverlord/hyperv-backup-bootstrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcdoverlord%2Fhyperv-backup-bootstrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34848932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","backup","bootloader","devops-tool","hyper-v","powershell","system-automation","vm-management"],"created_at":"2026-06-27T10:02:34.525Z","updated_at":"2026-06-27T10:02:35.209Z","avatar_url":"https://github.com/tcdoverlord.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HV-LazyBackup (Bootstrap System)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/hv-lazybackup-architecture-image.png\" alt=\"HV-LazyBackup Architecture Demo\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PowerShell-Bootstrap-blue?style=for-the-badge\u0026logo=powershell\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Hyper--V-Automation-purple?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/System-Unpacker-orange?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Status-Release--Safe-green?style=for-the-badge\" /\u003e\n\u003c/p\u003e\n\n---\n\n# Important Concept\n\nHV-LazyBackup is a bootstrap / unpacker engine. You run one setup script, and it generates the complete Hyper-V backup runtime system.\n\nThe bootstrap is for installation. The generated runtime scripts are for daily use.\n\n---\n\n# Only Entry File\n\n```powershell\n.\\HV_LazyBackup_Bootstrap_Setup.ps1\n```\n\nThe bootstrap:\n\n- Detects Hyper-V and lists available VMs.\n- Lets you choose the target VM.\n- Lets you choose a safe backup drive.\n- Excludes `C:\\` and any drive that hosts the selected VM's virtual disks from backup drive choices.\n- Generates config, folders, scripts, helper module, logs, reports, and runtime docs.\n- Validates every generated PowerShell file before finishing.\n- Fails clearly if generation fails.\n\n---\n\n# Generated System\n\nDefault install path:\n\n```text\nC:\\HV-LazyBackup\\\n|-- config.json\n|-- README.md\n|-- logs\\\n|   `-- log.txt\n|-- reports\\\n|-- modules\\\n|   `-- VM-Helpers.psm1\n`-- scripts\\\n    |-- Backup-VM.ps1\n    |-- Verify-Backup.ps1\n    |-- Check-VMState.ps1\n    |-- Export-VMState.ps1\n    `-- Helpers.ps1\n```\n\n---\n\n# Installation\n\nOpen PowerShell as Administrator on a Hyper-V host:\n\n```powershell\ncd \u003cREPO_FOLDER\u003e\n.\\HV_LazyBackup_Bootstrap_Setup.ps1\n```\n\nFollow the prompts for install path, VM selection, and backup drive.\n\n---\n\n# Daily Operation\n\nOpen PowerShell as Administrator:\n\n```powershell\ncd C:\\HV-LazyBackup\n.\\scripts\\Backup-VM.ps1\n```\n\nThat opens the daily operation menu:\n\n```text\n1. Run Backup Now\n2. Verify Last Backup\n3. View Backup History\n4. Check VM State\n5. Export VM State Report\n6. Open Logs\n7. Change Backup Drive\n8. Settings / Configuration\n9. Exit\n```\n\n---\n\n# Direct Commands\n\nRun backup without the menu:\n\n```powershell\n.\\scripts\\Backup-VM.ps1 -RunBackup\n```\n\nVerify backups:\n\n```powershell\n.\\scripts\\Verify-Backup.ps1\n```\n\nCheck VM state:\n\n```powershell\n.\\scripts\\Check-VMState.ps1\n```\n\nExport a VM state report:\n\n```powershell\n.\\scripts\\Export-VMState.ps1\n```\n\n---\n\n# Backup Drive Override\n\nThe configured backup root comes from `config.json`.\n\nThe bootstrap and runtime menu only allow safe backup drives. `C:\\` and the drive or drives where the selected VM stores its virtual disks are blocked.\n\nTo change the saved default backup drive, use option `7. Change Backup Drive` in the generated menu:\n\n```powershell\n.\\scripts\\Backup-VM.ps1\n```\n\nTo temporarily use another safe selected drive:\n\n```powershell\n.\\scripts\\Backup-VM.ps1 -RunBackup -BackupDrive X\n.\\scripts\\Verify-Backup.ps1 -BackupDrive X\n```\n\nThat uses:\n\n```text\nX:\\VM_MASTER_BACKUP\n```\n\n---\n\n# Backup Output\n\n```text\n\u003cSELECTED_DRIVE\u003e:\\VM_MASTER_BACKUP\\VM-NAME-MASTER-TIMESTAMP\\\n```\n\nExample:\n\n```text\nX:\\VM_MASTER_BACKUP\\GrizTechW-MASTER-2026-06-16_12-03\\\n    .vhdx\n    .vmcx\n    .vmrs\n```\n\n---\n\n# Safety Layer\n\n- Admin expected.\n- Hyper-V discovery and VM validation.\n- `C:\\` backup drive blocked.\n- VM storage drive blocked as a backup target.\n- Unsafe drives are hidden from backup drive selection.\n- Safe VM stop before export.\n- Generated file validation.\n- Runtime logging.\n- Backup verification checks for `.vhdx`.\n- VM state reports.\n\n---\n\n# Status\n\nRelease-Safe Bootstrap System v1.3\n\n---\n\n# Author\n\nTCDOverLord\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcdoverlord%2Fhyperv-backup-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcdoverlord%2Fhyperv-backup-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcdoverlord%2Fhyperv-backup-bootstrap/lists"}