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
    # Backup config for datastores
    backup:
    elasticsearch:
    fs:
    enabled: true
    storage: 5Gi
    PostgreSQL
    # Backup config for datastores
    backup:
    postgresql:
    fs:
    enabled: true
    repoName: repo3
    storage: 5Gi
    MySQL
    # 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:
    • Only in Standard Deployment, the Elasticsearch data resides in Virtual Appliance. Therefore, backup and restore steps apply only for 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.

    appdcli run es_backup create-fs-repo virtual-appliance-repo-nfs