FBBR – Troubleshooting – Using Self Backup
November 19, 2023
FBBR – Troubleshooting – FTP Retention
November 21, 2023
FBBR – Troubleshooting – Using Self Backup
November 19, 2023
FBBR – Troubleshooting – FTP Retention
November 21, 2023

FBBR – Troubleshooting – FTP Backup

Default Port: 21 tcp

  • FTP is insecure protocol. The reason why FTP Server is not considered secure is even on packet capture you could see the password and file names as Plain Text.
  • Transfer is not encrypted
  • Does not use SSL certificates

Step 1 – Using FTP Client

You can download FTP Clients like Filezilla to test FTP Server.

Enter the same location, username and password and port number if custom port is being used.

Select Create directory and enter it. Because the backup process involves creating a directory and changing to the directory and listing the contents.

If successful, try creating files.

If file creation is also successful, there is no issues on the permissions unless there is ACL set on the FTP Server.

If failure, you would see the Response code being listed.

In this example, the error code is 550 which indicates Requested action not taken. File unavailable (e.g., file not found, no access).

Step 2 – Using vCenter

To test the connectivity, use the below command

curl -v ftp://<FTP_SERVER_IP>/Directory/ -u <username> -k

Change Directory

curl -vvv --fail -u <Username> -k --noproxy * --show-error -Q 'CWD <Directory_Name>' ftp://<FTP Server>

If changing directory and listing file fails, you would see the FTP Server response code.

In the below example, had provided an wrong Directory name and hence received 550.

To upload a file,

curl -v -T <file_name> ftp://<FTP_SERVER_IP> -u <username>

To download a file,

curl -v ftp://<FTP_SERVER_IP>/<DIRECTORY_NAME>/<FILE_NAME> -u <username> -o "<FILE_NAME>"

In the Series:

Leave a Reply

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