Created
February 13, 2021 07:53
-
-
Save AkashRajvanshi/a008339f37169c6cbbb835f22522669d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can directly backup your vm from gui ( but if you want cli method -> ) | |
# To create a backup | |
$ cd /var/lib/vz/dump | |
$ vzdump VM_ID # ( ID Show on GUI Pannel ) | |
# To Restore a VM Image ( x.lzo ) | |
$ cd /var/lib/vz/dump | |
# To Restore a VM | |
$ qmrestore vzdump-x-x.lzo VM_ID | |
# To restore a Container | |
$ pct restore ID --storage {storage_name} ./x.zst | |
# Note - You can also setup Proxmox Backup Server ( To Regurlarly Backup your VMS on Remote Storage - https://www.proxmox.com/en/proxmox-backup-server ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment