Skip to content

Instantly share code, notes, and snippets.

View gkArvindr's full-sized avatar

Arvind GK gkArvindr

View GitHub Profile
@gkArvindr
gkArvindr / gist:94a660442ff14dbcc3876c8fc2cf28af
Created November 20, 2019 06:00
KVM backup Script, Encrypt,,backup up, compress,live backup
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
#Written By Arvind GK
#Part 2 : To backup Second VM Disk
• Disk One Backup File name backup-vm-2nd-disk.s
• This File name backup-vm-1st-
disk.sh DOMAIN="$1"
UUID=$(sudo virsh dumpxml $DOMAIN | grep uuid | cut -d">" -f2 | cut -d"<" -f1)