Amit's Blog
  • Home
  • Videos
  • All Posts
  • Tags
  • About Me
Subscribe

Linux Guy

3 posts published

Restore Proxmox Container and VM from Backup

* Restore Container from backup pct restore <containerIDToCreate> <backupFileName>.tar.zst --storage <storageName> * Restore VM from backup qmrestore <backupFile>.tar.zst <vmIDToCreate> -unique -storage <storageName> Note: use -unique option to Create unique mac for ethernet

Linux Guy Feb 22, 2023 • 1 min read
Generate UUID in bash
Bash

Generate UUID in bash

Sometimes you may need to generate random UUIDs in bash shell. Here's a quick way to generate one : uuidgen If you need to get just the uuid and no dashes , you can use sed : uuidgen | sed 's/-//g' Another way to use the kernel random

Linux Guy Feb 24, 2022 • 1 min read
PowerShell - Check Last System Reboot/Shutdown Reason

PowerShell - Check Last System Reboot/Shutdown Reason

You might encounter situations where you PC may have shutdown or rebooted when trying to wake up from sleep or other reasons. You can use PowerShell to pull windows event logs to look for clues as to why that may have happened. You can also use this to pull any

Linux Guy Feb 9, 2022 • 1 min read
Amit's Blog © 2025
Powered by Ghost