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.
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.
- Using SSH, log in to JSA host as the root user.
- Start NFS services by typing the following commands:
systemctl enable rpcbind
systemctl start rpcbind
- Add the following line to the
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.
- Move your backup files from the existing directory to
a temporary location by typing the following commands:
mv backup backup.local
- Create a new backup directory by typing the following
- Set the permissions for the NFS volume by typing the following
chown nobody:nobody /store/backup
- Mount the NFS volume by typing the following command:
- Verify that /store/backup is mounted by typing the following
- Move the backup files from the temporary location to the
NFS volume by typing the following command:
mv -f /store/backup.local/* /store/backup
- Remove the backup.local directory by typing the following
rm -r backup.local