vim /etc/exports
/data/backup *(rw,sync,no_root_squash,no_subtree_check)
systemctl restart rpcbind
systemctl start nfs-server
NFS挂载
mount -t nfs ip:/data/backup /data/db1/backup_root(将nfs挂载到备份目录下)
unmount /gdbdata/backup