Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Moving Backups to an NFS

 

You can configure Network File System (NFS) for a stand-alone JSA appliance, or a JSA appliance that you are making the primary host in an HA deployment.

You must ensure that the JSA appliance can reach the NFS server.

Note

If you use NFS or a Windows share for offboard storage, your system can lock and cause an outage. This practice is not supported by JSA.

If you choose to use NFS anyway, NFS can be used only for daily backup data, such as the /store/ backup directory. You cannot use NFS for storing active data, which includes the PostgreSQL and ariel databases. If you do use NFS, it might cause database corruption or performance issues.

  1. Using SSH, log in to JSA host as the root user.
  2. Start NFS services by typing the following commands:
    systemctl enable rpcbind

    systemctl start rpcbind
  3. Add the following line to the /etc/fstab file.

    nfsserver:/nfs/export/path /store/backup nfs rw,soft,intr,noac 0 0

    You might need to adjust the settings for the NFS mount point to accommodate your configuration.

  4. Move your backup files from the existing directory to a temporary location by typing the following commands:
    cd /store/

    mv backup backup.local
  5. Create a new backup directory by typing the following command:
    mkdir /store/backup
  6. Set the permissions for the NFS volume by typing the following command:
    chown nobody:nobody /store/backup
  7. Mount the NFS volume by typing the following command:
    mount /store/backup
  8. Verify that /store/backup is mounted by typing the following command:
    df -h
  9. Move the backup files from the temporary location to the NFS volume by typing the following command:
    mv -f /store/backup.local/* /store/backup
  10. Remove the backup.local directory by typing the following commands:
    cd /store

    rm -r backup.local