Score:1

How to automatically move files from one server to another servers - not syncing but moving

us flag

I need to securely and automatically move files from several "inboxes" on one Windows 2019 server to several "outboxes" on other Windows 2019 servers. The servers are located behind secure firewalls, thus I would like to refrain from using smb (robocopy, etc.).

I was looking at several sync tools (i.e. syncthing), but those are more about syncing than moving files.

Requirements:

  • Unattended move of files
  • Not using smb (sftp, proprietary protocol ok), must be controllable in firewall
  • If possible GUI for configuration and control
  • Logging of move operations

Any suggestions how to solve this is very welcome.

Thanks Dan

Score:1
br flag
JDS

A "move" is really just a "copy + delete"

Any commercial product that does a "move" is just going to do:

  • Copy file FROM source TO dest
  • Verify copy on dest
  • If verification passes:
    • Delete source
  • Else:
    • Exit with error
  • Output results of all steps to a log

These steps are all easily scriptable on any modern OS without adding any additional tools.

Score:1
cn flag

I worked for a company that had this as in internal workflow. We had a Perl script that would use rsync over SSH on the backend. Once the copy was complete (verification of md5 before and after copy), it would delete. Of course, it wrote a log.

You're asking for a product recommendation which is off-topic for this site, but here's a way you could do it yourself. Scripting of this sort is entirely within the realm of duties for a systems administrator.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.