I have a remote machine, where the space is very limited (~15GB free) I have an NFS share mounted on this VM, the size of the share is ~600GBs. The NFS share has lightning-fast access from this machine.
I want to bring 600GB of files in the above share, to my local system (over internet) for offline use. (Chunked as may be 2GB archives using http or off-the-shelf tools - dropbox/onedrive) My local system has a slow access to this share. I have tried rsync -ing it to a local folder after mounting as NFS, But it goes on for ever - may be since it has millions of files.
Since the remote machine has less free space, Is there a way to create an incremental archive of the NFS share files in multiple sessions (Can restart archive creation after freeing up space.)
Environment:
- Local system is Mac
- The remote VM is Ubuntu
Local machine has ~ 1TB of free space.
I looked at tar/zpaq but they don't seem to have the necessary features. Is there any faster solution than writing a custom script?
Thanks in advance!
sshfsavailable on Mac? I found this: macFUSE. Withsshfsyou can usecpor whatever. I believe the fact NFS is involved is irrelevant. I believe if the files are available after yousshto the remote VM then you can reach them withsshfsinstead. – Kamil Maciorowski Mar 06 '21 at 15:31rsyncor anything similar, you could do the transfer at about the same speed. Zipping won't get you a big improvement. (Add to your comment@harrymcfor me to be notified.) – harrymc Mar 06 '21 at 16:24