• Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy
Cybersylum

Cybersylum

  • Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy

vCenter Server Backup – Failed to create backup directory on Backup Server

byArron King 08.15.2022 VCSA

I noticed an alarm in vCenter that indicated the vCenter Server Appliance (VCSA) was having trouble backing up.  I logged into the VCSA Appliance Management interface (vCenter URL with :5480) to investigate.  When I logged in, I found the following error:

Failed to create backup directory on Backup Server

vcsa backup - failed to create directory

Thinking there was something wrong on my SFTP server, I checked the username and password, file system permissions; but could find nothing wrong. I connected to the VCSA using root on SSH, and checked the log file at /var/log/vmware/applmgmt/backup.log.  This provided some additional detail on the issue and showed the backup process was unable to authenticate to the SFTP server.

VCSA backup.log - failed to authenticate

 

 

 

I tried the SFTP command manually and found the core of the issue:

VCSA - SFTP command requires acceptance of SSH key

 

 

 

For some reason, the SSH key has changed and needs to be updated in the local SSH Known Hosts file.  Once I accepted this new key, the backup was able to complete successfully.

VCSA Backup Completed

 

 

 

 

I am not sure what would have changed the SSH key.  The only thing I can think of is that I had updated vCenter from 7.0 U3f to 7.0 U3g recently.  I have verified the host is correct.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn

vToolbelt - July 2022

vToolbelt - August 2022

4 thoughts on “vCenter Server Backup – Failed to create backup directory on Backup Server”

  1. Preebeka
    08.21.2023 at 9:37 am

    Thank you. It really helped me today.

    Reply
    • Web Master
      08.26.2023 at 12:56 pm

      Thank your for visiting. I am glad it was helpful!

      Reply
  2. kedar
    10.04.2023 at 10:56 pm

    I have tried running above commands, accepted new SSH keys but still getting same error

    Reply
    • Web Master
      10.12.2023 at 12:46 pm

      While the steps I listed solved my problem, there could be other issues that are going on. Here are a few more ideas on what you can check:

      • Walk through the SFTP process manually from a shell on your vCenter including uploading a file. This can help identify issues with path and permissions on your backup server.
      • Make sure your vCenter is fully patched. I have seen a few issues with some releases that have been resolved by applying a patch. Reviewing the release notes for subsequent versions may be helpful
      • If none of these help, I would recommend opening a support request with VMware Global Support. They will be able to review the issue in depth and help get it resolved
      Reply
Leave a Reply Cancel reply

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

Search

Disclaimer

The content and opinions on this site belong to me - not my employer.

You are welcome to use any ideas or code from this site. You have the responsiblity to test these before using in a production environment.

Upcoming Events

  • Wed
    22
    Oct
    2025

    Cincinnati VMware VMUG UserCON

    Save The Date!

    The VMware VMUG UserCON returns to Cincinnati in October 2025

Categories

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10

Archives

Category

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10
Proudly powered by WordPress | Theme: Showme by NEThemes.
 

Loading Comments...