0 Replies Latest reply on Apr 6, 2017 7:45 AM by user433

    consistent backup

    user433 Novice

      Is community alive ?

       

      William Lam did an amazing work! 60KB of the shell code ;-)

      I made some changes in the original script.

       

      # My changes:

      #

      # This script does quickly application consistent VM backup with VM shutdown for all VM

      # Without shutdown you will have only crash-consistent backup

      #

      # The script will backup the following VMs without snapshots:

      #   powered off VMs (no snapshot)

      #   powered on VMs with shutdown (snapshot after shutdown)

      #   suspended VMs without shutdown (i.e. crash consistent backup, snapshot)

      #

      # If VM has got snapshot, this VM will be skipped

      # All options are valid. But I never tried -c option.

      #

      # My steps for application consistent backup for Powered ON VMs:

      #   1. copy VM config

      #   2. shutdown VM

      #   3. take VM snapshot

      #   4. start VM

      #   5. clone VM disk

      #   6. delete all snapshot