WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9.1
    • VMware Cloud Foundation 9.0
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / VMware Cloud Foundation / VCF 9.1 - Automating VCF Backup Scheduling with the Fleet LCM API

VCF 9.1 - Automating VCF Backup Scheduling with the Fleet LCM API

07.17.2026 by William Lam // 1 Comment

In VMware Cloud Foundation (VCF) 9.1, users can configure scheduled backups for all VCF Management components, including the new VCF Management Services (VCFMS), through the Fleet LCM capability in VCF Operations by navigating to Build > Lifecycle > VCF Management > Backup & Restore. While the UI makes this straightforward, the same functionality is also exposed through the Fleet LCM API, making it easy to automate backup schedule configuration.


The Fleet LCM Update SDDC LCMS API is used to configure backup schedules, which are managed on a per-VCF Instance basis.

To demonstrate the functionality of this API, I have created a simple PowerShell script called fleet_lcm_configure_backup.ps1 which provides a user friendly method for creating VCF backup schedules. You will need to update the script and provide it with the following information:

  • Name of the VCF Instance to create the schedule backup
  • VCFMS Runtime FQDN and credentials
  • VCFMS Fleet FQDN
  • SFTP backup information which includes (SSH Fingerprint which will require you to run "ssh-keyscan -p $sftpServerPort $sftpServer 2>$null | Select-Object -First 1" or simliar for the script to convert to fingerprint value)

The following example demonstrates running the script to configure both the backup schedule and backup location in a single API call.


For those interested, here is a complete working JSON payload for configuring backup schedule and backup location:

{
  "backupConfigSpec": {
    "fullSchedule": {
      "enabled": true,
      "schedule": {
        "days": [
          "MON",
          "TUE",
          "WED",
          "THU",
          "FRI",
          "SAT",
          "SUN"
        ],
        "startTime": "10:00Z"
      }
    },
    "incrementalSchedule": {
      "enabled": false
    },
    "retention": {},
    "storage": {
      "sftp": {
        "host": "vis.vcf.lab",
        "port": "22",
        "username": "backup",
        "password": "VMware1!",
        "directory": "/backup",
        "thumbprint": "SHA256:XXX"
      }
    },
    "encryptionPassphrase": "VMware1!VMware1!"
  }
}

Note: If you need to create a backup schedule for VMware vSphere Foundation (VVF), my colleague Brian O’Connell just published an article on using the Fleet LCM API as the process is slightly different from a VCF-based deployment.

Categories // VMware Cloud Foundation, VMware vSphere Foundation Tags // VCF 9.1

Comments

  1. *protectedJarrad says

    08/13/2026 at 9:11 pm

    Hi William - great post!
    I had issues with this one under windows, the script runs but the vcf ops task fails with a cryptic error.

    looks like the ssh package included with win10/11 doesn't support the required KEX method to retrive the ssh thumbprint from the backup host. I'm assuming this is why it's failing the task in ops.

    ssh-keyscan linux.ad.home
    # linux.ad.home:22 SSH-2.0-OpenSSH_9.6p1 Ubuntu-3ubuntu13.18
    choose_kex: unsupported KEX method *protected email*

    This post decribes the issue, with a workaround - not sure if it's feasable to implement the fix in script because it's mostly an environmental issue.
    https://github.com/PowerShell/Win32-OpenSSH/issues/2140

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Quick Tip: The Fastest Way to Clear Partitions for ESX Reinstallation 08/15/2026
  • Quick Tip: Reducing High CPU Utilization in VCF Automation (VCFA) on AMD Zen4/Zen5 CPUs 08/12/2026
  • VCF 9.1 - Quick Tip: Optimized Workflow for Configuring Distributed Transit Gateway (DTGW) with NSX Virtual Network Appliance (VNA) 08/11/2026
  • Quick Tip: Selective ESX Host Patching in VCF 9.1 08/10/2026
  • Playing with Zero Touch Provisioning (ZTP) in vSphere 9.1 using an ASUS NUC 08/07/2026
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

Loading Comments...