Exporting the Database

  1. Log in to the Administration portal with the FULL ADMIN role privilege where the Global Master is set up.

  2. Click Export in the Administration console.

  3. Click Export Database.

    A message Are you sure? Backup file will be encrypted with LOCAL\admin PASSWORD is displayed.

  4. Click OK.

The exported database file is saved in the .cpt format on your local drive. This backup file will be encrypted with the LOCAL\admin PASSWORD.

You can automate the creation of the .cpt file. To do this, create a cronjob on the server that does the following:

  1. Create a proc folder in the docker container:

    docker exec -ti aaf-aucore-1 mkdir /etc/nginx/html/static/proc/

  2. Create /opt/AuCore/data/export/aubak-YYYY_MM_DD_HH_MM.cpt.

    docker exec -it aaf-aucore-1 "/opt/AuCore/aucore/scripts/db_tools/version2/au_export_encrypt.sh"

  3. Copy the .cpt file to a secure location.

    cp /var/lib/docker/volumes/aaf_aucore-data/_data/export/*.cpt <your location>

  4. Remove the .cpt file from the container.

    rm /var/lib/docker/volumes/aaf_aucore-data/_data/export/*.cpt