44576: Acronis Cyber Backup: SFTP Log

    Last update: 07-05-2020

    To obtain SFTP log, please do the following on the machine where the problem occurs (for example, when creation of a centralized vault fails, enable SFTP log on Acronis Management Server machine).

    In Windows:

    1. Run regedit from Start -> Run;
    2. Open the following registry key:

      HKEY_LOCAL_MACHINE\Software\Acronis\DebugLogs registry key. (If the DebugLogs key does not exist, please create it)

    3. Add sftp value (Type: DWORD; Data: 1)
    4. Restart the Managed Machine Service
    5. Reproduce the issue.
    • In Windows 2000/XP/2003 the sftp.log will be created in Documents and Settings\All Users\Application Data\Acronis\DebugLogs folder.
    • In Windows Vista, Windows 7/8/10, Windows Server 2008/2012 the sftp.log will be created in \ProgramData\Acronis\DebugLogs.

    In Linux:

    1. Open Terminal in root or issue sudo su command and type the password when prompted to.
    2. Issue the following command to open Global.config file:
      vi /usr/sbin/acronis_mms
    3. Hit i to enter the editing mode and add the following line after ulimit -s 2048:
        export SFTP_LOG=1
    4. Hit Esc to exit the editing mode.
    5. To exit the editor and save changes, issue the following command:
      :wq
    6. Restart the Agent by issuing this command in Terminal:
      service acronis_mms restart
    7. Reproduce the issue. Logs can be found in /var/lib/Acronis/DebugLogs

    In Acronis Virtual Appliance:

    1. Open vSphere client and establish connection to an ESX(i) host or vCenter.
    2. Navigate to the Virtual Appliance and open the Console tab: press CTRL+SHIFT+ALT+SPACE+F1 and then ALT+F2 in Acronis Cyber Backup for VMware or  CTRL+SHIFT+ALT+SPACE+F2 in the Virtual Appliance of Acronis Cyber Backup Advanced for VMware.
    3. Switch to the Virtual Appliance console.
    4. Issue the following command:

      vi /sbin/autostart

    5. Hit i to enter the editing mode and add the following line after ulimit -s 2048:
        export SFTP_LOG=1
    6. Hit Esc to exit editing mode.
    7. To exit the editor and save changes, issue the following command:
      :wq
    8. Press Alt+F1 to switch back to Virtual Appliance GUI and press the Reboot button to restart the Virtual Appliance.

    See also FTP Log.

     

    Tags: