Skip to content

A tool for migrating an NFS directory from one NFS server to another. All that is needed is ssh access to the NFS servers.

License

Notifications You must be signed in to change notification settings

jdkelley/nfs-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP] - nfs-migrator

This tool migrates an nfs share directory from one nfs server to another. Was developed for migrating stateful data used by containers from one container orchestration provider to another. All that is needed is ssh access to the NFS servers.

Prerequisites

  • At the moment, this script assumes that the nfs share directory is at /nfs on the nfs server. Change this at the top of the script. Eventually, this will be a default in a .config file for defaults and a flag you can pass at execution time for overrides.
  • You need ssh access to both NFS servers. You have the origin and destination nfs servers setup in your ssh config so that you can use ssh <ip or hostname> to ssh to the server. If you need help setting that up, please visit this link: Setting up SSH Config.

Usage

Configure your IPs in the script and run with ./migrate.sh <directory name>.

More to come ...

In Docker

More to come ...

License

This tool is released under the MIT License.

About

A tool for migrating an NFS directory from one NFS server to another. All that is needed is ssh access to the NFS servers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages