Nov 21 2017

Backup vCenter Server Appliance (VCSA) 6.5 Using PowerCLI

“VMTurbo"A few days ago I was asked to create a  VMware vCenter Server Appliance (VCSA) version 6.5 script using PowerCli. The request was to take a daily backup and send it to a FTPS location in a separate folder per backup. I found that Brian Graf has put together VCSA backup function which was really easy to use so my backup script uses the Backup-VSAToFile function which you can get here. The function allows you to take a FullBackup or SeatBackup meaning same options as when using the VCSA UI (https://vcsa-fwdn:5480)


Grab the script below or from my GitHub Repository to get started with VCSA backups. Just remember to change the information in the “User Defined Variables Section” to match your environment.

Heads up!

During my tests I found out that I had to use a Single Sign On (SSO) defined user in my case meaning vcsabkpuser@vsphere.local and I could not use a domain based user e.g. vcsabkpuser@vcdx56.loc al even if the user was added to the SSO Administrators group.


  1. Yitz

    OK, it took me some trial and error, and in the end I found some typos in your script.

    Towards the end of the script, after # Start the backup, if the backup type is 1 it should be -Fullbackup (with two l’s, not one).

    Secondly, you need to add the dash (-) to showprogress

  2. magander3

    hanks for pointing that out. missing some copy and paste skills apparently:)


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">