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.
- 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
/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.
- Move your backup files from the existing directory to
a temporary location by typing the following commands:
cd /store/
mv backup backup.local - Create a new backup directory by typing the following
command:
mkdir /store/backup
- Set the permissions for the NFS volume by typing the following
command:
chown nobody:nobody /store/backup
- Mount the NFS volume by typing the following command:
mount /store/backup
- Verify that /store/backup is mounted by typing the following
command:
df -h
- 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
commands:
cd /store
rm -r backup.local