vCenter

 View Only
Expand all | Collapse all

SFTP Server for vCenter File Based Backup

  • 1.  SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 08:53 AM

    Is somebody using SolarWinds SCP Server for vCenter file based Backup with SFTP protocol?

    I'm unable to get it working.  I get always following error: "Failed to create backup directory on backup server."

    For others solutions is the SFTP Server working without any issue!

    What server application do you use for SFTP?

     



  • 2.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 09:30 AM

    Which vCenter version do you have? 

    Check that article: 

    https://kb.vmware.com/s/article/85966 



  • 3.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 09:33 AM

    I'm using Version 7.0.3.01200, the latest one.



  • 4.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 10:00 AM

    Do you have a screenshot from backup config? 

    Maybe you are trying with Doamin DFS?



  • 5.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 11:01 AM

    There is no very much to configure on the GUI.

    Backup location, user name and password.

    The same with hostname or IP Address....

     

     

    image.png



  • 6.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 01:09 PM

    Hi,


    Just out of curiosity, did you check the permissions for your user "SFTP User Name", I mean that it has the permissions to create both the folder that you specified in the settings (if it doesn't exist, the backup procedure creates it) and thus all the other underlying folders that the procedure creates and uses in complete autonomy. Then you should consult the logs, even those of your SFTP server, they may contain an explanation for your specific problem.


    You can also omit specifying the port number, this is implied by specifying sftp://........


    Regards,
    Ferdinando



  • 7.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 03:27 PM

    Hi Ferdinando,

    If, from a SSH Session from the vCenter I connect to the SFTP Server, I can create the folders on the folder structure. So the permissions should be fine.

    The logs doesn't give me more details about the failure.



  • 8.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 17, 2023 03:58 PM

    Hi,


    At this point, I'd run a backup keeping SSH out of the way, simple FTP to see what happens.
    Then it is not negligible what is the version and build of the vCenter object you use, some of them had documented problems.


    Regards,
    Ferdinando



  • 9.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 23, 2023 10:59 AM

    irigoyen_0-1677156095716.png

     

     



  • 10.  RE: SFTP Server for vCenter File Based Backup

    Posted Feb 25, 2023 06:20 PM

    Does the target location have any spaces in its name that require quotes? So does the pwd have any special characters?



  • 11.  RE: SFTP Server for vCenter File Based Backup

    Posted Mar 27, 2023 07:27 AM

    I could manage the backup, installing a SFTP Server on a Linux Machine.

    I suppose the problem is not the SFTP product itself, rather a compatibility between vCenter and a SFTP server running on Windows.



  • 12.  RE: SFTP Server for vCenter File Based Backup

    Posted Oct 06, 2023 01:37 AM

    So you never got it reolved & working ? I am running into the same problem with the Solar Winds SFTP server software when trying to backup my 3 vcenters the onyl one I got to work was version 8.0. I can use WINSCP to connect to the SFT server create folders etc even when  I ssh to it. Too wierd I wanted to use a windows based stfp software any other suggestions? 



  • 13.  RE: SFTP Server for vCenter File Based Backup

    Posted Oct 06, 2023 01:38 AM

    So you never got it resolved & working ? I am running into the same problem with the Solar Winds SFTP server software when trying to backup my 3 vcenters the onyl one I got to work was version 8.0. I can use WINSCP to connect to the SFT server create folders etc even when I ssh to it. Too weird. I wanted to use a window based stfp software any other suggestions? 



  • 14.  RE: SFTP Server for vCenter File Based Backup

    Posted Nov 06, 2023 01:50 PM

    Hi Gvaladez53,

    No. With vCenter 7.x you cannot use a Windows OS as a SFTP target. It's not working.



  • 15.  RE: SFTP Server for vCenter File Based Backup

    Posted Oct 13, 2023 12:35 PM

    I backup both my vCenter using SFTP. I built a SFTP server on Ubuntu 20 and configured the VCSA to write to it. If you're still interested in getting this working, let me know and I can share all the steps to make this work



  • 16.  RE: SFTP Server for vCenter File Based Backup

    Posted Nov 06, 2023 04:46 PM

    Installing OpenSSH on Windows may work. This can be done with Window GUI or PowerShell.
    Don't forget to modify the Windows Firewall rules to allow SSH/SFTP.
    You can use a tool like WinSCP to verify if the SFTP file share is working.