Migrate old galaxy instance to a new network file system

I deployed a local galaxy instance, and I have not updated the instance since 2019. The database is postgresql and the dataset files are located on an old network file system.

Dataset files are stored in this directory.

file_path = /zfs1/genomics/galaxy/files

Temporary files are stored in this directory.

new_file_path = /zfs1/genomics/galaxy/tmp

I would like to upgrade the local galaxy instance and repurpose this local galaxy instance to data science. How can I move the file_path and new_file_path to a new NFS.