How to copy move files in a remote server without downloading

file-serverfile-sharingnetwork-sharesshfs

CURRENT ESCENARIO:

  • REMOTE Debian VPS in an untrusted datacenter (i.e. a third party hosting provider) serving files to the Office through internet.

  • LOCAL Office with 4 Ubuntu, Mint and Debian machines, with simultaneous access to the remote files in the server.

  • An absolute requirement of secure transfer.
  • A requirement to have network mounted filesystems (doesn't serve SFTP or web access to files).
  • We have a decent 4 Mbps internet connection.
  • Users don't use the console, and don't have pure ssh access, only through GUI (Nautilus or similar).

WHAT I MOUNTED:

A SSHFS and FUSE on the Office machines, accessing the files securely to the VPS.

THE PROBLEM:

Everytime that someone copy/moves a folder inside the same VPS server using Nautilus (or similar) on the remote filesystem with the sshfs, the folder is downloaded and uploaded. If the folder contains 10Gb of data, the network suffers 20Gb!!! We have to move sometimes folders on the same VPS, and have huge amount of data.

Is there any solution to the above problem with the given constraints? If not, do we have to select other network share system that fulfills these criteria? Which one?

Best Answer

You are asking for a feature called "server side copying". It was recently implemented in NFS, Samba, AFP. For it to work both server and client software must support it. It is a really new feature so you have to read the description of the latest versions of tools you could use to see if it is supported. Look into AFP more closely.
The other way may be to install a web interface for a server, something like owncloud. Then users would move big files with it.

Related Topic