Configure the NFS Server on the globals.yaml.gotmpl File

  1. Enable the fs section for datastores to back up using the NFS server. See globals.yaml.gotmpl file.
    Elasticsearch
    CODE
    # Backup config for datastores
    backup:
      elasticsearch:
        fs:
          enabled: true
          storage: 5Gi
    PostgreSQL
    CODE
    # Backup config for datastores
    backup:
      postgresql:
        fs:
          enabled: true
          repoName: repo3
          storage: 5Gi
    MySQL
    CODE
    # Backup config for datastores
    backup:
      mysql:
        fs:
          enabled: true
          repoName: repo3
          storage: 5Gi
  2. (Optional) Create a repository to back up the data in the NFS server.
    Note:
    • In a Standard Deployment, Elasticsearch data is stored within the Virtual Appliance. Therefore, the Elasticsearch backup and restore steps are applicable only to the Standard deployment.

    • You can create a repository only for the Elasticsearch backup.

      By default, the globals.yaml.gotmpl file uses the repo3 repository for MySQL and PostgreSQL.

    CODE
    appdcli run es_backup create-fs-repo repo3
  3. Run the following command to sync the changes across nodes:
    CODE
    appdcli sync appd <profile>