16.3.4 Scheduling Synchronization of Backups to a FTPS Server

To synchronize the backed up log files from a container to an FTPS server perform the following:

  1. Run the following command to copy the mirror.sh file from docker to host server:

    docker cp aaf-aucore-1:/opt/AuCore/data/celery_long/mirror.sh /tmp

  2. Add the following parameters in the mirror.sh file to skip verification of SSL certificate:

    set ssl:verify-certificate no

    set ftp:ssl-allow true

    set ftp:ssl-force true

    set ftp:ssl-protect-data true

    set ftp:ssl-protect-list true

    NOTE:When you reboot the appliance, the data available in the mirror.sh file will be lost.

  3. Save the changes.

  4. Run the following command to copy file to docker container:

    docker cp mirror.sh aaf-aucore-1:/opt/AuCore/data/celery_long/

  5. Run the following commands to provide executable rights of the mirror.sh file for users and group:

    docker exec -ti aaf-aucore-1 bash

    chmod u+x data/celery_long/mirror.sh

    chmod g+x data/celery_long/mirror.sh