Company is in the process of switching from hosting MongoDB on windows server 2012 to hosting on linux(ubuntu 14.04)
Current backup and restore strategy involves copying all the data files via Robocopy to an NFS share on a windows server 2012 machine, and then copying from the NFS share to the target machine.
I am brand new to linux, and I am trying to get the most performance out of this copy operation. Its approximately 325 2GB files. I mounted the NFS share to the linux box so I can reference it as a local disk.
I have tried cp and rsync and find both to be incredibly slow.
Currently Robocopy will complete the operation on my network in about 2.5 hours, rsync is closer to 4.5 hours and cp is around 3.5 hours.
Is there any better way that I can be doing this?