• kvm live backup

    Live backup of your VM running in KVM under Ubuntu using qcow2 disk images

    # First of all disable apparmor to allow access

    # View disks

    # Suspend the domain (This is optional. I do this so that the condition of virtual machines remains unchanged during the backup.)

    # Create snapshot

    # or

    # View snapshots

    # View disks (it must be running on snapshots)

    # Copy drives to backup dir

    # Perform active blockcommit by live merging contents

    # View disks (it must be running on normal drives)

    # Unsuspend the domain

    # View snapshots again

    # Delete snapshots

    # View snapshots to check

    # Delete snapshot files


  • SmartOS: Migrating a KVM and Non-Global Zone to a Different Machine

    KVM:

    On the Source SmartOS Node:

    On the Target SmartOS Node:

    Non-Global Zone:

    It’s simple: