Tuesday, September 13, 2016

Running a Linux Script for vSphere via Veeam Backup & Replication

I needed to do some proof of concept testing on the Pre-Freeze and Post-Thaw scripts to isolate some issues I've been having - rather than just beating my head against the wall all day.

Below are the steps I took to test Application-Aware processing for Linux Scripts for my test virtual machine.

  1. Setup your Linux VM with SSH
    For Lubuntu

    sudo apt-get install openssh-server -y

    Installing SSH

  2. Copy your scripts to your Veeam Backup & Replication server

    Copying your scripts

  3. Add the script's execution to the Application-Aware Processing to your backup job.

    Edit the job,
    Go to Guest Processing section,
    Enable application-aware process and click Applications,
    Select your virtual machine and click Edit,
    Go to the Scripts tab, and
    Browse to your scripts that you want to run for Pre-freeze and Post-thaw

    Note: Don't forget to assign you local login username and password that has SSH and the correct file / execution permissions.

  4. Save the changes and run the backup job

    Veeam Backup and Recovery Backup Job Test Run

    Verfiying the scripts ran

Best of luck!

No comments: