Configure the NFS Server on the globals.yaml.gotmpl File
- Enable the
fssection for datastores to back up using the NFS server. Seeglobals.yaml.gotmplfile.- 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
- (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.gotmplfile uses the repo3 repository for MySQL and PostgreSQL.
appdcli run es_backup create-fs-repo virtual-appliance-repo-nfs